swap-curve-strategy
anthropics/financial-services
Analyze interest rate swap curves, compute spreads, and identify curve trade opportunities across tenors and currencies.
What is swap-curve-strategy?
Expert rates strategist tool for swap curve analysis that combines swap pricing, government yields, and inflation curves to identify trading opportunities. Use when analyzing curve shape, computing swap spreads, decomposing real rates, or identifying steepener/flattener/butterfly trades.
- Price swaps at multiple tenors (2Y, 5Y, 7Y, 10Y, 20Y, 30Y) and extract par rates and DV01
- Overlay government yield curves to compute swap spreads at each tenor
- Decompose real rates by combining nominal swap rates with inflation breakevens
- Calculate curve metrics including 2s10s slope, 5s30s slope, and butterfly spreads
- Generate DV01-neutral curve trade recommendations with carry and roll-down estimates
- Support multi-currency swap curve analysis and historical trend context
How to install swap-curve-strategy
npx skills add https://github.com/anthropics/financial-services --skill swap-curve-strategy- Access to MCP tools: ir_swap, interest_rate_curve, inflation_curve, tscc_historical_pricing_summaries, qa_macroeconomic
- Target currency and desired tenor range specified
- Current market data for swap rates, government yields, and inflation breakevens
How to use swap-curve-strategy
- 1.Call ir_swap in list mode to discover available swap templates and indices for your target currency
- 2.Call ir_swap in price mode for standard tenors (2Y, 5Y, 7Y, 10Y, 20Y, 30Y) to build the full swap curve
- 3.Call interest_rate_curve to retrieve government yields at matching tenors and compute swap spreads
- 4.Call inflation_curve to retrieve inflation breakevens and decompose real rates from nominal swap rates
- 5.Calculate curve metrics: 2s10s slope, 5s30s slope, 2s5s10s butterfly, and classify curve shape
- 6.Synthesize results into a complete analysis table with swap curve, spreads, real rates, and DV01-neutral trade recommendations including carry and roll-down estimates
Use cases
- Identify 2s10s steepener or flattener trades based on current curve slope and historical context
- Decompose real rate signals across the curve to assess monetary policy accommodation
- Compute swap spreads to evaluate credit conditions and funding cost expectations
- Analyze curve butterfly trades by examining 2s5s10s convexity
- Compare swap curves across currencies to identify relative value opportunities
- Fixed income strategists and traders
- Rates desk analysts
- Portfolio managers managing duration and curve exposure
- Quantitative researchers analyzing yield curve dynamics
- Financial advisors evaluating macro rate expectations
swap-curve-strategy FAQ
Swap spread = swap rate minus government yield at the same tenor. It reflects credit risk, funding costs, and supply/demand dynamics. Widening spreads signal tightening credit conditions; narrowing spreads suggest easing.
A 2s10s steepener profits if the 10Y swap rate rises relative to the 2Y rate. Structure: receive 2Y, pay 10Y (DV01-neutral notionals). Thesis typically involves expectations of higher long-term rates or curve normalization.
Real rate = nominal swap rate minus inflation breakeven. Decomposition reveals whether curve moves are driven by rate expectations or inflation expectations, helping distinguish monetary policy signals from inflation dynamics.
Use DV01-neutral sizing: calculate DV01 at each tenor, then set notionals so the trade's net duration is zero. This isolates curve shape risk and removes parallel shift exposure.
Compare current curve metrics (2s10s slope, butterfly) to historical averages and extremes. Use tscc_historical_pricing_summaries to assess whether the current curve shape is steep/flat relative to history and identify mean-reversion opportunities.
Full instructions (SKILL.md)
Source of truth, from anthropics/financial-services.
name: swap-curve-strategy description: Analyze the interest rate swap curve by pricing swaps at multiple tenors, overlaying government and inflation curves, and identifying curve trade opportunities. Use when analyzing swap curves, computing swap spreads, decomposing real rates, identifying steepener/flattener/butterfly trades, or comparing swap rates across currencies.
Swap Curve Strategy Analysis
You are an expert rates strategist specializing in swap curve analysis. Combine swap pricing, government yield curves, and inflation curves from MCP tools to analyze curve shape, compute swap spreads, decompose real rates, and identify curve trade opportunities. Focus on routing tool outputs into curve metrics and trade recommendations — let the tools price, you analyze the shape and recommend.
Core Principles
The swap curve prices the market's expectation of future short-term rates, credit conditions, and funding costs. Always build the full swap curve first, overlay the government curve to compute swap spreads, then add inflation breakevens for real rate decomposition. Curve metrics (2s10s slope, 5s30s slope, butterfly) and their historical context drive trade ideas. For trade recommendations, always include DV01-neutral sizing and carry/roll-down estimates.
Available MCP Tools
ir_swap— Swap pricing. Two-phase: list templates (by currency/index) then price at specific tenors. Returns par swap rate, DV01, NPV.interest_rate_curve— Government yield curves. Two-phase: list then calculate. Use for swap spread computation and curve shape context.inflation_curve— Inflation breakeven curves. Two-phase: search then calculate. Use for real rate decomposition.tscc_historical_pricing_summaries— Historical pricing data. Use for historical curve slope context and trend analysis.qa_macroeconomic— Macro data. Use to establish economic context for curve analysis and assess consistency with curve signals.
Tool Chaining Workflow
- Discover Swap Templates: Call
ir_swapin list mode for the target currency. Identify available indices and tenors. - Build Swap Curve: Call
ir_swapin price mode for standard tenors (2Y, 5Y, 7Y, 10Y, 20Y, 30Y). Extract par swap rate and DV01 at each point. - Overlay Government Curve: Call
interest_rate_curve(list then calculate) for the same currency. Compute swap spread = swap rate minus government yield at each tenor. - Inflation Decomposition: Call
inflation_curve(search then calculate). Compute real rate = nominal swap rate minus inflation breakeven at each tenor. - Compute Curve Metrics: From the swap curve: 2s10s slope, 5s30s slope, 2s5s10s butterfly. Note curve shape classification.
- Synthesize: Combine into a complete analysis with swap curve table, swap spreads, real rate decomposition, curve metrics, and trade recommendations with DV01-neutral sizing.
Output Format
Swap Curve Table
| Tenor | Swap Rate (%) | Govt Yield (%) | Swap Spread (bp) | DV01 | Inflation BE (%) | Real Rate (%) |
|---|---|---|---|---|---|---|
| 2Y | ... | ... | ... | ... | ... | ... |
| 5Y | ... | ... | ... | ... | ... | ... |
| 10Y | ... | ... | ... | ... | ... | ... |
| 30Y | ... | ... | ... | ... | ... | ... |
Curve Metrics
| Metric | Current |
|---|---|
| 2s10s slope (bp) | ... |
| 5s30s slope (bp) | ... |
| 2s5s10s butterfly (bp) | ... |
| Curve shape | Normal / Flat / Inverted / Humped |
Real Rate Decomposition
| Tenor | Nominal Swap | Inflation BE | Real Rate | Signal |
|---|---|---|---|---|
| 2Y | ...% | ...% | ...% | Accommodative/Restrictive |
| 5Y | ...% | ...% | ...% | Accommodative/Restrictive |
| 10Y | ...% | ...% | ...% | Accommodative/Restrictive |
Curve Trade Recommendation
For each trade: structure (e.g., 2s10s steepener), legs, DV01-neutral notionals, estimated 3M carry, estimated 3M roll-down, breakeven curve move, target, stop-loss, and thesis (1-2 sentences).
Related skills
More from anthropics/financial-services and the wider catalog.

tear-sheet
Generate professional company tear sheets from S&P Capital IQ data in minutes.

xlsx-author
Generate .xlsx files headless using Python and openpyxl for managed-agent sessions.

3-statement-model
Complete and populate integrated 3-statement financial models with proper formula linkages between Income Statement, Balance Sheet, and Cash Flow Statement.

audit-xls
Audit spreadsheet formulas and financial-model integrity in seconds.

accessibility-review
Run a WCAG 2.1 AA accessibility audit on designs and pages to catch contrast, keyboard, and screen reader issues.

account-research
Research target companies and contacts against your ICP, with CRM deduplication and sourced signals.