36 const string& initialFixedRate,
const vector<string>& initialPrices,
const string& fixedRate,
43 const string& initialFixedPayDate,
const bool bermudanKnockIn,
44 const bool accumulatingFixedCoupons,
const bool accruingFixedCoupons,
const bool isAveraged,
45 const string& floatingIndex,
const string& floatingSpread,
const string& floatingRateCutoff,
47 const DayCounter& floatingDayCountFraction,
const Period& floatingLookback,
48 const bool includeSpread,
const string& currency,
49 const vector<QuantLib::ext::shared_ptr<Underlying>> underlyings,
const string& knockInLevel,
50 const vector<string> fixedTriggerLevels,
const vector<string> knockOutLevels,
67 void build(
const QuantLib::ext::shared_ptr<EngineFactory>&)
override;
92 map<string, pair<ScriptedTradeEventData, string>>
schedules_;
CommodityWorstOfBasketSwap()
Serializable object holding generic trade data, reporting dimensions.
EquityWorstOfBasketSwap()
const string & tradeType() const
bool accumulatingFixedCoupons_
vector< QuantLib::ext::shared_ptr< Underlying > > underlyings_
vector< string > initialPrices_
void setIsdaTaxonomyFields() override
vector< string > fixedTriggerLevels_
map< string, pair< ScriptedTradeEventData, string > > schedules_
string floatingRateCutoff_
ScriptedTradeEventData floatingPeriodSchedule_
vector< string > knockOutLevels_
ScriptedTradeEventData fixedDeterminationSchedule_
string initialFixedPayDate_
ScriptedTradeEventData floatingFixingSchedule_
void fromXML(XMLNode *node) override
ScriptedTradeEventData fixedAccrualSchedule_
XMLNode * toXML(XMLDocument &doc) const override
ScriptedTradeEventData floatingPayDates_
DayCounter floatingDayCountFraction_
bool accruingFixedCoupons_
WorstOfBasketSwap(const string &tradeType="WorstOfBasketSwap")
ScriptedTradeEventData knockOutDeterminationSchedule_
WorstOfBasketSwap(const Envelope &env, const string &longShort, const string &quantity, const string &strike, const string &initialFixedRate, const vector< string > &initialPrices, const string &fixedRate, const ScriptedTradeEventData &floatingPeriodSchedule, const ScriptedTradeEventData &floatingFixingSchedule, const ScriptedTradeEventData &fixedDeterminationSchedule, const ScriptedTradeEventData &floatingPayDates, const ScriptedTradeEventData &fixedPayDates, const ScriptedTradeEventData &knockOutDeterminationSchedule, const ScriptedTradeEventData &knockInDeterminationSchedule, const string &knockInPayDate, const string &initialFixedPayDate, const bool bermudanKnockIn, const bool accumulatingFixedCoupons, const bool accruingFixedCoupons, const bool isAveraged, const string &floatingIndex, const string &floatingSpread, const string &floatingRateCutoff, const DayCounter &floatingDayCountFraction, const Period &floatingLookback, const bool includeSpread, const string ¤cy, const vector< QuantLib::ext::shared_ptr< Underlying > > underlyings, const string &knockInLevel, const vector< string > fixedTriggerLevels, const vector< string > knockOutLevels, const ScriptedTradeEventData &fixedAccrualSchedule)
ScriptedTradeEventData fixedPayDates_
void build(const QuantLib::ext::shared_ptr< EngineFactory > &) override
ScriptedTradeEventData knockInDeterminationSchedule_
Small XML Document wrapper class.
Serializable Credit Default Swap.
scripted trade data model
base trade data model and serialization