使用python运行getposition函数,显示错误如下: Traceback (most recent call last): File “”, line 999, in init_ctx File “”, line 41, in File “”, line 4, in main NameError: name ‘log’ is not defined
python 程序如下: def main(): exchange.SetContractType(“swap”) A = exchange.GetPosition() log(A)
参数设置为币安期货接口,BTC_USDT 请问这个问题出在了哪里?