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

Method mgCancel

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

* Cancels an order * @param {string} symbol - the symbol to cancel * @param {string} orderid - the orderid to cancel * @return {undefined}

(symbol: string, orderid: number | string, isIsolated = 'FALSE')

Source from the content-addressed store, hash-verified

5422 * @return {undefined}
5423 */
5424 async mgCancel(symbol: string, orderid: number | string, isIsolated = 'FALSE'): Promise<CancelOrder> {
5425 return await this.privateSapiRequest('v1/margin/order', { symbol: symbol, orderId: orderid, isIsolated }, 'DELETE');
5426 }
5427
5428 /**
5429 * Gets all order of a given symbol

Callers 1

Calls 1

privateSapiRequestMethod · 0.95

Tested by

no test coverage detected