PluginBench
Skill
Official
Pass
Audit score 90

bond-futures-basis

anthropics/financial-services

Analyze bond futures basis, identify CTD bonds, and evaluate basis trading opportunities.

What is bond-futures-basis?

This skill analyzes bond futures basis by pricing futures contracts, identifying the cheapest-to-deliver bond, and comparing with yield curves to assess delivery option value. Use it when evaluating basis trades, computing implied repo rates, or analyzing bond futures market opportunities.

  • Price bond futures and identify the cheapest-to-deliver (CTD) bond and delivery basket
  • Price individual cash bonds and extract yield, duration, and DV01 metrics
  • Compute gross basis, carry, net basis (BNOC), and implied repo rates
  • Compare implied repo rates to market repo rates to assess if futures are rich or cheap
  • Track basis evolution over time using 3-month historical OHLC data
  • Overlay yield curve and credit spread context for basis distortion analysis

How to install bond-futures-basis

npx skills add https://github.com/anthropics/financial-services --skill bond-futures-basis
Claude Code
Cursor
Windsurf
Cline

How to use bond-futures-basis

  1. 1.Call bond_future_price with the contract RIC to extract CTD bond, conversion factors, and contract DV01
  2. 2.Call bond_price for the identified CTD bond to get clean/dirty price, yield, duration, and DV01
  3. 3.Compute basis metrics: gross basis, carry, net basis (BNOC), and implied repo rate from the two outputs
  4. 4.Call interest_rate_curve to retrieve the government yield curve and use short-end rate as repo proxy
  5. 5.Call tscc_historical_pricing_summaries for both the future and CTD bond (3-month daily data) to assess basis trend and percentile
  6. 6.Optionally call credit_curve for the relevant sovereign to check for credit-driven basis distortions
  7. 7.Present results in structured tables: Future Summary, CTD Bond Analytics, Basis Calculation, and Historical Basis Context

Use cases

Good for
  • Evaluate whether to enter a long or short basis trade on a specific bond futures contract
  • Identify the CTD bond and assess how conversion factors affect delivery economics
  • Compare implied repo rates to market short-term rates to detect mispricing
  • Track basis trends and volatility over 3–6 months to time entry/exit points
  • Analyze sovereign credit impacts on basis when credit spreads widen or tighten
Who it's for
  • Fixed-income traders evaluating basis trades
  • Portfolio managers hedging bond positions with futures
  • Quantitative analysts modeling bond futures pricing and delivery mechanics
  • Risk managers assessing delivery option value in futures contracts

bond-futures-basis FAQ

What is the cheapest-to-deliver (CTD) bond?

The CTD is the specific bond in the delivery basket that minimizes the cost to deliver against the futures contract, accounting for conversion factors and accrued interest. The skill identifies it automatically via bond_future_price.

How is net basis (BNOC) different from gross basis?

Gross basis is futures price minus cash bond price. Net basis (BNOC) subtracts carry (accrued interest and financing costs) to show the true embedded delivery option value.

What does implied repo rate tell me?

Implied repo is the financing rate locked in by the basis trade. If implied repo exceeds market repo, the futures are cheap; if lower, they are rich.

How do I use historical basis context to time a trade?

Compare the current net basis and implied repo to their 3-month and 6-month averages and percentiles. Extreme percentiles (e.g., 5th or 95th) often signal mean-reversion opportunities.

When should I check the credit curve?

Check the credit curve when the sovereign's credit spreads are volatile or when basis moves seem disconnected from repo rates, as credit distortions can widen or tighten the basis.

Full instructions (SKILL.md)

Source of truth, from anthropics/financial-services.


name: bond-futures-basis description: Analyze the bond futures basis by pricing futures, identifying the cheapest-to-deliver, and comparing with yield curves to assess delivery option value and basis trading opportunities. Use when analyzing bond futures, computing the basis, identifying CTD bonds, calculating implied repo rates, or evaluating basis trades.

Bond Futures Basis Analysis

You are an expert in bond futures and basis trading. Combine futures pricing, cash bond analytics, yield curve data, and historical tracking to assess basis trade opportunities. Focus on routing data from MCP tools into a coherent basis analysis — let the tools compute, you interpret and present.

Core Principles

The basis sits at the intersection of cash bond pricing, repo markets, and delivery mechanics. Always start by pricing the future to identify the CTD and delivery basket, then price the CTD bond separately, compute basis metrics from the two outputs, and overlay yield curve context. The net basis represents embedded delivery option value — compare implied repo to market repo to assess whether futures are rich or cheap.

Available MCP Tools

  • bond_future_price — Price bond futures. Returns fair price, CTD identification, delivery basket with conversion factors, contract DV01.
  • bond_price — Price individual cash bonds. Returns clean/dirty price, yield, duration, DV01, convexity.
  • interest_rate_curve — Government yield curves. Two-phase: list available curves, then calculate. Use short end as repo rate proxy.
  • tscc_historical_pricing_summaries — Historical OHLC data for futures and bonds. Use to track basis evolution over time.
  • credit_curve — Credit spread curves. Use for sovereign credit context when relevant.

Tool Chaining Workflow

  1. Price the Future: Call bond_future_price with the contract RIC. Extract CTD bond identifier, conversion factors, delivery basket, contract DV01, delivery dates.
  2. Price the CTD Bond: Call bond_price for the CTD identified in step 1. Extract clean/dirty price, yield, duration, DV01.
  3. Compute Basis Metrics: From the two outputs, compute gross basis, carry, net basis (BNOC), and implied repo rate. Compare implied repo to market short-term rate.
  4. Yield Curve Context: Call interest_rate_curve — list then calculate for the future's currency. Use short-end rate as repo proxy for the implied repo comparison.
  5. Historical Context: Call tscc_historical_pricing_summaries for both the future and CTD bond (3M daily). Assess basis trend, volatility, and current percentile.
  6. Sovereign Credit (optional): Call credit_curve for the relevant sovereign to check for credit-driven basis distortions.

Output Format

Future Summary

FieldValue
Contract...
Fair Price...
CTD Bond...
Conversion Factor...
Contract DV01...

CTD Bond Analytics

FieldValue
Clean Price...
YTM...
Duration...
DV01...

Basis Calculation

MetricValue
Gross Basis... ticks
Carry... ticks
Net Basis... ticks
Implied Repo...%
Market Repo (approx)...%
AssessmentRich / Fair / Cheap

Historical Basis Context

MetricCurrent3M Avg6M AvgPercentile
Net Basis............th
Implied Repo............th

Lead with the basis trade assessment (long/short/neutral) and implied repo comparison. Follow with detailed analytics tables.