QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <analyticcomplexchooserengine.hpp>
Public Member Functions | |
AnalyticComplexChooserEngine (ext::shared_ptr< GeneralizedBlackScholesProcess > process) | |
void | calculate () const override |
Public Member Functions inherited from GenericEngine< ComplexChooserOption::arguments, ComplexChooserOption::results > | |
PricingEngine::arguments * | getArguments () const override |
const PricingEngine::results * | getResults () const override |
void | reset () override |
void | update () override |
Public Member Functions inherited from PricingEngine | |
~PricingEngine () override=default | |
virtual arguments * | getArguments () const =0 |
virtual const results * | getResults () const =0 |
virtual void | reset ()=0 |
virtual void | calculate () const =0 |
Public Member Functions inherited from Observable | |
Observable () | |
Observable (const Observable &) | |
Observable & | operator= (const Observable &) |
Observable (Observable &&)=delete | |
Observable & | operator= (Observable &&)=delete |
virtual | ~Observable ()=default |
void | notifyObservers () |
Public Member Functions inherited from Observer | |
Observer ()=default | |
Observer (const Observer &) | |
Observer & | operator= (const Observer &) |
virtual | ~Observer () |
std::pair< iterator, bool > | registerWith (const ext::shared_ptr< Observable > &) |
void | registerWithObservables (const ext::shared_ptr< Observer > &) |
Size | unregisterWith (const ext::shared_ptr< Observable > &) |
void | unregisterWithAll () |
virtual void | update ()=0 |
virtual void | deepUpdate () |
Private Member Functions | |
Real | strike (Option::Type optionType) const |
Time | choosingTime () const |
Time | putMaturity () const |
Time | callMaturity () const |
Volatility | volatility (Time t) const |
Rate | dividendYield (Time t) const |
DiscountFactor | dividendDiscount (Time t) const |
Rate | riskFreeRate (Time t) const |
DiscountFactor | riskFreeDiscount (Time t) const |
BlackScholesCalculator | bsCalculator (Real spot, Option::Type optionType) const |
Real | criticalValue () const |
Private Attributes | |
ext::shared_ptr< GeneralizedBlackScholesProcess > | process_ |
Additional Inherited Members | |
Public Types inherited from Observer | |
typedef set_type::iterator | iterator |
Protected Attributes inherited from GenericEngine< ComplexChooserOption::arguments, ComplexChooserOption::results > | |
ComplexChooserOption::arguments | arguments_ |
ComplexChooserOption::results | results_ |
Definition at line 33 of file analyticcomplexchooserengine.hpp.
|
explicit |
Definition at line 32 of file analyticcomplexchooserengine.cpp.
|
overridevirtual |
Implements PricingEngine.
Definition at line 38 of file analyticcomplexchooserengine.cpp.
|
private |
Definition at line 142 of file analyticcomplexchooserengine.cpp.
|
private |
Definition at line 149 of file analyticcomplexchooserengine.cpp.
|
private |
Definition at line 153 of file analyticcomplexchooserengine.cpp.
|
private |
Definition at line 157 of file analyticcomplexchooserengine.cpp.
|
private |
Definition at line 161 of file analyticcomplexchooserengine.cpp.
Definition at line 165 of file analyticcomplexchooserengine.cpp.
|
private |
Definition at line 169 of file analyticcomplexchooserengine.cpp.
Definition at line 173 of file analyticcomplexchooserengine.cpp.
|
private |
Definition at line 177 of file analyticcomplexchooserengine.cpp.
|
private |
Definition at line 77 of file analyticcomplexchooserengine.cpp.
|
private |
Definition at line 108 of file analyticcomplexchooserengine.cpp.
|
private |
Definition at line 40 of file analyticcomplexchooserengine.hpp.