You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
问题出在app/account/account_um.py的144行 if 'positionAmt' in v.keys() and float(v['positionAmt']) > 0: this_symbol = v['symbol']
目前币安的账户,如果是空单,positionAmt返回值为负,如果限制>0,则无法获取到空单仓位。
可以改为不等于0.