* Cancels an order * @see https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#cancel-order-trade * @param {string} symbol - the symbol to cancel * @param {string} orderid - the orderid to cancel * @return {promise or undefined} - omitting the callback
(symbol: string, orderid: number | string, params: Dict = {})
| 1060 | * @return {promise or undefined} - omitting the callback returns a promise |
| 1061 | */ |
| 1062 | async cancel(symbol: string, orderid: number | string, params: Dict = {}): Promise<CancelOrder> { |
| 1063 | return await this.privateSpotRequest('v3/order', this.extend({ symbol: symbol, orderId: orderid }, params), 'DELETE'); |
| 1064 | } |
| 1065 | |
| 1066 | /** |
| 1067 | * Cancels all orders |
no test coverage detected