38 const string& currency,
const string& cap,
const string& floor,
const string& settlementDate,
39 const ScheduleData& valuationSchedule,
bool squaredPayoff,
40 const vector<QuantLib::ext::shared_ptr<Underlying>> underlyings)
46 void build(
const QuantLib::ext::shared_ptr<EngineFactory>&)
override;
vector< QuantLib::ext::shared_ptr< Underlying > > underlyings_
BasketVarianceSwap(const string &tradeType="BasketVarianceSwap")
ScheduleData valuationSchedule_
void setIsdaTaxonomyFields() override
void fromXML(XMLNode *node) override
XMLNode * toXML(XMLDocument &doc) const override
BasketVarianceSwap(const Envelope &env, const string &longShort, const string ¬ional, const string &strike, const string ¤cy, const string &cap, const string &floor, const string &settlementDate, const ScheduleData &valuationSchedule, bool squaredPayoff, const vector< QuantLib::ext::shared_ptr< Underlying > > underlyings)
void build(const QuantLib::ext::shared_ptr< EngineFactory > &) override
CommodityBasketVarianceSwap()
Serializable object holding generic trade data, reporting dimensions.
EquityBasketVarianceSwap()
Serializable schedule data.
QuantLib::Real notional() const override
Return the current notional in npvCurrency. See individual sub-classes for the precise definition.
const string & tradeType() const
Small XML Document wrapper class.
Serializable Credit Default Swap.
scripted trade data model
base trade data model and serialization