51 void build(
const QuantLib::ext::shared_ptr<EngineFactory>&)
override;
Serializable obejct holding barrier data.
Serializable object holding generic trade data, reporting dimensions.
Serializable FX Digital Barrier Option.
FxDigitalBarrierOption()
Default constructor.
FxDigitalBarrierOption(Envelope &env, OptionData option, BarrierData barrier, double strike, double payoffAmount, const string &foreignCurrency, const string &domesticCurrency, const string &startDate="", const string &calendar="", const string &fxIndex="", const string &payoffCurrency="")
Constructor.
const BarrierData & barrier() const
const OptionData & option() const
const string & startDate() const
double payoffAmount() const
virtual void fromXML(XMLNode *node) override
virtual XMLNode * toXML(XMLDocument &doc) const override
const string & fxIndex() const
const string & payoffCurrency() const
const string & calendar() const
void build(const QuantLib::ext::shared_ptr< EngineFactory > &) override
Build QuantLib/QuantExt instrument, link pricing engine.
Base class for all single asset FX Derivaties.
const std::string & domesticCurrency() const
const std::string & foreignCurrency() const
Serializable object holding option data.
Small XML Document wrapper class.
Serializable Credit Default Swap.
trade option data model and serialization