48 void build(
const QuantLib::ext::shared_ptr<EngineFactory>&)
override;
Serializable obejct holding barrier data.
Serializable object holding generic trade data, reporting dimensions.
Serializable FX Double One-Touch/No-Touch Option.
const BarrierData & barrier() const
const OptionData & option() const
FxDoubleTouchOption()
Default constructor.
const string & startDate() const
double payoffAmount() const
virtual void fromXML(XMLNode *node) override
virtual XMLNode * toXML(XMLDocument &doc) const override
const string & type() const
const string & fxIndex() const
bool checkBarrier(Real spot, Barrier::Type type, Real level)
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
base trade data model and serialization