fixed-income-portfolio
Skill này làm gì
Skill này hướng dẫn agent AI xem xét toàn bộ một danh mục thu nhập cố định. Skill dành cho người quản lý danh mục muốn hiểu rủi ro, duration và dòng tiền của các trái phiếu.
Khi nào nên dùng
- ✓Khi bạn cần xem xét duration và rủi ro lãi suất của danh mục trái phiếu.
- ✓Khi bạn muốn xem lịch dòng tiền của danh mục và rủi ro tái đầu tư.
- ✓Khi bạn muốn kiểm tra độ bền danh mục trái phiếu khi lãi suất thay đổi.
Liên kết skill
https://github.com/anthropics/financial-services/blob/main/plugins/partner-built/lseg/skills/fixed-income-portfolio/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Xem xét duration, DV01 và dòng tiền của danh mục trái phiếu của tôi, và kiểm tra độ bền khi lãi suất tăng.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent định giá từng trái phiếu, thêm dữ liệu tham chiếu như xếp hạng và ngành, rồi dự phóng các khoản thanh toán tương lai. Sau đó nó gộp kết quả thành các chỉ số cấp danh mục theo giá trị thị trường và chạy các kịch bản.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
- Price All Bonds: Call
bond_pricefor all holdings. Extract yield, duration, DV01, convexity, spread per bond. - Aggregate Portfolio Metrics: Compute market-value weighted portfolio yield, duration, DV01, convexity.
- Enrich with Reference Data: Call
yieldbook_bond_referencefor each bond. Build sector, rating, maturity, and currency breakdowns. - Project Cashflows: Call
yieldbook_cashflowfor the portfolio. Aggregate into a quarterly cashflow waterfall. Flag concentration periods. - Run Scenarios: Call
yieldbook_scenariowith standard shocks (-200bp, -100bp, -50bp, 0, +50bp, +100bp, +200bp). Identify top risk contributors. - Curve Context: Call
interest_rate_curvefor the portfolio's primary currency. Compute spread to curve for each bond. - 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 | ... | ... | ... | ... |
Câu hỏi thường gặp
Các trung bình của danh mục được tính thế nào?
Skill tính lợi suất, duration và độ lồi như trung bình có trọng số theo giá trị thị trường của các trái phiếu.
Nó có so sánh với chỉ số chuẩn không?
Có. Skill đặt kết quả trong tương quan với một chỉ số chuẩn khi có sẵn.
Phân tích thành phần cho thấy gì?
Nó cho thấy tỷ trọng theo tổ chức phát hành, xếp hạng, ngành, tiền tệ và đặc điểm quyền mua lại, dựa trên dữ liệu tham chiếu.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 41k
- Vị trí xếp hạng
- #6597
- Giấy phép
- Apache-2.0
- Cập nhật
- 28/10/2026
Bình luận
- …
Thêm skill từ kho mã này
audit-xls
41kGiúp agent của bạn kiểm tra bảng tính để tìm lỗi công thức, số nhập tay và liên kết hỏng, cho một phạm vi, một trang tính hoặc toàn bộ mô hình.
earnings-analysis
41kGiúp agent của bạn viết bản cập nhật ngắn về kết quả kinh doanh quý của một công ty, gồm vượt hay hụt kỳ vọng, các con số chính và quan điểm đã điều chỉnh.
earnings-preview
41kGiúp agent của bạn chuẩn bị trước khi một công ty công bố lợi nhuận, với các chỉ số cần theo dõi, kịch bản tích cực và tiêu cực, cùng các yếu tố xúc tác chính.
model-update
41kGiúp agent của bạn cập nhật mô hình tài chính với kết quả mới, hướng dẫn hoặc giả định, rồi đánh dấu những thay đổi quan trọng nhất.
Skill tương tự
gitcrawl
394kCho phép agent của bạn tìm trong kho lưu trữ issue và pull request GitHub, gom các mục trùng lặp và kiểm tra trạng thái hiện tại trên GitHub.
slacrawl
394kCho phép agent của bạn tìm và đếm tin nhắn trong kho lưu trữ Slack cục bộ, kiểm tra kho đó mới đến mức nào và làm mới khi cần.
goplaces
394kGiúp agent của bạn tìm địa điểm, lấy chi tiết và đánh giá, và xác định tên địa điểm bằng Google Places, với đầu ra JSON cho script.