29#include <ql/instruments/barriertype.hpp>
54 QuantLib::ext::shared_ptr<QuantLib::PricingEngine>
55 vanillaPricingEngine(
const QuantLib::ext::shared_ptr<EngineFactory>& ef,
const QuantLib::Date& expiryDate,
56 const QuantLib::Date& paymentDate = QuantLib::Date())
override;
57 QuantLib::ext::shared_ptr<QuantLib::PricingEngine>
58 barrierPricingEngine(
const QuantLib::ext::shared_ptr<EngineFactory>& ef,
const QuantLib::Date& expiryDate,
59 const QuantLib::Date& paymentDate = QuantLib::Date())
override;
Barrier Option data model and serialization.
Serializable obejct holding barrier data.
const BarrierData & barrier() const
const QuantLib::Date & startDate() const
const ore::data::OptionData & option() const
const QuantLib::Calendar & calendar() const
Serializable object holding generic trade data, reporting dimensions.
Serializable EQ Barrier Option.
EquityBarrierOption(Envelope &env, OptionData option, BarrierData barrier, QuantLib::Date startDate, std::string calendar, EquityUnderlying equityUnderlying, QuantLib::Currency currency, QuantLib::Real quantity, TradeStrike strike)
Constructor.
QuantLib::ext::shared_ptr< QuantLib::PricingEngine > barrierPricingEngine(const QuantLib::ext::shared_ptr< EngineFactory > &ef, const QuantLib::Date &expiryDate, const QuantLib::Date &paymentDate=QuantLib::Date()) override
EquityBarrierOption()
Default constructor.
QuantLib::ext::shared_ptr< QuantLib::PricingEngine > vanillaPricingEngine(const QuantLib::ext::shared_ptr< EngineFactory > &ef, const QuantLib::Date &expiryDate, const QuantLib::Date &paymentDate=QuantLib::Date()) override
create the pricing engines
void checkBarriers() override
check validity of barriers
const QuantLib::Real strike() override
QuantLib::Real quantity() const
Serializable object holding option data.
Serializable Credit Default Swap.
trade option data model and serialization
base trade data model and serialization