Skip to main content

tracer.stock_perps.trades#

Per-bar tape for stock perpetuals from /api/v1/stock-perps/trades.

SYNTAX#

tracer.stock_perps.trades: SourceHandle  // Stock-perp tick tape (series)

ARGUMENTS#

  • opts.symbol (string) — Stock-perp symbol.
  • opts.exchange (string) — 'hyperliquid' or 'lighter'.

RETURNS#

GenericSeriesSourceData — { values: { time, count, buy_volume, sell_volume, vwap } }

EXAMPLE#

const st = tracer.stock_perps.trades;