52 void build(
const QuantLib::ext::shared_ptr<EngineFactory>&)
override;
Serializable object holding generic trade data, reporting dimensions.
double soldAmount() const
const string & soldCurrency() const
virtual void fromXML(XMLNode *node) override
virtual XMLNode * toXML(XMLDocument &doc) const override
FxOption(const Envelope &env, const OptionData &option, const string &boughtCurrency, double boughtAmount, const string &soldCurrency, double soldAmount, const std::string &fxIndex="")
Constructor.
std::string fxIndex_
If the option has automatic exercise, need an FX index for settlement.
const string & boughtCurrency() const
FxOption()
Default constructor.
const std::string & fxIndex() const
double boughtAmount() const
void build(const QuantLib::ext::shared_ptr< EngineFactory > &) override
Build QuantLib/QuantExt instrument, link pricing engine.
Serializable object holding option data.
QuantLib::Real value() const
Serializable Vanilla Option.
const OptionData & option() const
Small XML Document wrapper class.
Serializable Credit Default Swap.
vanilla option representation