45 const double&
multiplier = QuantExt::Null<double>())
76 const QuantLib::ext::shared_ptr<QuantExt::EquityIndex2>& equityCurve,
77 const QuantLib::ext::shared_ptr<QuantExt::FxIndex>& fxIndex =
nullptr,
78 const QuantLib::Date& openEndDateReplacement = QuantLib::Null<QuantLib::Date>());
Serializable Equity Margin Leg Data.
const vector< double > & rates() const
virtual void fromXML(ore::data::XMLNode *node) override
QuantLib::ext::shared_ptr< ore::data::EquityLegData > equityLegData_
EquityMarginLegData(QuantLib::ext::shared_ptr< ore::data::EquityLegData > &equityLegData, const vector< double > &rates, const vector< string > &rateDates=vector< string >(), const double &initialMarginFactor=QuantExt::Null< double >(), const double &multiplier=QuantExt::Null< double >())
Constructor.
const QuantLib::ext::shared_ptr< ore::data::EquityLegData > equityLegData()
double initialMarginFactor_
vector< string > rateDates_
EquityMarginLegData()
Default constructor.
const double & initialMarginFactor() const
virtual ore::data::XMLNode * toXML(ore::data::XMLDocument &doc) const override
const double & multiplier() const
const vector< string > & rateDates() const
Serializable Additional Leg Data.
Serializable object holding leg data.
Small XML Document wrapper class.
leg data model and serialization
QuantExt::Leg makeEquityMarginLeg(const LegData &data, const QuantLib::ext::shared_ptr< EquityIndex2 > &equityCurve, const QuantLib::ext::shared_ptr< QuantExt::FxIndex > &fxIndex, const QuantLib::Date &openEndDateReplacement)
Serializable Credit Default Swap.