analyze-fx-carry — Claude Code command: FX carry analysis
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.
Apache-2.0 ★ 41,441 updated 2026-09-21
/plugin marketplace add anthropics/financial-services
/plugin install lseg@claude-for-financial-servicesWhat analyze-fx-carry does
The command retrieves spot pricing, a forward price, and the carry curve for a currency pair. It compares annualized carry with implied volatility, including ATM vol, risk reversal, and butterfly. The default tenor is 3M; the valuation date defaults to today.
The report includes the carry-to-vol ratio, a table covering tenors from ON through 1Y, and historical context: the 52-week range, the spot rate’s position in that range, and trend direction. Historical data is requested with tscc_historical_pricing_summaries, using interval P1D and tenor 1Y.
The command relies on LSEG tools for FX pricing, forward curves, volatility surfaces, and historical data. It cannot gather those market figures without access to the tools.
What it helps with
- compare annualized carry with implied volatility
- identify a favorable tenor on the carry curve
- compare spot and forward pricing for a currency pair
- place the current rate within its 52-week range
Example prompts for the agent
- Analyze the carry trade for USDJPY at tenor 3M.
- Compare carry across tenors for EURUSD.
- Assess volatility and historical pricing for AUDUSD.
How to install analyze-fx-carry
1Plugin marketplace
/plugin marketplace add anthropics/financial-services/plugin install lseg@claude-for-financial-services2Manually: put the files in place
.claude/commands/analyze-fx-carry.mdCall it with /analyze-fx-carry. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/analyze-fx-carry.mdCall it with /prompts:analyze-fx-carry. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/analyze-fx-carry.prompt.mdManually: put the files in place
.gemini/commands/analyze-fx-carry.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about analyze-fx-carry
How do I install analyze-fx-carry in Claude Code?
Run /plugin marketplace add anthropics/financial-services, then /plugin install lseg@claude-for-financial-services. The command file is .claude/commands/analyze-fx-carry.md.
What does analyze-fx-carry do?
It evaluates carry for a currency pair using spot and forward pricing, the carry curve, volatility, and historical rates. Its report includes a carry-to-vol ratio and an overall assessment.
What does analyze-fx-carry need to run?
It needs access to LSEG tools for FX pricing, forward curves, volatility surfaces, and historical data.
Source text
analyze-fx-carry.md · Apache-2.0
--- description: Evaluate FX carry trade opportunities with spot, forwards, vol surface, and historical context argument-hint: "<currency pair e.g. USDJPY> [tenor e.g. 3M]" --- # Analyze FX Carry Trade > This command uses LSEG FX pricing, forward curves, volatility surfaces, and historical data tools. See [CONNECTORS.md](../CONNECTORS.md) for available tools. Evaluate carry trade opportunities for a currency pair by combining spot rates, forward points, the carry term structure, volatility risk, and historical price context. See the **fx-carry-trade** skill for domain knowledge on carry frameworks and risk metrics. ## Workflow ### 1. Gather Input Ask the user for: - Currency pair (required) — e.g., USDJPY, EURUSD, AUDUSD - Target tenor (optional, default 3M) - Valuation date (optional, defaults to today) ### 2. Get the Spot Rate Call `fx_spot_price` with the currency pair. Extract: mid/bid/ask rates, bid-ask spread. ### 3. Price the Forward at Target Tenor Call `fx_forward_price` with the pair and target tenor. Extract: forward rate, forward points. Compute annualized carry. ### 4. Map the Full Carry Curve Call `fx_forward_curve` (list then calculate) for the pair. Present carry profile across tenors (ON through 1Y): forward points, annualized carry, cumulative carry. Identify the sweet-spot tenor. ### 5. Assess Volatility Risk Call `fx_vol_surface` for the pair. Extract: ATM vol at target tenor, 25-delta risk reversal, 25-delta butterfly. Compute carry-to-vol ratio = annualized carry / ATM implied vol. ### 6. Historical Spot Context Call `tscc_historical_pricing_summaries` for the pair's RIC with `interval: "P1D"`, `tenor: "1Y"`. Assess: 52-week range, current position in range, trend direction. ### 7. Synthesize the Report Present: carry-to-vol ratio and overall assessment, spot & forward pricing, carry term structure table, vol surface snapshot, historical context. ## Output Format Lead with the carry-to-vol ratio and overall assessment (attractive / moderate / unattractive). Follow with detailed supporting data in tables.
© LSEG · Apache-2.0 · anthropics/financial-services