bond-relative-value
Skill này làm gì
Skill này hướng dẫn agent AI quyết định một trái phiếu có trả đủ lợi suất cho rủi ro của nó không. Skill dành cho nhà phân tích thu nhập cố định so sánh trái phiếu với đường cong và các đối thủ cùng nhóm.
Khi nào nên dùng
- ✓Khi bạn muốn biết một trái phiếu đang đắt hay rẻ so với đường cong.
- ✓Khi bạn cần tách chênh lệch của trái phiếu thành phần lãi suất và tín dụng.
- ✓Khi bạn muốn xem trái phiếu sẽ chịu được thế nào trước các cú sốc lãi suất.
Liên kết skill
https://github.com/anthropics/financial-services/blob/main/plugins/partner-built/lseg/skills/bond-relative-value/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
“Trái phiếu doanh nghiệp này đắt hay rẻ so với đường cong trái phiếu chính phủ, và nó sẽ ra sao nếu lãi suất tăng một điểm?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent định giá trái phiếu, so sánh với đường cong chính phủ và đường cong tín dụng, rồi tách chênh lệch thành phần không rủi ro và phần tín dụng. Sau đó nó chạy các kịch bản lãi suất để kiểm tra nhận định có còn đúng không.
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.
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.
Câu hỏi thường gặp
Đắt hay rẻ nghĩa là gì?
Đắt nghĩa là trái phiếu được định giá cao, còn rẻ nghĩa là nó đem lại lợi suất cao hơn mức rủi ro gợi ý.
Phần dư là gì?
Đó là phần chênh lệch còn lại sau khi tính đến lãi suất và tín dụng, cho thấy mức đắt hoặc rẻ thật sự.
Nó có kiểm tra các môi trường lãi suất khác nhau không?
Có. Nó chạy các dịch chuyển song song của lãi suất và báo cáo thay đổi giá theo từng kịch bản.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 41k
- Vị trí xếp hạng
- #6595
- 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.