* @see https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Place-Multiple-Orders
(orders: Dict[] = [])
| 4845 | * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Place-Multiple-Orders |
| 4846 | */ |
| 4847 | async futuresMultipleOrders(orders: Dict[] = []): Promise<FuturesOrder[]> { |
| 4848 | for (let i = 0; i < orders.length; i++) { |
| 4849 | if (!orders[i].newClientOrderId) { |
| 4850 | orders[i].newClientOrderId = this.CONTRACT_PREFIX + this.uuid22(); |
| 4851 | } |
| 4852 | } |
| 4853 | const params = { batchOrders: JSON.stringify(orders) }; |
| 4854 | return await this.privateFuturesRequest('v1/batchOrders', params, 'POST'); |
| 4855 | } |
| 4856 | |
| 4857 | /** |
| 4858 | * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Cancel-Multiple-Orders |
nothing calls this directly
no test coverage detected