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

Author: Bees love to eat meat, Created: 2021-10-16 16:34:40, Updated:

Running the getposition function in python shows the following error: Traceback (most recent call last): File array array, line 999, ininit_ctx File “<string>”, line 41, in <module> File “<string>”, 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

The Little DreamLog, not log.

Bees love to eat meatI 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.