Finance
HestonProcess
create new Heston process
Calling Sequence
Parameters
Description
Examples
References
Compatibility
HestonProcess(x0, v0, mu, theta, kappa, sigma, rho)
x0
-
algebraic expression; initial value of the state variable
v0
algebraic expression; initial value of the variance
mu
algebraic expression; risk-neutral drift
theta
algebraic expression; long-run mean of the variance process
kappa
algebraic expression; speed of mean reversion of the variance process
sigma
algebraic expression; volatility of the variance process
rho
algebraic expression; instantaneous correlation between the return process and the volatility process
The HestonProcess command creates a new stochastic process S⁡t governed by the following stochastic differential equation (SDE)
dS⁡t=μ⁢S⁡t⁢dt+V⁡t⁢S⁡t⁢dW⁡t1
dV⁡t=κ⁢θ−V⁡t⁢dt+σ⁢V⁡t⁢dW⁡t2
where
μ is the drift parameter
θ is the long-run mean
κ is the speed of mean reversion
σ is the volatility of the variance process
and
W⁡t is the two-dimensional Wiener process with instantaneous correlation ρ.
This is a stochastic volatility process that was introduced by Heston in A Closed-Form Solution for Options with Stochastic Volatility with Applications to Bond and Currency Options.
The parameter X0 defines the initial value of the underlying stochastic process.
The parameter mu is the drift parameter of state process.
The volatility of this process evolves as a SquareRootDiffusion.
The parameter kappa is the speed of mean-reversion of the variance process. The parameter theta is the long-term running mean of the variance process. The parameter sigma is the volatility of the variance process. In general, kappa, theta, and sigma can be any algebraic expressions. However, if the process is to be simulated, these parameters must be assigned numeric values.
The parameter rho is the instantaneous correlation between the state process and the volatility process.
with⁡Finance:
S≔HestonProcess⁡S0,V0,μ,θ,κ,σ,ρ:
Drift⁡S⁡t
μ⁢_X0⁡t1κ⁢t−_X0⁡t2
Diffusion⁡S⁡t
_X0⁡t2⁢ρ⁢_X0⁡t1_X0⁡t2⁢_X0⁡t1⁢−ρ2+1_X0⁡t2⁢σ0
You can now simulate the Heston process.
S0≔700
V0≔0.1
κ≔1.0
θ≔0.1
μ≔0.05
σ≔0.1
ρ≔0.5
A≔SamplePath⁡S⁡t,t=0..3,timesteps=100,replications=5
These are sample paths for the state variables.
PathPlot⁡A,timegrid=0..3,1,thickness=3,color=red..blue,axes=BOXED,gridlines=true
And these are the corresponding sample paths for the volatility.
PathPlot⁡A,timegrid=0..3,2,thickness=3,color=red..blue,axes=BOXED,gridlines=true
Brigo, D., Mercurio, F., Interest Rate Models: Theory and Practice. New York: Springer-Verlag, 2001.
Gatheral, J., The Volatility Surface: A Practitioner's Guide, (with foreword by Nassim Taleb), Wiley, 2006.
Glasserman, P., Monte Carlo Methods in Financial Engineering. New York: Springer-Verlag, 2004.
Heston, Steven L., A Closed-Form Solution for Options with Stochastic Volatility with Applications to Bond and Currency Options, The review of Financial Studies, Volume 6, Issue 2, 327-343, 1993.
Hull, J., Options, Futures, and Other Derivatives, 5th. edition. Upper Saddle River, New Jersey: Prentice Hall, 2003.
The Finance[HestonProcess] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
See Also
Finance[BlackScholesProcess]
Finance[BrownianMotion]
Finance[Diffusion]
Finance[Drift]
Finance[ExpectedValue]
Finance[GeometricBrownianMotion]
Finance[ItoProcess]
Finance[SamplePath]
Finance[SampleValues]
Finance[SquareRootDiffusion]
Finance[StochasticProcesses]
Finance[WienerProcess]
Download Help Document