* 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')
| 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 |
no test coverage detected