24#ifndef quantlib_variance_option_hpp
25#define quantlib_variance_option_hpp
57 ext::shared_ptr<Payoff>
payoff()
const;
87 VarianceOption::results> {};
template base class for option pricing engines
Abstract instrument class.
template class providing a null value for a given type.
Arguments for forward fair-variance calculation
void validate() const override
ext::shared_ptr< Payoff > payoff
base class for variance-option engines
Results from variance-option calculation
bool isExpired() const override
returns whether the instrument might have value greater than zero.
ext::shared_ptr< Payoff > payoff_
ext::shared_ptr< Payoff > payoff() const
void setupArguments(PricingEngine::arguments *args) const override
Date maturityDate() const
Payoffs for various options.