tiagosiebler / binance

Node.js & JavaScript SDK for Binance REST APIs & WebSockets, with TypeScript & browser support, integration tests, beautification & more.
MIT License
728 stars 264 forks source link

TypeError: Cannot create property 'newClientOrderId' on string 'BTCUSDT' #399

Closed vasudharao08 closed 4 months ago

vasudharao08 commented 4 months ago

Hi, I am trying to use USDMClient submit new order but getting the following error:

{ symbol: 'BTCUSDT', side: 'SELL', quantity: 0.001, type: 'MARKET' }
TypeError: Cannot create property 'newClientOrderId' on string 'BTCUSDT'
vasudharao08 commented 4 months ago

Typo in the code.