quantlib.instruments.credit_default_swap.CreditDefaultSwap.fair_spread

CreditDefaultSwap.fair_spread

Returns the running spread that, given the quoted recovery rate, will make the running-only CDS have an NPV of 0.

Notes

This calculation does not take any upfront into account, even if one was given.