#include <qle/instruments/creditlinkedswap.hpp>
Definition at line 34 of file creditlinkedswap.hpp.
◆ results
◆ engine
◆ LegType
Enumerator |
---|
IndependentPayments | |
ContingentPayments | |
DefaultPayments | |
RecoveryPayments | |
Definition at line 36 of file creditlinkedswap.hpp.
◆ CreditLinkedSwap()
CreditLinkedSwap |
( |
const std::vector< Leg > & |
legs, |
|
|
const std::vector< bool > & |
legPayers, |
|
|
const std::vector< LegType > & |
legTypes, |
|
|
const bool |
settlesAccrual, |
|
|
const Real |
fixedRecoveryRate, |
|
|
const QuantExt::CreditDefaultSwap::ProtectionPaymentTime & |
defaultPaymentTime, |
|
|
const Currency & |
currency |
|
) |
| |
Definition at line 25 of file creditlinkedswap.cpp.
33 << ") must match legPayers size ("
35 QL_REQUIRE(
legs_.size() ==
legTypes_.size(),
"CreditLinkedSwap: legs size (" <<
legs_.size()
36 << ") must match legTypes size ("
38}
std::vector< LegType > legTypes_
std::vector< bool > legPayers_
QuantExt::CreditDefaultSwap::ProtectionPaymentTime defaultPaymentTime_
◆ isExpired()
◆ setupArguments()
Definition at line 42 of file creditlinkedswap.cpp.
42 {
43 CreditLinkedSwap::arguments* a = dynamic_cast<CreditLinkedSwap::arguments*>(args);
44 QL_REQUIRE(a != nullptr, "CreditLinkedSwap::setupArguments(): wrong argument type");
53}
◆ maturity()
◆ legs_
◆ legPayers_
std::vector<bool> legPayers_ |
|
private |
◆ legTypes_
◆ settlesAccrual_
◆ fixedRecoveryRate_
◆ defaultPaymentTime_
QuantExt::CreditDefaultSwap::ProtectionPaymentTime defaultPaymentTime_ |
|
private |
◆ currency_