QuantLib_FdHestonVanillaEngine man page

FdHestonVanillaEngine — Finite-Differences Heston Vanilla Option engine.


#include <ql/pricingengines/vanilla/fdhestonvanillaengine.hpp>

Inherits GenericModelEngine< HestonModel, DividendVanillaOption::arguments, DividendVanillaOption::results >.

Public Member Functions

FdHestonVanillaEngine (const boost::shared_ptr< HestonModel > &model, Size tGrid=100, Size xGrid=100, Size vGrid=50, Size dampingSteps=0, const FdmSchemeDesc &schemeDesc=FdmSchemeDesc::Hundsdorfer(), const boost::shared_ptr< LocalVolTermStructure > &leverageFct=boost::shared_ptr< LocalVolTermStructure >())

void calculate () const

void update ()

void enableMultipleStrikesCaching (const std::vector< Real > &strikes)

FdmSolverDesc getSolverDesc (Real equityScaleFactor) const

Additional Inherited Members

Detailed Description

Finite-Differences Heston Vanilla Option engine.


the correctness of the returned value is tested by reproducing results available in web/literature and comparison with Black pricing.

Member Function Documentation

void update () [virtual]

This method must be implemented in derived classes. An instance of Observer does not call this method directly: instead, it will be called by the observables the instance registered with when they need to notify any changes.

Implements Observer.


Generated automatically by Doxygen for QuantLib from the source code.

Referenced By

FdHestonVanillaEngine(3) and getSolverDesc(3) are aliases of QuantLib_FdHestonVanillaEngine(3).

QuantLib Version 1.8.1 Fri Sep 23 2016