Skip to main content
Volatility skills are computed analytics — they run trusted numpy code over archive closes to produce derived volatility metrics. They never execute agent-authored code, and every result includes the provenance envelope with source: "computed".
These skills read real archive closes — no agent-supplied price series. Pass a symbol and a window; the skill pulls the closes from the archive and computes the metric.

Skill summary


vol.realized

Annualized realized volatility from archive closes. Computed as the annualized standard deviation of log returns over the window. Arguments What it computes: RV = std(log_returns[-window:]) * sqrt(annualization) Example

vol.term_structure

IV term structure — implied vol by expiry, derived from the archive options chain. Arguments What it computes: pulls the archive options chain, fits IV per expiry (Black-Scholes), returns the curve. Example

vol.iv_rank

IV rank and percentile — where current IV sits relative to its own trailing history. Arguments What it computes:
  • iv_rank = (current_iv - min_iv) / (max_iv - min_iv) * 100
  • iv_percentile = rank of current IV in the trailing distribution
Example

vol.vrp

Variance risk premium — the gap between implied and realized vol. Positive VRP means options are priced richer than realized. Arguments What it computes: VRP = IV^2 − RV^2 (in variance space), plus the ratio IV / RV. Example

vol.anomaly_score

Z-score of current realized vol against its trailing distribution — flags vol spikes. Arguments What it computes: z = (current_rv - mean_rv) / std_rv over the trailing lookback_days. Example

vol.character

Vol regime classification — labels the current vol environment. Arguments What it computes: classifies the regime as low, normal, elevated, high, or crisis based on realized vol percentile and trend; also returns term_structure (contango / backwardation) and trend (rising / falling / flat). Example

Next steps

Options Skills

Black-Scholes greeks and implied vol — pure computed from agent-supplied inputs.

Computed Analytics Skills

Correlations, factor exposures, DCF, portfolio optimization, Monte Carlo, and tearsheets.