QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
BjerksundStenslandApproximationEngine Class Reference

Bjerksund and Stensland pricing engine for American options (1993) More...

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

+ Inheritance diagram for BjerksundStenslandApproximationEngine:
+ Collaboration diagram for BjerksundStenslandApproximationEngine:

Public Member Functions

 BjerksundStenslandApproximationEngine (ext::shared_ptr< GeneralizedBlackScholesProcess >)
 
void calculate () const override
 

Private Member Functions

OneAssetOption::results americanCallApproximation (Real S, Real X, Real rfD, Real dD, Real variance) const
 
OneAssetOption::results europeanCallResults (Real S, Real X, Real rfD, Real dD, Real variance) const
 
OneAssetOption::results immediateExercise (Real S, Real X) const
 

Private Attributes

ext::shared_ptr< GeneralizedBlackScholesProcessprocess_
 

Detailed Description

Bjerksund and Stensland pricing engine for American options (1993)

Tests:
the correctness of the returned value is tested by reproducing results available in literature.

Definition at line 39 of file bjerksundstenslandengine.hpp.

Constructor & Destructor Documentation

◆ BjerksundStenslandApproximationEngine()

Definition at line 113 of file bjerksundstenslandengine.cpp.

Member Function Documentation

◆ calculate()

void calculate ( ) const
override

Definition at line 432 of file bjerksundstenslandengine.cpp.

+ Here is the call graph for this function:

◆ americanCallApproximation()

OneAssetOption::results americanCallApproximation ( Real  S,
Real  X,
Real  rfD,
Real  dD,
Real  variance 
) const
private

Definition at line 178 of file bjerksundstenslandengine.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ europeanCallResults()

OneAssetOption::results europeanCallResults ( Real  S,
Real  X,
Real  rfD,
Real  dD,
Real  variance 
) const
private

Definition at line 120 of file bjerksundstenslandengine.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ immediateExercise()

OneAssetOption::results immediateExercise ( Real  S,
Real  X 
) const
private

Definition at line 159 of file bjerksundstenslandengine.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ process_

ext::shared_ptr<GeneralizedBlackScholesProcess> process_
private

Definition at line 53 of file bjerksundstenslandengine.hpp.