module Binance::Spot::Market

def historical_trades(symbol:, **kwargs)

Other tags:
    See: https://binance-docs.github.io/apidocs/spot/en/#old-trade-lookup-market_data -

Options Hash: (**kwargs)
  • :fromId (Integer) -- Trade id to fetch from. Default gets most recent trades.
  • :limit (Integer) -- Default 500; max 1000.

Parameters:
  • kwargs (Hash) --
  • symbol (String) -- the symbol
def historical_trades(symbol:, **kwargs)
  Binance::Utils::Validation.require_param('symbol', symbol)
  @session.public_request(
    path: '/api/v3/historicalTrades',
    params: kwargs.merge(symbol: symbol)
  )
end