MCPcopy Create free account
hub / github.com/ccxt/node-binance-api / cancelAll

Method cancelAll

src/node-binance-api.ts:1072–1074  ·  view source on GitHub ↗

* Cancels all orders * @see https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#cancel-all-open-orders-on-a-symbol-trade * @param {string} symbol - the symbol to cancel * @return {promise or undefined} - omitting the callback returns a promise

(symbol: string, params: Dict = {})

Source from the content-addressed store, hash-verified

1070 * @return {promise or undefined} - omitting the callback returns a promise
1071 */
1072 async cancelAll(symbol: string, params: Dict = {}): Promise<CancelOrder> {
1073 return await this.privateSpotRequest('v3/openOrders', this.extend({ symbol: symbol }, params), 'DELETE');
1074 }
1075
1076 /**
1077* Gets the status of an order

Callers

nothing calls this directly

Calls 1

privateSpotRequestMethod · 0.95

Tested by

no test coverage detected