24#ifndef quantlib_heston_expansion_engine_hpp
25#define quantlib_heston_expansion_engine_hpp
48 VanillaOption::arguments,
49 VanillaOption::results> {
Real impliedVolatility(Real strike, Real forward) const override
Base class for some pricing engine on a particular model.
Heston-model engine for European options based on analytic expansions.
const HestonExpansionFormula formula_
void calculate() const override
virtual Real impliedVolatility(Real strike, Real forward) const =0
virtual ~HestonExpansion()=default
Real z0(Real t, Real kappa, Real theta, Real delta, Real y, Real rho) const
Real impliedVolatility(Real strike, Real forward) const override
Real z2(Real t, Real kappa, Real theta, Real delta, Real y, Real rho) const
Real z1(Real t, Real kappa, Real theta, Real delta, Real y, Real rho) const
Real z3(Real t, Real kappa, Real theta, Real delta, Real y, Real rho) const
Real z0(Real t, Real kappa, Real theta, Real delta, Real y, Real rho) const
Real impliedVolatility(Real strike, Real forward) const override
Real z2(Real t, Real kappa, Real theta, Real delta, Real y, Real rho) const
Real z1(Real t, Real kappa, Real theta, Real delta, Real y, Real rho) const
Generic option engine based on a model.
Heston model for the stochastic volatility of an asset.
Vanilla option on a single asset.