跳到正文
Skillpedia
分析与电子表格41k · #6601

swap-curve-strategy

它能做什么

本技能指导智能体研究利率互换曲线的形态,以及它与政府债券的对比。适合寻找曲线交易思路的利率交易员和策略师。

适用场景

  • ✓当你想分析互换曲线的形态时。
  • ✓当你需要计算互换利率与政府债券收益率之间的利差时。
  • ✓当你在寻找陡峭化、平坦化或蝶式交易思路的时候。

技能链接

https://github.com/anthropics/financial-services/blob/main/plugins/partner-built/lseg/skills/swap-curve-strategy/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/anthropics/financial-services/blob/main/plugins/partner-built/lseg/skills/swap-curve-strategy/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我分析美元互换曲线,将其与政府债券收益率进行比较,如果有突出的机会,请建议一笔曲线交易。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会为多个期限的互换定价,叠加政府债券和通胀曲线,并计算曲线指标。随后,它会给出交易思路,并附上仓位和持有收益说明。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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

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).

常见问题

什么是互换利差?

它是同一期限下互换利率与政府债券收益率之间的差额,本技能会计算这一数值。

交易思路如何确定仓位?

本技能建议,任何建议都应包含 DV01 中性的仓位,以及持有收益和滚动收益的估算。

它可以比较不同货币吗?

可以。本技能可以比较不同货币的互换利率。

详情

作者的原始描述

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.

repo: anthropics/financial-services

热度

GitHub 星标
41k
排名
#6601
许可证
Apache-2.0
更新时间
2026/10/28

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能