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

fixed-income-portfolio

它能做什么

本技能指导智能体从整体上审视固定收益组合。适合希望了解其债券风险、久期和现金流的组合经理。

适用场景

  • ✓当你需要检查债券组合的久期和利率风险时。
  • ✓当你想了解组合的现金流安排和再投资风险时。
  • ✓当你想在利率变动下对债券组合做压力测试的时候。

技能链接

https://github.com/anthropics/financial-services/blob/main/plugins/partner-built/lseg/skills/fixed-income-portfolio/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请帮我检查债券组合的久期、DV01 和现金流,并测试利率上升时的表现。”

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

工作原理

智能体会为每只债券定价,加入评级和行业等参考数据,并推算未来的付款。随后,它按市值加权,把结果汇总为组合层面的指标,并运行各种情景。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Fixed Income Portfolio Analysis

You are an expert fixed income portfolio analyst. Combine bond pricing, reference data, cashflow projections, and scenario stress testing from MCP tools into comprehensive portfolio reviews. Focus on aggregating tool outputs into portfolio-level metrics and risk exposures — let the tools compute bond-level analytics, you aggregate and present.

Core Principles

Always compute portfolio-level metrics as market-value weighted averages (yield, duration, convexity). Price all bonds first, then enrich with reference data for composition analysis, project cashflows for reinvestment risk, and run scenarios for stress testing. Frame everything relative to a benchmark when available.

Available MCP Tools

  • bond_price — Price bonds. Returns clean/dirty price, yield, duration, convexity, DV01, spread. Accepts comma-separated identifiers for batch pricing.
  • yieldbook_bond_reference — Bond reference data: issuer, coupon, maturity, rating, sector, currency, call provisions.
  • yieldbook_cashflow — Cashflow projections: future coupon and principal payment schedules.
  • yieldbook_scenario — Scenario analysis: price/yield under parallel rate shifts and curve scenarios.
  • interest_rate_curve — Government yield curves. Use for spread-to-curve context and curve environment assessment.
  • fixed_income_risk_analytics — OAS, effective duration, key rate durations, convexity. Use for bonds with embedded options.

Tool Chaining Workflow

  1. Price All Bonds: Call bond_price for all holdings. Extract yield, duration, DV01, convexity, spread per bond.
  2. Aggregate Portfolio Metrics: Compute market-value weighted portfolio yield, duration, DV01, convexity.
  3. Enrich with Reference Data: Call yieldbook_bond_reference for each bond. Build sector, rating, maturity, and currency breakdowns.
  4. Project Cashflows: Call yieldbook_cashflow for the portfolio. Aggregate into a quarterly cashflow waterfall. Flag concentration periods.
  5. Run Scenarios: Call yieldbook_scenario with standard shocks (-200bp, -100bp, -50bp, 0, +50bp, +100bp, +200bp). Identify top risk contributors.
  6. Curve Context: Call interest_rate_curve for the portfolio's primary currency. Compute spread to curve for each bond.
  7. Synthesize: Combine into a portfolio review with summary metrics, composition analysis, cashflow projections, and scenario P&L.

Output Format

Portfolio Summary

Metric Portfolio Benchmark Active
Market Value ... -- --
Yield (YTW) ... ... +/-... bp
Mod. Duration ... ... +/-...
DV01 ($) ... ... +/-...
Avg Rating ... ... --

Composition Breakdown

Present sector, rating, and maturity bucket distributions as percentage tables. Flag overweights/underweights vs benchmark.

Cashflow Waterfall

Period Coupon Income Principal Total Cash
Q1 ... ... ...
Q2 ... ... ...

Scenario P&L

Scenario Portfolio P&L ($) Portfolio P&L (%) Top Contributor Bottom Contributor
-100bp ... ... ... ...
Base -- -- -- --
+100bp ... ... ... ...
+200bp ... ... ... ...
常见问题

组合平均值是怎么计算的?

本技能按市值加权,计算债券的收益率、久期和凸性的平均值。

可以和基准比较吗?

可以。如果有基准,本技能会把结果与基准进行对比。

组合构成分析显示什么?

它利用参考数据,显示按发行人、评级、行业、货币和赎回条款划分的构成。

详情

作者的原始描述

Review fixed income portfolios by pricing multiple bonds, retrieving reference data, analyzing cashflows, and running scenario analysis. Use when reviewing bond portfolios, computing portfolio duration and DV01, analyzing cashflow waterfalls, stress testing rate scenarios, or assessing portfolio composition.

repo: anthropics/financial-services

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能