The "batchOrders" must be a JSON string, not a "NewFuturesOrder[]".
I encountered an error when attempting to place multiple orders using "futuresBatchOrders", which looked like this:
The issue was resolved when I used "JSON.stringify":
However I had to cast the "options" parameter to type "any" to bypass the type-checking, like this:
The "batchOrders" must be a JSON string, not a "NewFuturesOrder[]".
I encountered an error when attempting to place multiple orders using "futuresBatchOrders", which looked like this:
![image](https://github.com/ViewBlock/binance-api-node/assets/64318804/8c15387c-09ae-4c1b-aba4-e8ebfadaebee)
The issue was resolved when I used "JSON.stringify":
However I had to cast the "options" parameter to type "any" to bypass the type-checking, like this:
![image](https://github.com/ViewBlock/binance-api-node/assets/64318804/9c63e30d-f7c8-49e3-bb61-450859721a8d)