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

Method ticker24h

src/node-binance-api.ts:3996–3999  ·  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

3994 * @return {promise or undefined} - omitting the callback returns a promise
3995 */
3996 async ticker24h(symbol?: string, params: Dict = {}): Promise<DailyStats[] | DailyStats> {
3997 if (symbol) params.symbol = symbol;
3998 return await this.publicSpotRequest('v3/ticker/24hr', params);
3999 }
4000
4001 /**
4002 * Gets the prevday percentage change

Callers

nothing calls this directly

Calls 1

publicSpotRequestMethod · 0.95

Tested by

no test coverage detected