24#ifndef quantlib_compound_option_hpp
25#define quantlib_compound_option_hpp
42 CompoundOption(
const ext::shared_ptr<StrikedTypePayoff>& motherPayoff,
43 const ext::shared_ptr<Exercise>& motherExercise,
44 ext::shared_ptr<StrikedTypePayoff> daughterPayoff,
45 ext::shared_ptr<Exercise> daughterExercise);
62 CompoundOption::results> {};
ext::shared_ptr< Exercise > daughterExercise
ext::shared_ptr< StrikedTypePayoff > daughterPayoff
void validate() const override
Compound-option engine base class
Compound option (i.e., option on option) on a single asset.
void setupArguments(PricingEngine::arguments *) const override
ext::shared_ptr< Exercise > daughterExercise_
ext::shared_ptr< StrikedTypePayoff > daughterPayoff_
template base class for option pricing engines
Base class for options on a single asset.
Option exercise classes and payoff function.
Option on a single asset.
Payoffs for various options.