29#include <ql/termstructures/defaulttermstructure.hpp>
40 const std::string& baseCcy,
const std::map<std::string, Handle<YieldTermStructure>>& discountCurves,
41 const std::map<std::string, Handle<Quote>>& fxSpots,
const QuantLib::ext::shared_ptr<QuantExt::LinearGaussMarkovModel>&
model,
42 const Real sy,
const Size ny,
const Real sx,
const Size nx,
const Handle<YieldTermStructure>& treasuryCurve,
43 const Handle<DefaultProbabilityTermStructure>& defaultCurve,
const Handle<Quote>& recoveryRate,
44 const Size timeStepsPerYear);
49 mutable std::map<std::string, Handle<Quote>>
fxSpots_;
const boost::shared_ptr< LinearGaussMarkovModel > & model() const
void calculate() const override
std::map< std::string, Handle< Quote > > fxSpots_
std::map< std::string, Handle< YieldTermStructure > > discountCurves_
Handle< YieldTermStructure > treasuryCurve_
Handle< DefaultProbabilityTermStructure > defaultCurve_
QuantExt::RandomVariable computePayoff() const
Handle< Quote > recoveryRate_
Serializable Credit Default Swap.