MCPcopy Create free account
hub / github.com/ccxt/node-binance-api / openOrders

Method openOrders

src/node-binance-api.ts:1098–1101  ·  view source on GitHub ↗

* 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 = {})

Source from the content-addressed store, hash-verified

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

Calls 1

privateSpotRequestMethod · 0.95

Tested by

no test coverage detected