0
Follow
1
Followers
पायथन का उपयोग करके 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?
