swap-curve-strategy
Skill này làm gì
Skill này hướng dẫn agent AI nghiên cứu hình dạng đường cong lãi suất hoán đổi và so sánh nó với trái phiếu chính phủ. Skill dành cho nhà giao dịch lãi suất và chiến lược gia tìm ý tưởng giao dịch đường cong.
Khi nào nên dùng
- ✓Khi bạn muốn phân tích hình dạng của một đường cong hoán đổi.
- ✓Khi bạn cần chênh lệch giữa lãi suất hoán đổi và lợi suất chính phủ.
- ✓Khi bạn đang tìm ý tưởng giao dịch steepener, flattener hoặc butterfly.
Liên kết skill
https://github.com/anthropics/financial-services/blob/main/plugins/partner-built/lseg/skills/swap-curve-strategy/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
“Phân tích đường cong hoán đổi đô la, so sánh với lợi suất chính phủ, và gợi ý một giao dịch đường cong nếu có điểm nổi bật.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent định giá các hợp đồng hoán đổi ở nhiều kỳ hạn, đặt đường cong chính phủ và lạm phát lên trên, rồi tính các chỉ số đường cong. Sau đó nó gợi ý ý tưởng giao dịch kèm ghi chú về quy mô, carry và roll-down.
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.
Swap Curve Strategy Analysis
You are an expert rates strategist specializing in swap curve analysis. Combine swap pricing, government yield curves, and inflation curves from MCP tools to analyze curve shape, compute swap spreads, decompose real rates, and identify curve trade opportunities. Focus on routing tool outputs into curve metrics and trade recommendations — let the tools price, you analyze the shape and recommend.
Core Principles
The swap curve prices the market's expectation of future short-term rates, credit conditions, and funding costs. Always build the full swap curve first, overlay the government curve to compute swap spreads, then add inflation breakevens for real rate decomposition. Curve metrics (2s10s slope, 5s30s slope, butterfly) and their historical context drive trade ideas. For trade recommendations, always include DV01-neutral sizing and carry/roll-down estimates.
Available MCP Tools
ir_swap— Swap pricing. Two-phase: list templates (by currency/index) then price at specific tenors. Returns par swap rate, DV01, NPV.interest_rate_curve— Government yield curves. Two-phase: list then calculate. Use for swap spread computation and curve shape context.inflation_curve— Inflation breakeven curves. Two-phase: search then calculate. Use for real rate decomposition.tscc_historical_pricing_summaries— Historical pricing data. Use for historical curve slope context and trend analysis.qa_macroeconomic— Macro data. Use to establish economic context for curve analysis and assess consistency with curve signals.
Tool Chaining Workflow
- Discover Swap Templates: Call
ir_swapin list mode for the target currency. Identify available indices and tenors. - Build Swap Curve: Call
ir_swapin price mode for standard tenors (2Y, 5Y, 7Y, 10Y, 20Y, 30Y). Extract par swap rate and DV01 at each point. - Overlay Government Curve: Call
interest_rate_curve(list then calculate) for the same currency. Compute swap spread = swap rate minus government yield at each tenor. - Inflation Decomposition: Call
inflation_curve(search then calculate). Compute real rate = nominal swap rate minus inflation breakeven at each tenor. - Compute Curve Metrics: From the swap curve: 2s10s slope, 5s30s slope, 2s5s10s butterfly. Note curve shape classification.
- Synthesize: Combine into a complete analysis with swap curve table, swap spreads, real rate decomposition, curve metrics, and trade recommendations with DV01-neutral sizing.
Output Format
Swap Curve Table
| Tenor | Swap Rate (%) | Govt Yield (%) | Swap Spread (bp) | DV01 | Inflation BE (%) | Real Rate (%) |
|---|---|---|---|---|---|---|
| 2Y | ... | ... | ... | ... | ... | ... |
| 5Y | ... | ... | ... | ... | ... | ... |
| 10Y | ... | ... | ... | ... | ... | ... |
| 30Y | ... | ... | ... | ... | ... | ... |
Curve Metrics
| Metric | Current |
|---|---|
| 2s10s slope (bp) | ... |
| 5s30s slope (bp) | ... |
| 2s5s10s butterfly (bp) | ... |
| Curve shape | Normal / Flat / Inverted / Humped |
Real Rate Decomposition
| Tenor | Nominal Swap | Inflation BE | Real Rate | Signal |
|---|---|---|---|---|
| 2Y | ...% | ...% | ...% | Accommodative/Restrictive |
| 5Y | ...% | ...% | ...% | Accommodative/Restrictive |
| 10Y | ...% | ...% | ...% | Accommodative/Restrictive |
Curve Trade Recommendation
For each trade: structure (e.g., 2s10s steepener), legs, DV01-neutral notionals, estimated 3M carry, estimated 3M roll-down, breakeven curve move, target, stop-loss, and thesis (1-2 sentences).
Câu hỏi thường gặp
Chênh lệch hoán đổi là gì?
Đó là khoảng chênh giữa lãi suất hoán đổi và lợi suất chính phủ ở cùng kỳ hạn, và skill tính nó.
Các ý tưởng giao dịch được định quy mô thế nào?
Skill nói bao gồm quy mô trung hòa DV01, cùng ước tính carry và roll-down cho mọi khuyến nghị.
Nó có so sánh tiền tệ khác nhau không?
Có. Skill có thể so sánh lãi suất hoán đổi qua các đồng tiền.
Chi tiết
Mô tả gốc của tác giả
Analyze the interest rate swap curve by pricing swaps at multiple tenors, overlaying government and inflation curves, and identifying curve trade opportunities. Use when analyzing swap curves, computing swap spreads, decomposing real rates, identifying steepener/flattener/butterfly trades, or comparing swap rates across currencies.
Độ phổ biến
- Sao GitHub
- 41k
- Vị trí xếp hạng
- #6601
- 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.