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.