#include <qle/pricingengines/blackcdsoptionengine.hpp>
Public Member Functions | |
BlackCdsOptionEngine (const QuantLib::Handle< QuantLib::DefaultProbabilityTermStructure > &probability, QuantLib::Real recovery, const QuantLib::Handle< QuantLib::YieldTermStructure > &discount, const QuantLib::Handle< QuantExt::CreditVolCurve > &volatility) | |
Inspectors | |
const QuantLib::Handle< QuantLib::DefaultProbabilityTermStructure > & | probability () const |
QuantLib::Real | recovery () const |
const QuantLib::Handle< QuantLib::YieldTermStructure > | discount () const |
const QuantLib::Handle< QuantExt::CreditVolCurve > | volatility () const |
Instrument interface | |
QuantLib::Handle< QuantLib::DefaultProbabilityTermStructure > | probability_ |
QuantLib::Real | recovery_ |
QuantLib::Handle< QuantLib::YieldTermStructure > | discount_ |
QuantLib::Handle< QuantExt::CreditVolCurve > | volatility_ |
void | calculate () const override |
Black single name CDS option engine
Prices single name CDS option instruments quoted in terms of strike spread. It is assumed that the volatility structure's strike dimension, if there is one, is in terms of spread also. This is the standard situation for single name CDS options.
The valuation follows the approach outlined in Modeling Single-name and Multi-name Credit Derivatives, Dominic O'Kane, 2008, Section 9.3.7. This is also the approach in A CDS Option Miscellany, Richard J. Martin, 2019, Section 2.1 and 2.2. If we need the approach in Section 2.4 of that paper, we would need to make adjustments to the forward spread and RPV01 in our calculation which may in turn need access to the ISDA supplied interest rate curve. We leave that as a possible future enhancement.
Definition at line 45 of file blackcdsoptionengine.hpp.
BlackCdsOptionEngine | ( | const QuantLib::Handle< QuantLib::DefaultProbabilityTermStructure > & | probability, |
QuantLib::Real | recovery, | ||
const QuantLib::Handle< QuantLib::YieldTermStructure > & | discount, | ||
const QuantLib::Handle< QuantExt::CreditVolCurve > & | volatility | ||
) |
Definition at line 29 of file blackcdsoptionengine.cpp.
const Handle< DefaultProbabilityTermStructure > & probability | ( | ) | const |
Definition at line 38 of file blackcdsoptionengine.cpp.
Real recovery | ( | ) | const |
Definition at line 42 of file blackcdsoptionengine.cpp.
const Handle< YieldTermStructure > discount | ( | ) | const |
Definition at line 46 of file blackcdsoptionengine.cpp.
const Handle< CreditVolCurve > volatility | ( | ) | const |
Definition at line 50 of file blackcdsoptionengine.cpp.
|
override |
Definition at line 55 of file blackcdsoptionengine.cpp.
|
private |
Definition at line 66 of file blackcdsoptionengine.hpp.
|
private |
Definition at line 67 of file blackcdsoptionengine.hpp.
|
private |
Definition at line 68 of file blackcdsoptionengine.hpp.
|
private |
Definition at line 69 of file blackcdsoptionengine.hpp.