jaggedsoft / node-binance-api

Node Binance API is an asynchronous node.js library for the Binance API designed to be easy to use.
MIT License
1.58k stars 768 forks source link

orderStatus fails on SPOT #771

Open dbvcode opened 2 years ago

dbvcode commented 2 years ago

I've just updated to the latest version(0.13.1) of the library and the orderStatus function for the SPOT market fails. Give the error:

Param 'origClientOrderId' or 'orderId' must be sent, but both were empty/null!

I've logged the output and indeed the link that was created looks:

https://api.binance.com/api/v3/order?symbol=VETUSDT&timestamp=1639058984426&recvWindow=60000&signature=xxxxxxxxxxxxxwhateverxxxxxxxxxxxxxxxxxxx

Indeed missing the orderId

Version 0.12.5 and 0.13.0 of the library work fine!

Must be something broken in 0.13.1

dbvcode commented 2 years ago

This is a duplicate of https://github.com/jaggedsoft/node-binance-api/issues/767