24#ifndef quantext_black_cds_option_engine_hpp
25#define quantext_black_cds_option_engine_hpp
27#include <ql/termstructures/yieldtermstructure.hpp>
49 const QuantLib::Handle<QuantLib::YieldTermStructure>&
discount,
50 const QuantLib::Handle<QuantExt::CreditVolCurve>&
volatility);
54 const QuantLib::Handle<QuantLib::DefaultProbabilityTermStructure>&
probability()
const;
56 const QuantLib::Handle<QuantLib::YieldTermStructure>
discount()
const;
57 const QuantLib::Handle<QuantExt::CreditVolCurve>
volatility()
const;
66 QuantLib::Handle<QuantLib::DefaultProbabilityTermStructure>
probability_;
68 QuantLib::Handle<QuantLib::YieldTermStructure>
discount_;
CDS option, removed requirements (rec must knock out, no upfront amount), that should be taken care o...
const QuantLib::Handle< QuantLib::YieldTermStructure > discount() const
QuantLib::Handle< QuantLib::DefaultProbabilityTermStructure > probability_
const QuantLib::Handle< QuantExt::CreditVolCurve > volatility() const
void calculate() const override
QuantLib::Real recovery() const
QuantLib::Handle< QuantLib::YieldTermStructure > discount_
QuantLib::Handle< QuantExt::CreditVolCurve > volatility_
const QuantLib::Handle< QuantLib::DefaultProbabilityTermStructure > & probability() const
base class for swaption engines