binance: order submission "user id" is not the same as their internal `int` one..
parent
60b0b721c5
commit
45ded4f2d1
|
@ -661,10 +661,12 @@ class Client:
|
|||
signed=True,
|
||||
action='post'
|
||||
)
|
||||
reqid: str = resp['orderId']
|
||||
if oid:
|
||||
assert oid == reqid
|
||||
|
||||
# ensure our id is tracked by them
|
||||
if oid:
|
||||
assert oid == resp['clientOrderId']
|
||||
|
||||
reqid: str = resp['orderId']
|
||||
return reqid
|
||||
|
||||
async def submit_cancel(
|
||||
|
|
Loading…
Reference in New Issue