0
Follow
1
Followers
Python을 이용하여 exchange.GetPosition() 함수를 실행하면 위치 정보를 얻을 수 없고 오류가 표시됩니다.
Created 2021-10-16 16:34:40
2
1174
파이썬에서 getposition 함수를 실행하면 다음과 같은 오류가 나타납니다:
Traceback (most recent call last): File "<string>", line 999, in init_ctx File "<string>", line 41, in <module> File "<string>", line 4, in main NameError: name 'log' is not defined
python 프로그램은 다음과 같습니다.
def main():
exchange.SetContractType("swap")
A = exchange.GetPosition()
log(A)
변수는 BTC_USDT로 설정됩니다
이 질문은 어디서 나왔을까요?
Related Recommendations
How to Specify Different Versions of Data for the Rented Strategy by Its Rental Code MetadataAdvanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engineHow to install ta-lib on linux docker?
