Survival Curve

Bootstraps survival curves, the probability that a US corporate issuer has not defaulted after each horizon, from the ICE BofA option-adjusted spreads. The default time follows a hazard rate that is piecewise flat: constant between the maturities of the spreads it is bootstrapped from and held at its last value beyond them (Jarrow and Turnbull, 1995; O’Kane, 2008, ch. 7).

Each spread is read as a bond that trades at par: its coupon is the par yield of the Treasury zero-coupon curve plus the spread. The hazard rate up to its maturity is solved, in maturity order with the earlier ones fixed, so that the bond priced on the Treasury curve with that default risk is worth par again, every coupon and the principal paid only on survival and the recovery rate times the face value paid at default:

The formula is as follows:

\[D_{s}(t) = P(t) \cdot \left(1 + \frac{s_{i}}{2}\right)^{- 2t},\;\; c_{i} = \frac{2 \cdot (1 - D_{s}(T_{i}))}{\sum(D_{s}(t_{k}))}\] \[\text{Solve } \lambda_{i} \text{:}\;\; \frac{c_{i}}{2} \cdot \sum(P(t_{k}) Q(t_{k})) + P(T_{i}) Q(T_{i}) + R \text{∫}_{0}^{T_{i}} P(t) (- \operatorname{dQ}(t)) = 1\] \[Q(t) = \exp(- \sum(\lambda_{j} \cdot (\min(t,\; T_{j}) - T_{j-1})^{} +))\]

where \(s_{i}\) is the option-adjusted spread of maturity \(T_{i}\), compounded twice a year as ICE adds it to the semi-annual Treasury rates (an option-adjusted spread is a Z-spread once the call options are taken out), P(t) = (1 + r(t))^(-t) the discount factor of the annually compounded US Treasury zero-coupon curve (see get_zero_coupon_curve), \(t_{k}\) the semi-annual coupon dates and R the recovery rate. The default integral is exact on the grid of the curve, hazard rate and coupon dates (ISDA CDS Standard Model). The credit triangle \(\lambda \approx s / (1 - R)\) of get_implied_default_probability is its first-order version.

By maturity, the curve is bootstrapped from the six maturity buckets of the ICE BofA US Corporate Index (investment grade), each taken at its middle: 2, 4, 6, 8.5 and 12.5 years, and 20 years for 15+ years. By rating, each rating index (AAA to CCC and lower) has a single spread and so a flat hazard rate, bootstrapped from a par bond of 7 years; the hazard rate moves by less than 0.2% between 5 and 10 years.

The spreads are the latest up to the end date, and the Treasury curve that of the same day (or the last day before it). Spreads also pay for liquidity and the uncertainty of losses, so these risk-neutral survival probabilities are below those of the default rates observed (see get_default_rates).

Also known as: credit curve, hazard rate curve, default probability term structure, bond-implied default probabilities.

Example

Install the Finance Toolkit with pip install financetoolkit -U, then call get_survival_curve:

from financetoolkit import FixedIncome

fixedincome = FixedIncome(end_date="2026-11-05", fred_api_key="your_fred_api_key")

fixedincome.get_survival_curve(maturity=False)

Or, with the Finance Toolkit MCP set up, ask an AI assistant such as Claude or ChatGPT:

What chances of surviving 1 to 30 years without default did corporate bond spreads imply for each rating from AAA to CCC on 5 November 2026?

Which returns:

Parameters

get_survival_curve accepts the following parameters.

ParameterTypeDescriptionExample
maturityboolWhether to bootstrap one curve from the maturity buckets of the US Corporate Index, or a flat curve per rating. Defaults to True (by maturity).False
ratingslist[str] | str | NoneThe ratings: “AAA”, “AA”, “A”, “BBB”, “BB”, “B” or “CCC”, as a list or a comma-separated string; giving them returns the curves by rating. Defaults to None, every rating when maturity is False.None, every rating when maturity is False
recovery_ratefloatThe share of the face value recovered on default. Defaults to 0.4, about the average recovery of senior unsecured bonds and the ISDA standard.
horizonslist[float] | str | NoneThe horizons in years or as labels such as “6M”, as a list or a comma-separated string. Defaults to None, which uses 1, 2, 3, 5, 7, 10, 15, 20 and 30 years.None, which uses 1, 2, 3, 5, 7, 10, 15, 20 and 30 years
hazard_ratesboolWhether to return the hazard rate in force at each horizon (continuous, per year) instead of the survival probability. Defaults to False.False
roundingint | NoneThe number of decimals to round the results to. Defaults to None, which uses the FixedIncome rounding.2
show_columnsstr | list[str] | NoneThe columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column.None, which keeps every column

References

  • Paper Jarrow, R.A. and Turnbull, S.M. (1995). “Pricing Derivatives on Financial Securities Subject to Credit Risk.” The Journal of Finance, 50(1), 53-85.
  • Paper O’Kane, D. (2008). “Modelling Single-name and Multi-name Credit Derivatives.” Wiley, ch. 3 and 7.
  • Paper Markit (2009). “ISDA CDS Standard Model.”
  • Library Referenced against QuantLib’s HazardRateCurve
  • Library Referenced against QuantLib’s RiskyBondEngine
  • Library Shares similar logic as QuantLib’s PiecewiseFlatHazardRate
Share