24#ifndef quantext_lgm_cdsoptionengine_hpp
25#define quantext_lgm_cdsoptionengine_hpp
37 const Real recoveryRate,
38 const Handle<YieldTermStructure>& termStructure = Handle<YieldTermStructure>());
42 Real
Ei(
const Real w,
const Real strike,
const Size i)
const;
44 const QuantLib::ext::shared_ptr<CrossAssetModel>
model_;
CDS option, removed requirements (rec must knock out, no upfront amount), that should be taken care o...
void calculate() const override
Real Ei(const Real w, const Real strike, const Size i) const
Real lambdaStarHelper(const Real lambda) const
const QuantLib::ext::shared_ptr< CrossAssetModel > model_
const Handle< YieldTermStructure > termStructure_
base class for swaption engines