39 CreditLinkedSwap(
const std::string& creditCurveId,
const bool settlesAccrual,
const Real fixedRecoveryRate,
40 const QuantExt::CreditDefaultSwap::ProtectionPaymentTime& defaultPaymentTime,
41 const std::vector<LegData>& independentPayments,
const std::vector<LegData>& contingentPayments,
42 const std::vector<LegData>& defaultPayments,
const std::vector<LegData>& recoveryPayments)
48 void fromXML(
XMLNode* node)
override;
51 void build(
const QuantLib::ext::shared_ptr<EngineFactory>& engineFactory)
override;
53 QuantLib::Real notional()
const override;
QuantExt::CreditDefaultSwap::ProtectionPaymentTime defaultPaymentTime_
std::vector< LegData > contingentPayments_
std::string creditCurveId_
std::vector< LegData > defaultPayments_
CreditLinkedSwap(const std::string &creditCurveId, const bool settlesAccrual, const Real fixedRecoveryRate, const QuantExt::CreditDefaultSwap::ProtectionPaymentTime &defaultPaymentTime, const std::vector< LegData > &independentPayments, const std::vector< LegData > &contingentPayments, const std::vector< LegData > &defaultPayments, const std::vector< LegData > &recoveryPayments)
std::vector< LegData > recoveryPayments_
double fixedRecoveryRate_
std::vector< LegData > independentPayments_
QuantExt::CreditDefaultSwap::ProtectionPaymentTime defaultPaymentTime_
Small XML Document wrapper class.
Base class for all serializable classes.
Serializable Credit Default Swap.
base trade data model and serialization