QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Monte Carlo lookback-option engine factory. More...
#include <mclookbackengine.hpp>
Public Member Functions | |
MakeMCLookbackEngine (ext::shared_ptr< GeneralizedBlackScholesProcess >) | |
MakeMCLookbackEngine & | withSteps (Size steps) |
MakeMCLookbackEngine & | withStepsPerYear (Size steps) |
MakeMCLookbackEngine & | withBrownianBridge (bool b=true) |
MakeMCLookbackEngine & | withAntitheticVariate (bool b=true) |
MakeMCLookbackEngine & | withSamples (Size samples) |
MakeMCLookbackEngine & | withAbsoluteTolerance (Real tolerance) |
MakeMCLookbackEngine & | withMaxSamples (Size samples) |
MakeMCLookbackEngine & | withSeed (BigNatural seed) |
operator ext::shared_ptr< PricingEngine > () const | |
Private Attributes | |
ext::shared_ptr< GeneralizedBlackScholesProcess > | process_ |
bool | brownianBridge_ = false |
bool | antithetic_ = false |
Size | steps_ |
Size | stepsPerYear_ |
Size | samples_ |
Size | maxSamples_ |
Real | tolerance_ |
BigNatural | seed_ = 0 |
Monte Carlo lookback-option engine factory.
Definition at line 91 of file mclookbackengine.hpp.
|
explicit |
Definition at line 206 of file mclookbackengine.hpp.
MakeMCLookbackEngine< I, RNG, S > & withSteps | ( | Size | steps | ) |
Definition at line 213 of file mclookbackengine.hpp.
MakeMCLookbackEngine< I, RNG, S > & withStepsPerYear | ( | Size | steps | ) |
Definition at line 220 of file mclookbackengine.hpp.
MakeMCLookbackEngine< I, RNG, S > & withBrownianBridge | ( | bool | b = true | ) |
Definition at line 227 of file mclookbackengine.hpp.
MakeMCLookbackEngine< I, RNG, S > & withAntitheticVariate | ( | bool | b = true | ) |
Definition at line 234 of file mclookbackengine.hpp.
MakeMCLookbackEngine< I, RNG, S > & withSamples | ( | Size | samples | ) |
Definition at line 241 of file mclookbackengine.hpp.
MakeMCLookbackEngine< I, RNG, S > & withAbsoluteTolerance | ( | Real | tolerance | ) |
Definition at line 250 of file mclookbackengine.hpp.
MakeMCLookbackEngine< I, RNG, S > & withMaxSamples | ( | Size | samples | ) |
Definition at line 262 of file mclookbackengine.hpp.
MakeMCLookbackEngine< I, RNG, S > & withSeed | ( | BigNatural | seed | ) |
Definition at line 269 of file mclookbackengine.hpp.
operator ext::shared_ptr< PricingEngine > |
Definition at line 275 of file mclookbackengine.hpp.
|
private |
Definition at line 106 of file mclookbackengine.hpp.
|
private |
Definition at line 107 of file mclookbackengine.hpp.
|
private |
Definition at line 107 of file mclookbackengine.hpp.
|
private |
Definition at line 108 of file mclookbackengine.hpp.
|
private |
Definition at line 108 of file mclookbackengine.hpp.
|
private |
Definition at line 108 of file mclookbackengine.hpp.
|
private |
Definition at line 108 of file mclookbackengine.hpp.
|
private |
Definition at line 109 of file mclookbackengine.hpp.
|
private |
Definition at line 110 of file mclookbackengine.hpp.