42 QuantLib::Real
soldAmount,
string fxIndex =
"")
49 QuantLib::ext::shared_ptr<QuantLib::PricingEngine>
50 vanillaPricingEngine(
const QuantLib::ext::shared_ptr<EngineFactory>& ef,
const QuantLib::Date& expiryDate,
51 const QuantLib::Date& paymentDate = QuantLib::Date())
override;
52 QuantLib::ext::shared_ptr<QuantLib::PricingEngine>
53 barrierPricingEngine(
const QuantLib::ext::shared_ptr<EngineFactory>& ef,
const QuantLib::Date& expiryDate,
54 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 FX Double Barrier Option.
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
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
FxDoubleBarrierOption(Envelope &env, OptionData option, BarrierData barrier, QuantLib::Date startDate, string calendar, string boughtCurrency, QuantLib::Real boughtAmount, string soldCurrency, QuantLib::Real soldAmount, string fxIndex="")
Constructor.
FxDoubleBarrierOption()
Default constructor.
void checkBarriers() override
check validity of barriers
QuantLib::Real boughtAmount() const
QuantLib::Real soldAmount() const
const std::string & soldCurrency() const
const std::string & boughtCurrency() const
Serializable object holding option data.
Serializable Credit Default Swap.