Skip to main content
command CX Codex official · Anthropic

analyze-option-vol — Claude Code command: volatility analysis

The analyze-option-vol Claude Code command analyzes option volatility through volatility surfaces, Greeks, and an implied-versus-realized comparison. For FX pairs, it selects a separate surface tool.

Apache-2.0 ★ 41,441 updated 2026-09-21

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add anthropics/financial-services
/plugin install lseg@claude-for-financial-services
Open on GitHub

What analyze-option-vol does

The command builds a volatility surface, prices an option, and compares implied volatility with realized volatility. It calls equity_vol_surface for equities, indices, and futures; FX pairs go through fx_vol_surface.

It then checks available option templates with option_template_list and requests a valuation through option_value. The report includes premium, delta, gamma, vega, theta, and implied volatility. Historical prices come from tscc_historical_pricing_summaries using interval P1D and tenor 1Y; realized volatility is calculated over 20-, 60-, and 90-day windows.

A base asset is required. Strike and expiry date or tenor are optional; when omitted, the command uses ATM and 3M, and prices both calls and puts. The analysis uses LSEG tools for volatility surfaces, option pricing, and historical data.

What it helps with

  • build a volatility surface for an underlying
  • price an option and inspect its Greeks
  • compare implied volatility with realized volatility
  • compare volatility across expiry windows

Example prompts for the agent

  • Analyze volatility for .SPX and compare implied with realized volatility.
  • Price an EURUSD option with a 1.10 strike and 3M expiry.
  • Build a volatility surface for VOD.L@RIC and report the option Greeks.

How to install analyze-option-vol

1Plugin marketplace

/plugin marketplace add anthropics/financial-services
/plugin install lseg@claude-for-financial-services

2Manually: put the files in place

.claude/commands/analyze-option-vol.md

Call it with /analyze-option-vol. For all projects use ~/.claude/commands/

Questions about analyze-option-vol

How do I install analyze-option-vol in Claude Code?

Run these commands in order: /plugin marketplace add anthropics/financial-services, then /plugin install lseg@claude-for-financial-services. The command file is .claude/commands/analyze-option-vol.md.

What does analyze-option-vol do?

It builds an option volatility surface, prices an option with its Greeks, and compares implied and realized volatility. The report also summarizes the volatility regime.

What inputs does analyze-option-vol need?

A base asset is required: use RIC for equities and indices, RICROOT for futures, or an ISO currency pair for FX. Strike and expiry are optional; defaults are ATM and 3M.

Source text

analyze-option-vol.md · Apache-2.0
---
description: Analyze option volatility with vol surface, Greeks, and implied vs realized vol comparison
argument-hint: "<underlying e.g. .SPX or EURUSD> [strike] [expiry]"
---

# Analyze Option Volatility

> This command uses LSEG volatility surfaces, option pricing, and historical data tools. See [CONNECTORS.md](../CONNECTORS.md) for available tools.

Analyze the volatility environment for an underlying by generating the vol surface, pricing options with full Greeks, and comparing implied vs realized volatility.

See the **option-vol-analysis** skill for domain knowledge on vol surface interpretation and Greeks analysis.

## Workflow

### 1. Gather Input

Ask the user for:
- Underlying asset (required):
  - Equities/indices: RIC format (e.g., "VOD.L@RIC", ".SPX@RIC")
  - Futures: RICROOT format (e.g., "ES@RICROOT", "CL@RICROOT")
  - FX: ISO pair (e.g., "EURUSD", "USDJPY")
- Strike price (optional, defaults to ATM)
- Expiry date or tenor (optional, defaults to 3M)
- Call or Put (optional, defaults to both)

Determine whether this is equity/index or FX to select the correct vol surface tool.

### 2. Generate the Volatility Surface

**For equities/indices/futures:** Call `equity_vol_surface`.

**For FX:** Call `fx_vol_surface`.

Extract: ATM vol at each tenor, 25-delta risk reversal, 25-delta butterfly.

### 3. Discover Option Templates

Call `option_template_list` for the underlying. Identify available types, expiries, and strikes.

### 4. Price the Option

Call `option_value` with the underlying, strike, and expiry.

Extract: premium, delta, gamma, vega, theta, implied vol.

### 5. Compute Realized Volatility

Call `tscc_historical_pricing_summaries` with `interval: "P1D"`, `tenor: "1Y"`.

Compute close-to-close realized vol over 20-day, 60-day, 90-day windows. Compare to matching implied vol tenors.

### 6. Synthesize the Report

Present: vol surface summary table, Greeks table, implied vs realized comparison, vol regime assessment, strategy recommendations.

## Output Format

Lead with the key vol finding (implied rich/cheap vs realized). Follow with the surface summary, option pricing, and detailed comparison.

© LSEG · Apache-2.0 · anthropics/financial-services

Similar slash commands

Slash commands catalog →

From the same set116

The whole set →
review-fi-portfolio The review-fi-portfolio Claude Code command reviews fixed-income portfolios using prices, cashflows, and rate scenarios. Supply bond identifiers to start the analysis. CX Codex +1 ★ 41,441repo stars research-equity research-equity is a Claude Code command that compiles equity research summaries using consensus estimates, company fundamentals, and price data. Runs when analyzing a stock by ticker. CX Codex +1 ★ 41,441repo stars macro-rates The macro-rates Claude Code command builds a macro and rates dashboard for a selected country. It covers economic indicators, yield curves, real rates, and swap spreads. CX Codex +1 ★ 41,441repo stars analyze-swap-curve The analyze-swap-curve Claude Code command analyzes swap curves against government yields and inflation breakevens. It calculates spreads and curve metrics, then identifies possible trades. CX Codex +1 ★ 41,441repo stars analyze-fx-carry The analyze-fx-carry Claude Code command evaluates FX carry for a currency pair using forwards, volatility, and historical pricing. Give it a pair to get a tenor-by-tenor carry profile and a summary report. CX Codex +1 ★ 41,441repo stars analyze-bond-rv analyze-bond-rv — a Claude Code command for relative value bond analysis against yield and credit spread curves. It runs parallel rate shock scenarios and determines rich or cheap valuation. CX Codex +1 ★ 41,441repo stars analyze-bond-basis The analyze-bond-basis command for Claude Code analyzes bond futures basis. It assesses trading opportunities by identifying cheapest-to-deliver bonds and calculating implied repo rates. CX Codex +1 ★ 41,441repo stars valuation-reviewer valuation-reviewer — a Claude Code subagent reviews fund portfolio valuations and prepares LP reporting materials. It handles quarter-end valuation reviews, not deal-time underwriting. CX Codex ★ 41,441repo stars

Project sponsors

Companies that keep this analytics open