24#ifndef quantlib_analytic_heston_forward_european_engine_hpp
25#define quantlib_analytic_heston_forward_european_engine_hpp
65 VanillaOption::results> {
68 Size integrationOrder = 144);
77 ext::shared_ptr<AnalyticHestonEngine>
forwardChF(
106 Real phiRightLimit = 100)
const;
113 Real phiRightLimit = 100,
114 Real nuRightLimit = 2.0)
const;
analytic Heston-model engine
Analytic Heston engine incl. stochastic interest rates.
ext::shared_ptr< HestonProcess > process_
GaussLegendreIntegration outerIntegrator_
void calculate() const override
std::pair< Real, Real > calculateP1P2(Time t, Handle< Quote > &St, Real K, Real ratio, Real phiRightLimit=100) const
ext::shared_ptr< AnalyticHestonEngine > forwardChF(Handle< Quote > &spotReset, Real varReset) const
std::pair< Real, Real > calculateP1P2Hat(Time tenor, Time resetTime, Real K, Real ratio, Real phiRightLimit=100, Real nuRightLimit=2.0) const
Handle< YieldTermStructure > dividendYield_
Real propagator(Time resetTime, Real varReset) const
Handle< YieldTermStructure > riskFreeRate_
Gauss-Legendre integration.
template base class for option pricing engines
Shared handle to an observable.
Option exercise classes and payoff function.
Forward version of a vanilla option.
Integral of a 1-dimensional function using the Gauss quadratures.
Real Time
continuous quantity with 1-year units
std::size_t Size
size of a container
Heston model for the stochastic volatility of an asset.
Heston stochastic process.
modified Bessel functions of first and second kind