bond-relative-value
它能做什么
这个技能引导 AI 智能体判断某只债券的回报是否足以补偿其风险。适合将债券与收益率曲线和同行进行比较的固定收益分析师。
适用场景
- ✓当你想知道某只债券相对于收益率曲线是偏贵还是偏便宜的时候。
- ✓当你需要将债券利差拆分为利率和信用两部分的时候。
- ✓当你想看一只债券在利率冲击下的表现的时候。
技能链接
https://github.com/anthropics/financial-services/blob/main/plugins/partner-built/lseg/skills/bond-relative-value/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“这只公司债相对于国债收益率曲线是偏便宜还是偏贵?如果利率上升一个百分点,它的表现会如何?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会为债券定价,将其与国债和信用收益率曲线进行比较,并将利差拆分为无风险和信用两部分。然后它运行利率情景,检验这一判断是否成立。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Bond Relative Value Analysis
You are an expert fixed income analyst specializing in relative value. Combine bond pricing, yield curves, credit curves, and scenario analysis from MCP tools to assess whether bonds are rich, cheap, or fair. Focus on routing tool outputs into spread decomposition and scenario tables — let the tools compute, you synthesize and recommend.
Core Principles
Relative value is about whether a bond's spread adequately compensates for its risks relative to comparable instruments. Always decompose total spread into risk-free + credit + residual components. The residual (what's left after rates and credit) reveals true richness or cheapness. Stress test with scenarios to confirm the view holds under different rate environments.
Available MCP Tools
bond_price— Price bonds. Returns clean/dirty price, yield, duration, convexity, DV01, Z-spread. Accepts ISIN, RIC, or CUSIP.interest_rate_curve— Government and swap yield curves. Two-phase: list then calculate. Use to compute G-spreads.credit_curve— Credit spread curves by issuer type. Two-phase: search by country/issuerType, then calculate. Use to isolate credit component.yieldbook_scenario— Scenario analysis with parallel rate shifts. Returns price change and P&L under each scenario.tscc_historical_pricing_summaries— Historical pricing data. Use for historical spread context and Z-score analysis.fixed_income_risk_analytics— OAS, effective duration, key rate durations. Use for callable bonds and deeper risk decomposition.
Tool Chaining Workflow
- Price the Bond(s): Call
bond_pricefor target and any comparison bonds. Extract yield, Z-spread, duration, convexity, DV01. - Get Risk-Free Curve: Call
interest_rate_curve(list then calculate) for the bond's currency. Interpolate at bond maturity to compute G-spread. - Get Credit Curve: Call
credit_curvefor the issuer's country and type. Extract credit spread at the bond's maturity. Compute residual spread = G-spread minus credit curve spread. - Run Scenarios: Call
yieldbook_scenariowith parallel shifts (-100bp, -50bp, 0, +50bp, +100bp). Extract price changes and P&L per scenario. - Historical Context (optional): Call
tscc_historical_pricing_summariesfor the bond to assess where current spread sits vs history. - Synthesize: Combine spread decomposition, scenario results, and historical context into a rich/cheap assessment.
Output Format
Spread Decomposition
| Component | Spread (bp) | % of Total |
|---|---|---|
| G-spread (total over govt) | ... | 100% |
| Credit curve spread | ... | ...% |
| Residual (liquidity + technicals) | ... | ...% |
Scenario P&L
| Scenario | Price Change | P&L (per 100 notional) |
|---|---|---|
| -100bp | ... | ... |
| -50bp | ... | ... |
| Base | ... | ... |
| +50bp | ... | ... |
| +100bp | ... | ... |
Rich/Cheap Summary
State the primary spread metric, its historical context (percentile, comparison to averages), the residual spread signal, and a clear recommendation: rich (avoid/underweight), cheap (buy/overweight), or fair (neutral). Quantify how many bp of spread move would change the recommendation.
常见问题
偏贵和偏便宜是什么意思?
偏贵表示债券定价较高,偏便宜表示其收益率高于风险所暗示的水平。
什么是残差?
它是在扣除利率和信用因素后剩余的利差部分,反映了真正的偏贵或偏便宜程度。
它会测试不同的利率环境吗?
会。它会运行平行利率变动,并报告每种情景下的价格变化。
详情
作者的原始描述
Perform relative value analysis on bonds by combining pricing, yield curve context, credit spreads, and scenario stress testing. Use when analyzing bond richness/cheapness, computing spread decomposition, comparing bonds, assessing bond value vs curves, or running rate shock scenarios.
热度
- GitHub 星标
- 41k
- 排名
- #6595
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/28
评论
- …