• C++ Programming for Financial Engineering
    Highly recommended by thousands of MFE students. Covers essential C++ topics with applications to financial engineering. Learn more Join!
    Python for Finance with Intro to Data Science
    Gain practical understanding of Python to read, understand, and write professional Python code for your first day on the job. Learn more Join!
    An Intuition-Based Options Primer for FE
    Ideal for entry level positions interviews and graduate studies, specializing in options trading arbitrage and options valuation models. Learn more Join!

Can someone help me understand the heston model and its application.

Hey guys. I'm trying to simulate a Euro call option with volatility being stochastic and following the heston model. This is just for a course and I'm totally lost on how to do this when the volatility parameter is stochastic. I'm using STATA to simulate, and have code to simulate the call option when volatility is assumed constant. I have parameters k, theta, rho etc. given.


Active Member
To simulate the CIR model, refer to this paper: http://www.columbia.edu/~mh2078/MCS04/MCS_SDEs.pdf

To simulate two rho correlated r.v.s Y1 and Y2, let Z1 Z2 be independent r.v.s,

Y2=rho*Z1 + Sqrt(1-rho^2)*Z2.

Create a vector of your CIR process. Then just simulate your geometric Brownian motion using the exact solution of GBM, but in the place of the volatility put the corresponding entry of your CIR process vector.

Hope this helps..

Bastian Gross

German Mathquant
Did it works?

Did you compare your solution with the exact solution of the closed-form Heston?