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

Method recentTrades

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

* Get the recent trades * @see https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#old-trade-lookup * @param {string} symbol - the symbol * @param {int} limit - limit the number of items returned * @return {promise or undefined} - omitting the cal

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

Source from the content-addressed store, hash-verified

4254 * @return {promise or undefined} - omitting the callback returns a promise
4255 */
4256 async recentTrades(symbol: string, limit = 500, params: Dict = {}): Promise<Trade[]> {
4257 return await this.publicSpotRequest('v3/trades', this.extend({ symbol: symbol, limit: limit }, params));
4258 }
4259
4260 /**
4261 * Get the historical trade info

Calls 1

publicSpotRequestMethod · 0.95

Tested by

no test coverage detected