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

Method dailyStats

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

* Gets the prevday percentage change * @see https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#24hr-ticker-price-change-statistics * @param {string} symbol - the symbol or symbols * @return {promise or undefined} - omitting the callback returns a pro

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

Source from the content-addressed store, hash-verified

4005 * @return {promise or undefined} - omitting the callback returns a promise
4006 */
4007 async dailyStats(symbol?: string, params: Dict = {}): Promise<DailyStats[] | DailyStats> {
4008 if (symbol) params.symbol = symbol;
4009 return await this.publicSpotRequest('v3/ticker/24hr', params);
4010 }
4011
4012 /**
4013 * Gets the the exchange info

Callers

nothing calls this directly

Calls 1

publicSpotRequestMethod · 0.95

Tested by

no test coverage detected