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

Method futuresDepth

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

* @see https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Order-Book * @param symbol symbol if the market * @param params extra parameters to be sent in the request * @returns

(symbol: string, params: Dict = {})

Source from the content-addressed store, hash-verified

4758 * @returns
4759 */
4760 async futuresDepth(symbol: string, params: Dict = {}): Promise<OrderBook> {
4761 params.symbol = symbol;
4762 const res = await this.publicFuturesRequest('v1/depth', params);
4763 return this.parseOrderBook(res, symbol);
4764 }
4765
4766 /**
4767 * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Symbol-Order-Book-Ticker

Callers 2

static-tests.mjsFile · 0.80

Calls 2

publicFuturesRequestMethod · 0.95
parseOrderBookMethod · 0.95

Tested by

no test coverage detected