* Gets the status of an order * @see https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#query-order-user_data * @param {string} symbol - the symbol to check * @param {string} orderid - the orderid to check if !orderid then use flags to search * @param {object} flag
(symbol: string, orderid?: number | string, flags = {})
| 1082 | * @return {promise or undefined} - omitting the callback returns a promise |
| 1083 | */ |
| 1084 | async orderStatus(symbol: string, orderid?: number | string, flags = {}) { |
| 1085 | let parameters = Object.assign({ symbol: symbol }, flags); |
| 1086 | if (orderid) { |
| 1087 | parameters = Object.assign({ orderId: orderid }, parameters); |
| 1088 | } |
| 1089 | return await this.privateSpotRequest('v3/order', parameters); |
| 1090 | } |
| 1091 | |
| 1092 | /** |
| 1093 | * Gets open orders |
no test coverage detected