30#include <ql/instruments/averagetype.hpp>
46 const std::string& currency)
52 void build(
const QuantLib::ext::shared_ptr<EngineFactory>&)
override;
55 QuantLib::Real
notional()
const override;
81 std::map<AssetClass, std::set<std::string>>
82 underlyingIndices(
const QuantLib::ext::shared_ptr<ReferenceDataManager>& referenceDataManager =
nullptr)
const override;
Serializable Asian Option.
const OptionData & option() const
const QuantLib::ext::shared_ptr< Underlying > & underlying() const
AsianOption(const string &tradeType)
QuantLib::ext::shared_ptr< Trade > delegatingBuilderTrade_
std::map< AssetClass, std::set< std::string > > underlyingIndices(const QuantLib::ext::shared_ptr< ReferenceDataManager > &referenceDataManager=nullptr) const override
const Date & settlementDate() const
QuantLib::Real notional() const override
Trade interface.
virtual void fromXML(XMLNode *node) override
QuantLib::ext::shared_ptr< Underlying > underlying_
virtual XMLNode * toXML(XMLDocument &doc) const override
AsianOption(const Envelope &env, const string &tradeType, const double quantity, const TradeStrike &strike, const OptionData &option, const ScheduleData &observationDates, const QuantLib::ext::shared_ptr< Underlying > &underlying, const Date &settlementDate, const std::string ¤cy)
const string & asset() const
ScheduleData observationDates_
const string & indexName() const
const string & payCurrency() const
string notionalCurrency() const override
const TradeStrike & strike() const
void build(const QuantLib::ext::shared_ptr< EngineFactory > &) override
Build QuantLib/QuantExt instrument, link pricing engine.
void populateIndexName() const
const ScheduleData & observationDates() const
Serializable object holding generic trade data, reporting dimensions.
Serializable object holding option data.
Serializable schedule data.
const string & tradeType() const
Small XML Document wrapper class.
Serializable Credit Default Swap.
trade option data model and serialization
Map text representations to QuantLib/QuantExt types.
base trade data model and serialization