25 CreditDefaultSwap::setupArguments(args);
27 QL_REQUIRE(
arguments != 0,
"wrong argument type");
31QuantLib::ext::shared_ptr<PricingEngine>
33 const Handle<YieldTermStructure>& d, PricingModel model)
const {
34 return QuantLib::ext::make_shared<MidPointIndexCdsEngine>(p, r, d,
true);
std::vector< Real > underlyingNotionals
void setupArguments(PricingEngine::arguments *) const override
std::vector< Real > underlyingNotionals_
virtual QuantLib::ext::shared_ptr< PricingEngine > buildPricingEngine(const Handle< DefaultProbabilityTermStructure > &p, Real r, const Handle< YieldTermStructure > &d, PricingModel model=Midpoint) const override
Index Credit default swap.
Mid-point engine for credit default swaps.