* Gets open orders * @see https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#current-open-orders-user_data * @param {string} symbol - the symbol to get * @return {promise or undefined} - omitting the callback returns a promise
(symbol?: string, params: Dict = {})
| 1096 | * @return {promise or undefined} - omitting the callback returns a promise |
| 1097 | */ |
| 1098 | async openOrders(symbol?: string, params: Dict = {}): Promise<QueryOrder[]> { |
| 1099 | const parameters = symbol ? { symbol: symbol } : {}; |
| 1100 | return await this.privateSpotRequest('v3/openOrders', this.extend(parameters, params)); |
| 1101 | } |
| 1102 | |
| 1103 | /** |
| 1104 | * Cancels all orders of a given symbol |
no test coverage detected