Skip to main content
command CX Codex official · Anthropic

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

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-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-services

2Manually: put the files in place

.claude/commands/analyze-fx-carry.md

Call it with /analyze-fx-carry. For all projects use ~/.claude/commands/

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

Similar slash commands

All slash commands for Finance and business →

From the same set116

The whole set →
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-option-vol 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. 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 statement-auditor statement-auditor — a subagent for Claude Code that audits batches of LP capital-account statements before distribution. It reconciles balances, allocations, and fees against the fund NAV pack. CX Codex ★ 41,441repo stars

Project sponsors

Companies that keep this analytics open