QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <analyticpartialtimebarrieroptionengine.hpp>
Public Member Functions | |
AnalyticPartialTimeBarrierOptionEngine (ext::shared_ptr< GeneralizedBlackScholesProcess > process) | |
void | calculate () const override |
Public Member Functions inherited from GenericEngine< PartialTimeBarrierOption::arguments, PartialTimeBarrierOption::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 | underlying () const |
Real | strike () const |
Time | residualTime () const |
Time | coverEventTime () const |
Volatility | volatility (Time t) const |
Real | barrier () const |
Real | rebate () const |
Real | stdDeviation () const |
Rate | riskFreeRate () const |
DiscountFactor | riskFreeDiscount () const |
Rate | dividendYield () const |
DiscountFactor | dividendDiscount () const |
Real | M (Real a, Real b, Real rho) const |
Real | d1 () const |
Real | d2 () const |
Real | e1 () const |
Real | e2 () const |
Real | e3 () const |
Real | e4 () const |
Real | f1 () const |
Real | f2 () const |
Real | rho () const |
Rate | mu () const |
Real | CoB2 (PartialBarrier::Type barrierType) const |
Real | CoB1 () const |
Real | CA (Integer n) const |
Real | CIA (Integer n) const |
Real | g1 () const |
Real | g2 () const |
Real | g3 () const |
Real | g4 () const |
Real | HS (Real S, Real H, Real power) 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< PartialTimeBarrierOption::arguments, PartialTimeBarrierOption::results > | |
PartialTimeBarrierOption::arguments | arguments_ |
PartialTimeBarrierOption::results | results_ |
Definition at line 32 of file analyticpartialtimebarrieroptionengine.hpp.
|
explicit |
Definition at line 28 of file analyticpartialtimebarrieroptionengine.cpp.
|
overridevirtual |
Implements PricingEngine.
Definition at line 34 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 198 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 202 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 209 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 213 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 217 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 226 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 230 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 221 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 234 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 239 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 243 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 248 of file analyticpartialtimebarrieroptionengine.cpp.
Definition at line 265 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 279 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 286 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 292 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 299 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 305 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 311 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 253 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 260 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 270 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 274 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 119 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 147 of file analyticpartialtimebarrieroptionengine.cpp.
Definition at line 188 of file analyticpartialtimebarrieroptionengine.cpp.
Definition at line 173 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 316 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 323 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 329 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 335 of file analyticpartialtimebarrieroptionengine.cpp.
Definition at line 341 of file analyticpartialtimebarrieroptionengine.cpp.
|
private |
Definition at line 40 of file analyticpartialtimebarrieroptionengine.hpp.