QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
|
#include <ql/pricingengines/vanilla/fdblackscholesvanillaengine.hpp>
Public Member Functions | |
MakeFdBlackScholesVanillaEngine (ext::shared_ptr< GeneralizedBlackScholesProcess > process) | |
MakeFdBlackScholesVanillaEngine & | withQuantoHelper (const ext::shared_ptr< FdmQuantoHelper > &quantoHelper) |
MakeFdBlackScholesVanillaEngine & | withTGrid (Size tGrid) |
MakeFdBlackScholesVanillaEngine & | withXGrid (Size xGrid) |
MakeFdBlackScholesVanillaEngine & | withDampingSteps (Size dampingSteps) |
MakeFdBlackScholesVanillaEngine & | withFdmSchemeDesc (const FdmSchemeDesc &schemeDesc) |
MakeFdBlackScholesVanillaEngine & | withLocalVol (bool localVol) |
MakeFdBlackScholesVanillaEngine & | withIllegalLocalVolOverwrite (Real illegalLocalVolOverwrite) |
MakeFdBlackScholesVanillaEngine & | withCashDividends (const std::vector< Date > ÷ndDates, const std::vector< Real > ÷ndAmounts) |
MakeFdBlackScholesVanillaEngine & | withCashDividendModel (FdBlackScholesVanillaEngine::CashDividendModel cashDividendModel) |
operator ext::shared_ptr< PricingEngine > () const | |
Private Attributes | |
ext::shared_ptr< GeneralizedBlackScholesProcess > | process_ |
DividendSchedule | dividends_ |
bool | explicitDividends_ = false |
Size | tGrid_ = 100 |
Size | xGrid_ = 100 |
Size | dampingSteps_ = 0 |
ext::shared_ptr< FdmSchemeDesc > | schemeDesc_ |
bool | localVol_ = false |
Real | illegalLocalVolOverwrite_ |
ext::shared_ptr< FdmQuantoHelper > | quantoHelper_ |
FdBlackScholesVanillaEngine::CashDividendModel | cashDividendModel_ = FdBlackScholesVanillaEngine::Spot |
Definition at line 111 of file fdblackscholesvanillaengine.hpp.
|
explicit |
Definition at line 218 of file fdblackscholesvanillaengine.cpp.
MakeFdBlackScholesVanillaEngine & withQuantoHelper | ( | const ext::shared_ptr< FdmQuantoHelper > & | quantoHelper | ) |
Definition at line 225 of file fdblackscholesvanillaengine.cpp.
MakeFdBlackScholesVanillaEngine & withTGrid | ( | Size | tGrid | ) |
Definition at line 232 of file fdblackscholesvanillaengine.cpp.
MakeFdBlackScholesVanillaEngine & withXGrid | ( | Size | xGrid | ) |
Definition at line 238 of file fdblackscholesvanillaengine.cpp.
MakeFdBlackScholesVanillaEngine & withDampingSteps | ( | Size | dampingSteps | ) |
Definition at line 244 of file fdblackscholesvanillaengine.cpp.
MakeFdBlackScholesVanillaEngine & withFdmSchemeDesc | ( | const FdmSchemeDesc & | schemeDesc | ) |
Definition at line 250 of file fdblackscholesvanillaengine.cpp.
MakeFdBlackScholesVanillaEngine & withLocalVol | ( | bool | localVol | ) |
Definition at line 257 of file fdblackscholesvanillaengine.cpp.
MakeFdBlackScholesVanillaEngine & withIllegalLocalVolOverwrite | ( | Real | illegalLocalVolOverwrite | ) |
Definition at line 263 of file fdblackscholesvanillaengine.cpp.
MakeFdBlackScholesVanillaEngine & withCashDividends | ( | const std::vector< Date > & | dividendDates, |
const std::vector< Real > & | dividendAmounts | ||
) |
Definition at line 270 of file fdblackscholesvanillaengine.cpp.
MakeFdBlackScholesVanillaEngine & withCashDividendModel | ( | FdBlackScholesVanillaEngine::CashDividendModel | cashDividendModel | ) |
Definition at line 279 of file fdblackscholesvanillaengine.cpp.
operator ext::shared_ptr< PricingEngine > | ( | ) | const |
Definition at line 285 of file fdblackscholesvanillaengine.cpp.
|
private |
Definition at line 140 of file fdblackscholesvanillaengine.hpp.
|
private |
Definition at line 141 of file fdblackscholesvanillaengine.hpp.
|
private |
Definition at line 142 of file fdblackscholesvanillaengine.hpp.
|
private |
Definition at line 143 of file fdblackscholesvanillaengine.hpp.
|
private |
Definition at line 143 of file fdblackscholesvanillaengine.hpp.
|
private |
Definition at line 143 of file fdblackscholesvanillaengine.hpp.
|
private |
Definition at line 144 of file fdblackscholesvanillaengine.hpp.
|
private |
Definition at line 145 of file fdblackscholesvanillaengine.hpp.
|
private |
Definition at line 146 of file fdblackscholesvanillaengine.hpp.
|
private |
Definition at line 147 of file fdblackscholesvanillaengine.hpp.
|
private |
Definition at line 148 of file fdblackscholesvanillaengine.hpp.