julian::HestonProcess Class Reference
Class is implements Heston process. More...
#include <hestonProcess.hpp>
Inheritance diagram for julian::HestonProcess:
Public Member Functions | |
HestonProcess (double drift, double mean_rev, double curr_var, double lt_var, double vov, double corr) | |
constructor More... | |
virtual Path | getPath (double, const TimeGrid &, SmartPointer< UniformRNG > &rng) const |
Generates path. More... | |
virtual Path | getPath (double, const TimeGrid &, const std::vector< double > &rnds) const |
Generates path. More... | |
virtual HestonProcess * | clone () const |
Virtual copy constructor. More... | |
Public Member Functions inherited from julian::StochasticProcess | |
StochasticProcess () | |
Constructor. More... | |
virtual | ~StochasticProcess () |
Destructor. More... | |
Private Attributes | |
double | drift_ |
Drift of the X process. More... | |
double | mean_rev_ |
Mean reversion speed of Y process. More... | |
double | curr_var_ |
Initial value of Y process of Y process. More... | |
double | lt_var_ |
Long term value of Y process. More... | |
double | vov_ |
Volatility of Y process. More... | |
double | corr_ |
Correlation between X process and Y process. More... | |
Detailed Description
Class is implements Heston process.
Heston process is a stochastic process governed by following SDE:
where:
- is drift
- is mean reversion speed
- is long-term volatility
- is volatility of volatility
- is correlation
- are Wiener Processes
As we see the process is Geometric Brownian Motion with stochastic volatility governed by CIR process. More information see [37]
Constructor & Destructor Documentation
|
inline |
constructor
- Parameters
-
drift Drift of the X process mean_rev Mean reversion speed of Y process curr_var Initial value of Y process of Y process lt_var Long term value of Y process vov Volatility of Y process corr Correlation between X process and Y process
Member Function Documentation
|
virtual |
Virtual copy constructor.
Implements julian::StochasticProcess.
|
virtual |
Generates path.
- Parameters
-
x0 initial_value Value of the process for t = 0; tg points in time for which the value of process is generated rng random number generator that will be used to generate stochastic process
- Returns
- path representing time series
Implements julian::StochasticProcess.
|
virtual |
Generates path.
- Parameters
-
x0 Value of the process for t = 0; tg points in time for which the value of process is generated rnds random number that will be used to generate the path
- Returns
- path representing time series
Implements julian::StochasticProcess.
Member Data Documentation
|
private |
Correlation between X process and Y process.
|
private |
Initial value of Y process of Y process.
|
private |
Drift of the X process.
|
private |
Long term value of Y process.
|
private |
Mean reversion speed of Y process.
|
private |
Volatility of Y process.
The documentation for this class was generated from the following files:
- C:/Unix/home/OEM/jULIAN/src/mathematics/stochasticProcesses/hestonProcess.hpp
- C:/Unix/home/OEM/jULIAN/src/mathematics/stochasticProcesses/hestonProcess.cpp