* Gets all order of a given symbol * @param {string} symbol - the symbol * @param {object} options - additional options * @return {promise or undefined} - omitting the callback returns a promise
(symbol: string, params: Dict = {})
| 5432 | * @return {promise or undefined} - omitting the callback returns a promise |
| 5433 | */ |
| 5434 | async mgAllOrders(symbol: string, params: Dict = {}): Promise<Order[]> { |
| 5435 | const parameters = Object.assign({ symbol: symbol }, params); |
| 5436 | return await this.privateSapiRequest('v1/margin/allOrders', parameters); |
| 5437 | } |
| 5438 | |
| 5439 | /** |
| 5440 | * Gets the status of an order |
nothing calls this directly
no test coverage detected