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,
|
signed=True,
|
||||||
action='post'
|
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
|
return reqid
|
||||||
|
|
||||||
async def submit_cancel(
|
async def submit_cancel(
|
||||||
|
|
Loading…
Reference in New Issue