Package com.quantfinlib.credit


@NullMarked package com.quantfinlib.credit
Credit curves, CDS pricing and credit spreads. CreditCurve bootstraps piecewise-constant hazard rates from CDS par spreads (the credit analogue of the rates bootstrap — every input reprices exactly, and the credit triangle spread ~ hazard * (1 - recovery) is pinned by test); CdsPricer prices the two legs, the par spread and the standardized-contract upfront, and exposes the risky annuity (risky DV01); CreditSpreads translates bond prices into Z-spreads over the risk-free curve, the number that pairs with the CDS par spread to form the cds-bond basis. IsdaCdsModel is the ISDA CDS Standard Model; MultiCurrencyExposureSimulator simulates netting-set exposure (single- or multi-currency), and CvaApproximator turns it into CVA, DVA, bilateral and wrong-way CVA. Research lane; discretization choices stated on each class.