Communitygithub.com

固定收益投資組合分析

通過定價多隻債券、檢索參考數據、分析現金流以及執行情景分析來審查固定收益投資組合。適用於檢查債券投資組合、計算投資組合久期和DV01、分析現金流水位、壓力測試利率情景或評估投資組合構成時。

固定收益投資組合分析 是什麼?

此技能將 Claude 轉變為一名專家級的固定收益投資組合分析師,能夠將多個債券 MCP 工具的輸出整合為全面的投資組合審查。它通過順序鏈接工具(例如債券定價、參考數據、現金流預測和情景分析)來提供深入的投資組合風險評估。用戶可以獲得投資組合層面的加權平均指標(收益率、久期、凸性),以及部門、評級和期限分佈的明細。該技能支持基準比較,並生成結構化的輸出,包括投資組合摘要表、現金流水位表和情景損益表,使其對需要批量分析債券頭寸和壓力測試利率情景的金融專業人士非常有價值。它主要設計用於與 MCP 兼容的 AI 編碼或代理平台(例如 Claude Code、Cursor 或 Codex),以與金融數據 API 交互。工作流程從一次定價所有債券開始,然後使用評級和到期日等細節進行豐富,預測現金流以評估再投資風險,最後運行利率情景來衡量投資組合的敏感性。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/VRIL-LABS/skill-jam/tree/HEAD/skills/ai-ml/financial-services-plugins-main/financial-services-plugins-main/partner-built/lseg/skills/fixed-income-portfolio

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

固定收益投資組合分析 是做什麼的?

您是一位專家級固定收益投資組合分析師。將來自 MCP 工具的債券定價、參考數據、現金流預測和情景壓力測試整合為全面的投資組合審查。專注於將工具輸出匯總為投資組合層面的指標和風險敞口 — 讓工具計算單個債券級別的分析,您負責匯總和呈現。

核心原則

始終以市值加權平均值計算投資組合層面的指標(收益率、久期、凸性)。首先為所有債券定價,然後用參考數據豐富其信息以進行構成分析,預測現金流以評估再投資風險,並運行情景進行壓力測試。如果有基準,請將所有內容與基準進行比較。

可用的 MCP 工具

  • bond_price — 為債券定價。返回乾淨價格/含息價格、收益率、久期、凸性、DV01、利差。接受逗號分隔的標識符以進行批量定價。
  • yieldbook_bond_reference — 債券參考數據:發行人、票息、到期日、評級、行業、貨幣、贖回條款。
  • yieldbook_cashflow — 現金流預測:未來票息和本金支付時間表。
  • yieldbook_scenario — 情景分析:在平行利率變動和曲線情景下的價格/收益率。
  • interest_rate_curve — 政府收益率曲線。用於計算利差曲線背景和曲線環境評估。
  • fixed_income_risk_analytics — OAS、有效久期、關鍵利率久期、凸性。用於含有嵌入期權的債券。

工具鏈接工作流程

  1. 為所有債券定價: 為所有持倉調用 bond_price。提取每隻債券的收益率、久期、DV01、凸性、利差。
  2. 匯總投資組合指標: 計算市值加權的投資組合收益率、久期、DV01、凸性。
  3. 用參考數據豐富: 為每隻債券調用 yieldbook_bond_reference。構建行業、評級、到期日和貨幣分佈。
  4. 預測現金流: 為投資組合調用 yieldbook_cashflow。合併為季度現金流水位表。標記集中期間。
  5. 運行情景: 使用標準衝擊(-200bp、-100bp、-50bp、0、+50bp、+100bp、+200bp)調用 yieldbook_scenario。識別最大風險貢獻者。
  6. 曲線背景: 為投資組合的主要貨幣調用 interest_rate_curve。計算每隻債券的利差曲線。
  7. 綜合: 將摘要指標、構成分析、現金流預測和情景損益合併為一份投資組合審查。

輸出格式

投資組合摘要

指標投資組合基準主動管理
市值...----
收益率 (YTW)......+/-... bp
修正久期......+/-...
DV01 ($)......+/-...
平均評級......--

構成明細

以百分比表格形式呈現行業、評級和到期日桶分佈。相對於基準標記超配/低配。

現金流水位表

時期票息收入本金現金總額
第1季.........
第2季.........

情景損益表

情景投資組合損益 ($)投資組合損益 (%)最大貢獻者最小貢獻者
-100bp............
基準--------
+100bp............
+200bp............

Individual skills in this repo

This repo contains 5 individual skills — each has its own dedicated page.

VRIL-LABS/skill-jam

description: Track and analyze portfolio company performance against plan. Ingests monthly/quarterly financial packages (Excel, PDF), extracts KPIs, flags variances to budget, and produces summary dashboards. Use when reviewing portfolio company financials, preparing board materials, or monitoring covenant compliance. Triggers on "review portfolio company", "monthly financials", "how is [company] performing", "covenant check", or "portfolio update".

VRIL-LABS/skill-jam

description: Analyze portfolio allocation drift and generate rebalancing trade recommendations across accounts. Considers tax implications, transaction costs, and wash sale rules. Triggers on "rebalance", "portfolio drift", "allocation check", "rebalancing trades", or "my portfolio is out of balance".

VRIL-LABS/skill-jam

Landing page conversion optimization with layout rules, hero section design, and CTA psychology. Covers above-the-fold formula, social proof placement, mobile design, and F-pattern reading. Use for: startup landing pages, product pages, SaaS marketing, conversion optimization. Triggers: landing page, hero section, above the fold, conversion optimization, landing page design, cta button, hero image, landing page layout, saas landing page, product page design, conversion rate, landing page best practices

VRIL-LABS/skill-jam

Search personal websites and blogs using Exa advanced search. Full filter support for finding individual perspectives, portfolios, and personal blogs. Use when searching for personal sites, blog posts, or portfolio websites.

VRIL-LABS/skill-jam

Build distinctive, production-grade websites and web apps. Routes to the right guidance based on framework (Next.js, React Native, vanilla HTML). Covers design tokens, typography, motion, layout, accessibility, and deployment.

相關技能