49 double attachmentPoint,
double detachmentPoint,
const bool settlesAccrual =
true,
50 const QuantExt::CreditDefaultSwap::ProtectionPaymentTime protectionPaymentTime =
51 QuantExt::CreditDefaultSwap::ProtectionPaymentTime::atDefault,
52 const string& protectionStart =
string(),
const string& upfrontDate =
string(),
53 const Real upfrontFee = Null<Real>(),
const bool rebatesAccrual =
true, Real
recoveryRate = Null<Real>())
60 virtual void build(
const QuantLib::ext::shared_ptr<EngineFactory>&)
override;
80 virtual void fromXML(
XMLNode* node)
override;
84 extractTimeGridDefaultCurve(
const QuantLib::Handle<QuantLib::DefaultProbabilityTermStructure>& dpts);
85 QuantLib::Handle<QuantLib::DefaultProbabilityTermStructure>
static buildCalibratedConstiuentCurve(
86 const QuantLib::Handle<QuantLib::DefaultProbabilityTermStructure>& curve,
87 const QuantLib::ext::shared_ptr<SimpleQuote>& calibrationFactor);
92 std::string creditCurveIdWithTerm()
const;
credit basket data model and serialization
QuantLib::CreditDefaultSwap::ProtectionPaymentTime protectionPaymentTime_
Real recoveryRate() const
Serializable object holding generic trade data, reporting dimensions.
Serializable object holding leg data.
bool useSensitivitySimplification() const
bool isIndexTranche() const
QuantExt::CreditDefaultSwap::ProtectionPaymentTime protectionPaymentTime_
const double & attachmentPoint() const
const string & upfrontDate() const
const string & protectionStart() const
bool useSensitivitySimplification_
void setIndexStartDateHint(const QuantLib::Date &d) const
QuantLib::Date indexStartDateHint_
const double & detachmentPoint() const
const LegData & leg() const
const string & qualifier() const
Inspectors.
const Real & recoveryRate() const
SyntheticCDO(const Envelope &env, const LegData &leg, const string &qualifier, const BasketData &basketData, double attachmentPoint, double detachmentPoint, const bool settlesAccrual=true, const QuantExt::CreditDefaultSwap::ProtectionPaymentTime protectionPaymentTime=QuantExt::CreditDefaultSwap::ProtectionPaymentTime::atDefault, const string &protectionStart=string(), const string &upfrontDate=string(), const Real upfrontFee=Null< Real >(), const bool rebatesAccrual=true, Real recoveryRate=Null< Real >())
const std::map< std::string, Real > & basketConstituents() const
bool settlesAccrual() const
const BasketData & basketData() const
QuantExt::CreditDefaultSwap::ProtectionPaymentTime protectionPaymentTime() const
const QuantLib::Date & indexStartDateHint() const
const double & upfrontFee() const
std::map< std::string, double > basketConstituents_
bool rebatesAccrual() const
Small XML Document wrapper class.
leg data model and serialization
Serializable Credit Default Swap.
Reference data model and serialization.
base trade data model and serialization