43 :
Trade(
"FxAverageForward", env),
50 void build(
const QuantLib::ext::shared_ptr<EngineFactory>&)
override;
71 const std::map<std::string,boost::any>&
additionalData()
const override;
Asian option representation.
Serializable object holding generic trade data, reporting dimensions.
Serializable Fx Average Forward.
FxAverageForward()
Default constructor.
string settlementCurrency_
const string & referenceCurrency() const
string referenceCurrency_
const string & settlement() const
virtual void fromXML(XMLNode *node) override
virtual XMLNode * toXML(XMLDocument &doc) const override
double referenceNotional() const
double settlementNotional() const
const string & paymentDate() const
double referenceNotional_
ScheduleData observationDates_
double settlementNotional_
FxAverageForward(const Envelope &env, const ScheduleData &observationDates, const string &paymentDate, bool fixedPayer, const std::string &referenceCurrency, double referenceNotional, const std::string settlementCurrency, double settlementNotional, const std::string &fxIndex, const string &settlement="Cash")
Constructor.
std::string fxIndex_
Needed for past fixings.
const string & settlementCurrency() const
const std::string & fxIndex() const
void build(const QuantLib::ext::shared_ptr< EngineFactory > &) override
Build QuantLib/QuantExt instrument, link pricing engine.
const std::map< std::string, boost::any > & additionalData() const override
returns all additional data returned by the trade once built
const ScheduleData & observationDates() const
Serializable schedule data.
Small XML Document wrapper class.
Serializable Credit Default Swap.