QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
MakeFdHestonVanillaEngine Class Reference

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

+ Collaboration diagram for MakeFdHestonVanillaEngine:

Public Member Functions

 MakeFdHestonVanillaEngine (ext::shared_ptr< HestonModel > hestonModel)
 
MakeFdHestonVanillaEnginewithQuantoHelper (const ext::shared_ptr< FdmQuantoHelper > &quantoHelper)
 
MakeFdHestonVanillaEnginewithTGrid (Size tGrid)
 
MakeFdHestonVanillaEnginewithXGrid (Size xGrid)
 
MakeFdHestonVanillaEnginewithVGrid (Size vGrid)
 
MakeFdHestonVanillaEnginewithDampingSteps (Size dampingSteps)
 
MakeFdHestonVanillaEnginewithFdmSchemeDesc (const FdmSchemeDesc &schemeDesc)
 
MakeFdHestonVanillaEnginewithLeverageFunction (ext::shared_ptr< LocalVolTermStructure > &leverageFct)
 
MakeFdHestonVanillaEnginewithCashDividends (const std::vector< Date > &dividendDates, const std::vector< Real > &dividendAmounts)
 
 operator ext::shared_ptr< PricingEngine > () const
 

Private Attributes

ext::shared_ptr< HestonModelhestonModel_
 
DividendSchedule dividends_
 
bool explicitDividends_ = false
 
Size tGrid_ = 100
 
Size xGrid_ = 100
 
Size vGrid_ = 50
 
Size dampingSteps_ = 0
 
ext::shared_ptr< FdmSchemeDescschemeDesc_
 
ext::shared_ptr< LocalVolTermStructureleverageFct_
 
ext::shared_ptr< FdmQuantoHelperquantoHelper_
 

Detailed Description

Definition at line 122 of file fdhestonvanillaengine.hpp.

Constructor & Destructor Documentation

◆ MakeFdHestonVanillaEngine()

MakeFdHestonVanillaEngine ( ext::shared_ptr< HestonModel hestonModel)
explicit

Definition at line 265 of file fdhestonvanillaengine.cpp.

Member Function Documentation

◆ withQuantoHelper()

MakeFdHestonVanillaEngine & withQuantoHelper ( const ext::shared_ptr< FdmQuantoHelper > &  quantoHelper)

Definition at line 269 of file fdhestonvanillaengine.cpp.

◆ withTGrid()

MakeFdHestonVanillaEngine & withTGrid ( Size  tGrid)

Definition at line 276 of file fdhestonvanillaengine.cpp.

◆ withXGrid()

MakeFdHestonVanillaEngine & withXGrid ( Size  xGrid)

Definition at line 282 of file fdhestonvanillaengine.cpp.

◆ withVGrid()

MakeFdHestonVanillaEngine & withVGrid ( Size  vGrid)

Definition at line 288 of file fdhestonvanillaengine.cpp.

◆ withDampingSteps()

MakeFdHestonVanillaEngine & withDampingSteps ( Size  dampingSteps)

Definition at line 294 of file fdhestonvanillaengine.cpp.

◆ withFdmSchemeDesc()

MakeFdHestonVanillaEngine & withFdmSchemeDesc ( const FdmSchemeDesc schemeDesc)

Definition at line 300 of file fdhestonvanillaengine.cpp.

◆ withLeverageFunction()

MakeFdHestonVanillaEngine & withLeverageFunction ( ext::shared_ptr< LocalVolTermStructure > &  leverageFct)

Definition at line 307 of file fdhestonvanillaengine.cpp.

◆ withCashDividends()

MakeFdHestonVanillaEngine & withCashDividends ( const std::vector< Date > &  dividendDates,
const std::vector< Real > &  dividendAmounts 
)

Definition at line 314 of file fdhestonvanillaengine.cpp.

+ Here is the call graph for this function:

◆ operator ext::shared_ptr< PricingEngine >()

operator ext::shared_ptr< PricingEngine > ( ) const

Definition at line 322 of file fdhestonvanillaengine.cpp.

Member Data Documentation

◆ hestonModel_

ext::shared_ptr<HestonModel> hestonModel_
private

Definition at line 148 of file fdhestonvanillaengine.hpp.

◆ dividends_

DividendSchedule dividends_
private

Definition at line 149 of file fdhestonvanillaengine.hpp.

◆ explicitDividends_

bool explicitDividends_ = false
private

Definition at line 150 of file fdhestonvanillaengine.hpp.

◆ tGrid_

Size tGrid_ = 100
private

Definition at line 151 of file fdhestonvanillaengine.hpp.

◆ xGrid_

Size xGrid_ = 100
private

Definition at line 151 of file fdhestonvanillaengine.hpp.

◆ vGrid_

Size vGrid_ = 50
private

Definition at line 151 of file fdhestonvanillaengine.hpp.

◆ dampingSteps_

Size dampingSteps_ = 0
private

Definition at line 151 of file fdhestonvanillaengine.hpp.

◆ schemeDesc_

ext::shared_ptr<FdmSchemeDesc> schemeDesc_
private

Definition at line 152 of file fdhestonvanillaengine.hpp.

◆ leverageFct_

ext::shared_ptr<LocalVolTermStructure> leverageFct_
private

Definition at line 153 of file fdhestonvanillaengine.hpp.

◆ quantoHelper_

ext::shared_ptr<FdmQuantoHelper> quantoHelper_
private

Definition at line 154 of file fdhestonvanillaengine.hpp.