首页/财务与会计/swap-curve-strategy
S

swap-curve-strategy

by @anthropicsv
4.3(120)

此技能通过整合互换定价、政府收益率曲线与通胀曲线数据,自动构建完整互换曲线并计算各期限互换利差、实际利率分解和曲线斜率、蝶式等指标,帮助利率交易员快速识别陡峭化/平坦化/蝶式交易机会,并给出DV01中性匹配的头部规模和收益风险建议。适用于掉期曲线分析、互换利差计算、实际利率分解及跨币种互换对比等场景。

swap-curveinterest-rate-swapscurve-analysisfixed-incometradingGitHub
安装方式
npx skills add https://github.com/anthropics/financial-services --skill swap-curve-strategy
compare_arrows

Before / After 效果对比

1 组
使用前

在没有此技能之前,分析师需要手动从多个数据源拉取互换报价、政府收益率和通胀数据,在Excel中逐项计算各期限互换利差、曲线斜率和蝶式指标。整个过程通常需要数小时,且容易因数据源切换和公式错误导致分析偏差,难以快速响应盘中市场变化。

使用后

此技能自动调用市场数据工具,生成完整的互换曲线表格、曲线指标和交易推荐。分析师只需审查输出,几分钟内即可获得包含DV01中性头部规模和收益风险建议的完整分析,大幅提升分析效率和准确性,并能及时捕捉曲线交易机会。

SKILL.md

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

  1. Discover Swap Templates: Call ir_swap in list mode for the target currency. Identify available indices and tenors.
  2. Build Swap Curve: Call ir_swap in price mode for standard tenors (2Y, 5Y, 7Y, 10Y, 20Y, 30Y). Extract par swap rate and DV01 at each point.
  3. 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.
  4. Inflation Decomposition: Call inflation_curve (search then calculate). Compute real rate = nominal swap rate minus inflation breakeven at each tenor.
  5. Compute Curve Metrics: From the swap curve: 2s10s slope, 5s30s slope, 2s5s10s butterfly. Note curve shape classification.
  6. 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

TenorSwap Rate (%)Govt Yield (%)Swap Spread (bp)DV01Inflation BE (%)Real Rate (%)
2Y..................
5Y..................
10Y..................
30Y..................

Curve Metrics

MetricCurrent
2s10s slope (bp)...
5s30s slope (bp)...
2s5s10s butterfly (bp)...
Curve shapeNormal / Flat / Inverted / Humped

Real Rate Decomposition

TenorNominal SwapInflation BEReal RateSignal
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).

用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价

统计数据

安装量1.7K
评分4.3 / 5.0
版本
更新日期2026年10月18日
对比案例1 组

用户评分

4.3(120)
5
37%
4
43%
3
13%
2
5%
1
2%

为此 Skill 评分

0.0

兼容平台

🤖claude-code

时间线

创建2026年8月16日
最后更新2026年10月18日
🎁 Agent 知识卡片
调研问卷