25#include <ql/instruments/creditdefaultswap.hpp>
27#include <ql/cashflow.hpp>
28#include <ql/currency.hpp>
29#include <ql/instrument.hpp>
38 CreditLinkedSwap(
const std::vector<Leg>& legs,
const std::vector<bool>& legPayers,
39 const std::vector<LegType>& legTypes,
const bool settlesAccrual,
const Real fixedRecoveryRate,
40 const QuantExt::CreditDefaultSwap::ProtectionPaymentTime& defaultPaymentTime,
41 const Currency& currency);
56 using engine = QuantLib::GenericEngine<arguments, results>;
std::vector< LegType > legTypes_
std::vector< bool > legPayers_
bool isExpired() const override
QuantLib::GenericEngine< arguments, results > engine
QuantExt::CreditDefaultSwap::ProtectionPaymentTime defaultPaymentTime_
void setupArguments(QuantLib::PricingEngine::arguments *) const override
std::vector< bool > legPayers
QuantExt::CreditDefaultSwap::ProtectionPaymentTime defaultPaymentTime
void validate() const override
std::vector< LegType > legTypes