26#ifndef quantlib_lookback_option_hpp
27#define quantlib_lookback_option_hpp
43 const ext::shared_ptr<TypePayoff>&
payoff,
44 const ext::shared_ptr<Exercise>&
exercise);
60 const ext::shared_ptr<StrikedTypePayoff>&
payoff,
61 const ext::shared_ptr<Exercise>&
exercise);
91 Date lookbackPeriodEnd,
92 const ext::shared_ptr<TypePayoff>&
payoff,
93 const ext::shared_ptr<Exercise>&
exercise);
127 Date lookbackPeriodStart,
128 const ext::shared_ptr<StrikedTypePayoff>&
payoff,
129 const ext::shared_ptr<Exercise>&
exercise);
139 :
public OneAssetOption::arguments {
147 :
public OneAssetOption::arguments {
172 :
public GenericEngine<ContinuousFloatingLookbackOption::arguments,
173 ContinuousFloatingLookbackOption::results> {};
177 :
public GenericEngine<ContinuousFixedLookbackOption::arguments,
178 ContinuousFixedLookbackOption::results> {};
182 :
public GenericEngine<ContinuousPartialFloatingLookbackOption::arguments,
183 ContinuousPartialFloatingLookbackOption::results> {};
187 :
public GenericEngine<ContinuousPartialFixedLookbackOption::arguments,
188 ContinuousPartialFixedLookbackOption::results> {};
Arguments for continuous fixed lookback option calculation
void validate() const override
Continuous fixed lookback engine base class
Continuous-fixed lookback option.
void setupArguments(PricingEngine::arguments *) const override
Arguments for continuous floating lookback option calculation
void validate() const override
Continuous floating lookback engine base class
Continuous-floating lookback option.
void setupArguments(PricingEngine::arguments *) const override
Arguments for continuous partial fixed lookback option calculation
void validate() const override
Continuous partial fixed lookback engine base class
Continuous-partial-fixed lookback option.
void setupArguments(PricingEngine::arguments *) const override
Date lookbackPeriodStart_
Arguments for continuous partial floating lookback option calculation
void validate() const override
Continuous partial floating lookback engine base class
Continuous-partial-floating lookback option.
void setupArguments(PricingEngine::arguments *) const override
template base class for option pricing engines
Base class for options on a single asset.
ext::shared_ptr< Payoff > payoff() const
ext::shared_ptr< Exercise > exercise() const
Option exercise classes and payoff function.
Option on a single asset.
Payoffs for various options.