Skip to main content
Use client.volatility() when you need realized volatility data for risk modeling and intraperiod volatility analysis. This method calculates volatility metrics over fixed time intervals.

Method signature

Parameters

Return value

List of bucketed realized volatility series rows.

Example response

Fields

Volatility records include:
  • timestamp: bucket start time in UTC milliseconds since the Unix epoch
  • source: source identifier
  • market: normalized market ID
  • symbol: venue-native, human-friendly symbol
  • volatility: realized volatility for the interval (decimal, e.g., 0.0234 = 2.34%)
  • interval: duration token such as 1m, 5m, or 1h
The default method uses log returns calculated from trade prices within each interval.

Example

How it works

client.volatility() calculates realized volatility from standardized trade data using snapshot-first replay. See Snapshots for the full flow.
  • OHLCV if you need price data for volatility calculations
  • Trades if you need execution-level data
  • Quickstart