credit-derivatives

Price CDS, CDX/iTraxx indices, and CDO tranches using bootstrapped survival curves.

10|2|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/brainbytes-dev/everything-claude-trading --skill credit-derivatives
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: credit-derivatives
Source: https://github.com/brainbytes-dev/everything-claude-trading/tree/main/skills/derivatives/credit-derivatives
Command: npx skills add https://github.com/brainbytes-dev/everything-claude-trading --skill credit-derivatives

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Credit derivatives such as CDS, CDO, and credit indices are highly specialized instruments requiring robust modeling, pricing, and risk interpretation. This Skill provides a structured framework to understand, price, and hedge these products in a coherent workflow.

Core Features & Use Cases

  • CDS pricing & curve construction: bootstrap survival probabilities, calibrate hazard rates, and price protection.
  • Index and tranche analysis: evaluate CDX/iTraxx indices and CDO tranches to understand market-implied risk and capital allocations.
  • Recovery & risk management: incorporate standard recovery assumptions and sensitivity analysis for stress testing and risk reporting.
  • Curve construction & relative value: align single-name curves with index spreads and explore basis trades across maturities.

Quick Start

Price a 5-year CDS for a chosen reference entity using ISDA conventions and a 40% recovery rate.

Frequently Asked Questions about credit-derivatives

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bootstrap survival curves and hazard rates from traded CDS spreads?

To bootstrap survival curves from CDS spreads, you derive hazard rates using a bootstrapping workflow that aligns standard ISDA conventions with market spreads to construct matching discount factors and survival probabilities.

How do I price a 5-year CDS using standard ISDA conventions and recovery assumptions?

You price a 5-year CDS by applying standard ISDA conventions and typical recovery assumptions like 40% for investment-grade credits, using bootstrapped survival curves to calculate the protection leg and premium leg values.

Can I use this framework to evaluate CDX and iTraxx credit index relative value trades?

Yes, you can evaluate CDX and iTraxx credit indices for relative value trades by aligning single-name survival curves with index spreads to identify basis trade opportunities across different maturities.

What recovery rate assumptions should I use for pricing high-yield vs investment-grade credit derivatives?

For pricing credit derivatives, standard recovery assumptions are 40% for investment-grade credits and 25% for high-yield credits, which are applied during the survival curve construction and sensitivity analysis process.

Does this approach support CDO tranche pricing and synthetic securitization risk management?

Yes, the framework supports CDO tranche pricing and synthetic securitization risk management by evaluating market-implied default correlation and capital allocations across tranches using calibrated survival curves.

Why does my CDS curve calibration not match market spreads across maturities?

CDS curve calibration mismatches occur when bootstrapped hazard rates fail to align with market spreads, requiring adjustment of survival probabilities and discount factors to ensure consistency with traded spread levels across all maturities.