47 void build(
const QuantLib::ext::shared_ptr<EngineFactory>&)
override;
Serializable obejct holding barrier data.
Serializable object holding generic trade data, reporting dimensions.
Base class for all single asset Equity Derivaties.
Serializable EQ One-Touch/No-Touch Option.
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 & type() const
bool checkBarrier(Real spot, Barrier::Type type, Real level)
const string & payoffCurrency() const
const string & calendar() const
EquityTouchOption()
Default constructor.
void build(const QuantLib::ext::shared_ptr< EngineFactory > &) override
Build QuantLib/QuantExt instrument, link pricing engine.
const string & eqIndex() const
Serializable object holding option data.
Small XML Document wrapper class.
Serializable Credit Default Swap.
trade option data model and serialization