node-binance-api
node-binance-api copied to clipboard
Binance.orderStatus is not sending the orderid argument
{"code":-1102,"msg":"Param 'origClientOrderId' or 'orderId' must be sent, but both were empty/null!"}
Did you ever resolve this? I'm getting the same, I've tried orderId, clientOrderId but still get the same message!
I have the same issue.
Use the following instead:
binance.orderStatus(symbol, undefined, (error, orderStatus, symbol) => { ..... },{ orderId:orderid });
seams like there is a Bug in the package... but over the flags at the end of the "orderStatus"-Call you can do a workaround
the package it self is full of bugs and not implemented the subaccount endpoints