QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <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_ |
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 107 of file fdblackscholesvanillaengine.hpp.
|
explicit |
Definition at line 213 of file fdblackscholesvanillaengine.cpp.
MakeFdBlackScholesVanillaEngine & withQuantoHelper | ( | const ext::shared_ptr< FdmQuantoHelper > & | quantoHelper | ) |
Definition at line 220 of file fdblackscholesvanillaengine.cpp.
MakeFdBlackScholesVanillaEngine & withTGrid | ( | Size | tGrid | ) |
Definition at line 227 of file fdblackscholesvanillaengine.cpp.
MakeFdBlackScholesVanillaEngine & withXGrid | ( | Size | xGrid | ) |
Definition at line 233 of file fdblackscholesvanillaengine.cpp.
MakeFdBlackScholesVanillaEngine & withDampingSteps | ( | Size | dampingSteps | ) |
Definition at line 239 of file fdblackscholesvanillaengine.cpp.
MakeFdBlackScholesVanillaEngine & withFdmSchemeDesc | ( | const FdmSchemeDesc & | schemeDesc | ) |
Definition at line 245 of file fdblackscholesvanillaengine.cpp.
MakeFdBlackScholesVanillaEngine & withLocalVol | ( | bool | localVol | ) |
Definition at line 252 of file fdblackscholesvanillaengine.cpp.
MakeFdBlackScholesVanillaEngine & withIllegalLocalVolOverwrite | ( | Real | illegalLocalVolOverwrite | ) |
Definition at line 258 of file fdblackscholesvanillaengine.cpp.
MakeFdBlackScholesVanillaEngine & withCashDividends | ( | const std::vector< Date > & | dividendDates, |
const std::vector< Real > & | dividendAmounts | ||
) |
Definition at line 265 of file fdblackscholesvanillaengine.cpp.
MakeFdBlackScholesVanillaEngine & withCashDividendModel | ( | FdBlackScholesVanillaEngine::CashDividendModel | cashDividendModel | ) |
Definition at line 273 of file fdblackscholesvanillaengine.cpp.
operator ext::shared_ptr< PricingEngine > | ( | ) | const |
Definition at line 279 of file fdblackscholesvanillaengine.cpp.
|
private |
Definition at line 136 of file fdblackscholesvanillaengine.hpp.
|
private |
Definition at line 137 of file fdblackscholesvanillaengine.hpp.
|
private |
Definition at line 138 of file fdblackscholesvanillaengine.hpp.
|
private |
Definition at line 138 of file fdblackscholesvanillaengine.hpp.
|
private |
Definition at line 138 of file fdblackscholesvanillaengine.hpp.
|
private |
Definition at line 139 of file fdblackscholesvanillaengine.hpp.
|
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.