-
Notifications
You must be signed in to change notification settings - Fork 34
Description
已确认账户设置为单向持仓,但是仍然4061报错

<Thread(Thread-17 (inner_func), started 13504)>
thread errorback
{'cancel_result': None,
'error_result': {'code': -4061,
'msg': "Order's position side does not match user's "
'setting.'},
'func_param': {'callback': <function callback5 at 0x000002168BE2E840>,
'cancel': True,
'delay': 0.2,
'errorback': <function errorback5 at 0x000002168BE2F600>,
'leverage': 1,
'marginType': 'CROSSED',
'meta': {},
'newClientOrderId': '',
'newThread': True,
'openMoney': None,
'positionSide': 'SHORT',
'quantity': 8,
'symbol': 'MANAUSDT',
'timeout': 60},
'get_order_result': None,
'meta': {},
'request_param': {'newClientOrderId': '',
'positionSide': 'SHORT',
'quantity': '8',
'side': 'SELL',
'symbol': 'MANAUSDT',
'type': 'MARKET'},
'set_order_result': {'code': -4061,
'msg': "Order's position side does not match user's "
'setting.'},
'status': None,
'symbol': 'MANAUSDT'}