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 epochsource: source identifiermarket: normalized market IDsymbol: venue-native, human-friendly symbolvolatility: realized volatility for the interval (decimal, e.g., 0.0234 = 2.34%)interval: duration token such as1m,5m, or1h
Example
How it works
client.volatility() calculates realized volatility from standardized trade
data using snapshot-first replay. See
Snapshots for the full flow.
Related documentation
- OHLCV if you need price data for volatility calculations
- Trades if you need execution-level data
- Quickstart