0
Follow
1
Followers

Running the exchange.GetPosition ((() function in python, failing to get hold information, showing error

Created: 2021-10-16 16:34:40, Updated on:
comments   2
hits   611

Running the getposition function in python shows the following error: Traceback (most recent call last): File bar, line 999, ininit_ctx File “”, line 41, in File “”, line 4, in main NameError: name ‘log’ is not defined

The python program is as follows: def main (: exchange.SetContractType (swap button) A = exchange.GetPosition Log (A)

The parameters are set to Binance futures interface, BTC_USDT I'd like to ask where this question comes from.

More content
All comments
avatar of 发明者量化-小小梦
Inventors quantify - small dreams
Log, not log.
2021-10-16 18:40:18
avatar of 蜜蜂爱吃肉
Bees love to eat meat
I wrote a program in js to get the storage information, the code is as follows: function main (() { Exchange.SetContractType (swap) is the name of the exchange. while (1) { var a = exchange.GetPosition var b = a.length Log ((b)) Log (a); I'm not sure. I'm not sure.
2021-10-16 16:35:50