Montercarlo Simulation - Heston Model

HESTON MODEL – MONTERCARLO SIMULATION
HOW CAN YOU MAKE A MONTECARLO SIMULATION WITH THE HESTON MODEL?
Normally, when stocks prices are in a downward trend, volatility spikes. On the other hand, when the market is going upwards, volatility tends to diminish. To refer to this phenomenon people say “stocks take the stairs up and the elevator down” meaning stocks go up slowly and down very fast. One can simulate this kind of behavior using some special kind of models known as stochastic volatility models. This kind of models simulate not only the evolution of the stock price or an underlying such as an exchange rate or a commodity prices, but also its volatility. The Heston model belongs to this type of models. The Heston model has become very popular, specially in the FX Options arena. The reason is that it helps you model the volatility smile very easily. There is not a way to discretize the Heston differential equation to get an exact solution. However there is an approximation using the euler method, which we share here.
HOW DOES A MONTERCARLO SIMULATION OF THE HESTON MODEL LOOK LIKE?
In the chart below, we show a Montecarlo Simulation for the S&P500 starting at 4250 using the Heston Model. In this model you have parameters such as the correlation between the spot price and the volatility. A negative correlation means, that when stocks go down, volatility rises.
Figure 1
Here is a link to our github site where you can get python code to run this Montecarlo Simulation for the Heston Model. The link allows you to play with the different parameters you need to model the underlying price, its volatility, the correlation of the volatily of the underlying and the volatility and so on. Please tak a look and write us if you have any doubts. We hope you find it useful!
If you like this content, please help us sharing it with your network! Please algo consider making a donation to keep this website running. Thanks!
Artículos relacionados
George Soros – El temor de los Bancos Centrales
George Soros es un inversionista que ha obtenido retornos mayores a los de Warren Buffet. Durante la segunda guerra mundial fue perseguido por los nazis, pero logró emigrar a Inglaterra y con los años se convirtió en una leyenda mundial. Te invitamos a conocer su historia.
Ray Dalio – La máquina de la economía
Ray Dalio logró pronosticar la crisis de deuda a principios de los 80’s. A pesar de ello perdió tanto dinero que estuvo casi en quiebra. Esta situación le causó mucho dolor, pero logró aprender de ella para montar uno de los procesos de inversión más robustos del mundo. A tenido un retorno promedio cercano al 12% anual en los últimos 30 años. Conoce acá un poco de su historia.
Tasas de interés negativas
Desde el año pasado hemos visto como algunos Bancos Centrales han impuesto tasas de interés negativas en el corto plazo.