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
MakeFdBlackScholesVanillaEngine Class Reference

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

+ Collaboration diagram for MakeFdBlackScholesVanillaEngine:

Public Member Functions

 MakeFdBlackScholesVanillaEngine (ext::shared_ptr< GeneralizedBlackScholesProcess > process)
 
MakeFdBlackScholesVanillaEnginewithQuantoHelper (const ext::shared_ptr< FdmQuantoHelper > &quantoHelper)
 
MakeFdBlackScholesVanillaEnginewithTGrid (Size tGrid)
 
MakeFdBlackScholesVanillaEnginewithXGrid (Size xGrid)
 
MakeFdBlackScholesVanillaEnginewithDampingSteps (Size dampingSteps)
 
MakeFdBlackScholesVanillaEnginewithFdmSchemeDesc (const FdmSchemeDesc &schemeDesc)
 
MakeFdBlackScholesVanillaEnginewithLocalVol (bool localVol)
 
MakeFdBlackScholesVanillaEnginewithIllegalLocalVolOverwrite (Real illegalLocalVolOverwrite)
 
MakeFdBlackScholesVanillaEnginewithCashDividends (const std::vector< Date > &dividendDates, const std::vector< Real > &dividendAmounts)
 
MakeFdBlackScholesVanillaEnginewithCashDividendModel (FdBlackScholesVanillaEngine::CashDividendModel cashDividendModel)
 
 operator ext::shared_ptr< PricingEngine > () const
 

Private Attributes

ext::shared_ptr< GeneralizedBlackScholesProcessprocess_
 
DividendSchedule dividends_
 
bool explicitDividends_ = false
 
Size tGrid_ = 100
 
Size xGrid_ = 100
 
Size dampingSteps_ = 0
 
ext::shared_ptr< FdmSchemeDescschemeDesc_
 
bool localVol_ = false
 
Real illegalLocalVolOverwrite_
 
ext::shared_ptr< FdmQuantoHelperquantoHelper_
 
FdBlackScholesVanillaEngine::CashDividendModel cashDividendModel_ = FdBlackScholesVanillaEngine::Spot
 

Detailed Description

Definition at line 111 of file fdblackscholesvanillaengine.hpp.

Constructor & Destructor Documentation

◆ MakeFdBlackScholesVanillaEngine()

MakeFdBlackScholesVanillaEngine ( ext::shared_ptr< GeneralizedBlackScholesProcess process)
explicit

Definition at line 218 of file fdblackscholesvanillaengine.cpp.

Member Function Documentation

◆ withQuantoHelper()

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

Definition at line 225 of file fdblackscholesvanillaengine.cpp.

◆ withTGrid()

MakeFdBlackScholesVanillaEngine & withTGrid ( Size  tGrid)

Definition at line 232 of file fdblackscholesvanillaengine.cpp.

◆ withXGrid()

MakeFdBlackScholesVanillaEngine & withXGrid ( Size  xGrid)

Definition at line 238 of file fdblackscholesvanillaengine.cpp.

◆ withDampingSteps()

MakeFdBlackScholesVanillaEngine & withDampingSteps ( Size  dampingSteps)

Definition at line 244 of file fdblackscholesvanillaengine.cpp.

◆ withFdmSchemeDesc()

MakeFdBlackScholesVanillaEngine & withFdmSchemeDesc ( const FdmSchemeDesc schemeDesc)

Definition at line 250 of file fdblackscholesvanillaengine.cpp.

◆ withLocalVol()

MakeFdBlackScholesVanillaEngine & withLocalVol ( bool  localVol)

Definition at line 257 of file fdblackscholesvanillaengine.cpp.

◆ withIllegalLocalVolOverwrite()

MakeFdBlackScholesVanillaEngine & withIllegalLocalVolOverwrite ( Real  illegalLocalVolOverwrite)

Definition at line 263 of file fdblackscholesvanillaengine.cpp.

◆ withCashDividends()

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

Definition at line 270 of file fdblackscholesvanillaengine.cpp.

+ Here is the call graph for this function:

◆ withCashDividendModel()

Definition at line 279 of file fdblackscholesvanillaengine.cpp.

◆ operator ext::shared_ptr< PricingEngine >()

operator ext::shared_ptr< PricingEngine > ( ) const

Definition at line 285 of file fdblackscholesvanillaengine.cpp.

Member Data Documentation

◆ process_

ext::shared_ptr<GeneralizedBlackScholesProcess> process_
private

Definition at line 140 of file fdblackscholesvanillaengine.hpp.

◆ dividends_

DividendSchedule dividends_
private

Definition at line 141 of file fdblackscholesvanillaengine.hpp.

◆ explicitDividends_

bool explicitDividends_ = false
private

Definition at line 142 of file fdblackscholesvanillaengine.hpp.

◆ tGrid_

Size tGrid_ = 100
private

Definition at line 143 of file fdblackscholesvanillaengine.hpp.

◆ xGrid_

Size xGrid_ = 100
private

Definition at line 143 of file fdblackscholesvanillaengine.hpp.

◆ dampingSteps_

Size dampingSteps_ = 0
private

Definition at line 143 of file fdblackscholesvanillaengine.hpp.

◆ schemeDesc_

ext::shared_ptr<FdmSchemeDesc> schemeDesc_
private

Definition at line 144 of file fdblackscholesvanillaengine.hpp.

◆ localVol_

bool localVol_ = false
private

Definition at line 145 of file fdblackscholesvanillaengine.hpp.

◆ illegalLocalVolOverwrite_

Real illegalLocalVolOverwrite_
private

Definition at line 146 of file fdblackscholesvanillaengine.hpp.

◆ quantoHelper_

ext::shared_ptr<FdmQuantoHelper> quantoHelper_
private

Definition at line 147 of file fdblackscholesvanillaengine.hpp.

◆ cashDividendModel_

Definition at line 148 of file fdblackscholesvanillaengine.hpp.