Heston Model Calibration in the "Real" World with Python - S&P500 Index Options
QuantPy QuantPy
67.4K subscribers
22,466 views
0

 Published On Premiered Mar 25, 2022

The Heston model is a useful model for simulating stochastic volatility and its effect on the potential paths an asset can take over the life of an option. It's popular because of:
- easy closed-form solution for European option pricing
- no risk of negative variances
- incorporation of leverage effect
This allows for more effective modeling than the Black-Scholes formula allows due to its restrictive assumption of constant volatility.

One of the nice things about the Heston model for European option prices is that there is a semi-analytical closed-form solution once you have the characteristic function. In this video we will go through the mathematics of the characteristic funciton for European Option prices, implement this numerical integration in python and then calibrate the model to real world index option prices.

We will be using the S&P500 Index Options to calibrate the risk-neutral Heston Model. As a stochastic volatility model, the heston model can incorporate the real-world volatility smile within it's pricing dynamics.

Here I have drawn on a number of academic papers/online resources for reference:
- Heston Girsanov's Formula: https://quant.stackexchange.com/quest...
- Heston PDE : https://uwspace.uwaterloo.ca/bitstrea...
- Heston Characteristic Eq :https://www.maths.univ-evry.fr/pages_...
- Heston Implementation : https://hal.sorbonne-universite.fr/ha...
- Heston Calibration :   / build-the-heston-model-from-scratch-in-pyt...  

★ ★ Code Available on GitHub ★ ★
GitHub: https://github.com/TheQuantPy
Specific Tutorial Link: https://github.com/TheQuantPy/youtube...

00:00 Intro
00:45 The Mathematics Explained
09:05 Python Implementation of Semi-Analytical Solution
14:00 Real World Data - Options & Yield Curve
19:50 Heston Model Calibration

★ ★ QuantPy GitHub ★ ★
Collection of resources used on QuantPy YouTube channel. https://github.com/thequantpy

★ ★ Discord Community ★ ★
Join a small niche community of like-minded quants on discord.   / discord  

★ ★ Support our Patreon Community ★ ★
Get access to Jupyter Notebooks that can run in the browser without downloading python.
  / quantpy  

★ ★ ThetaData API ★ ★
ThetaData's API provides both realtime and historical options data for end-of-day, and intraday trades and quotes. Use coupon 'QPY1' to receive 20% off on your first month.
https://www.thetadata.net/

★ ★ Online Quant Tutorials ★ ★
WEBSITE: https://quantpy.com.au

★ ★ Contact Us ★ ★
EMAIL: [email protected]

Disclaimer: All ideas, opinions, recommendations and/or forecasts, expressed or implied in this content, are for informational and educational purposes only and should not be construed as financial product advice or an inducement or instruction to invest, trade, and/or speculate in the markets. Any action or refraining from action; investments, trades, and/or speculations made in light of the ideas, opinions, and/or forecasts, expressed or implied in this content, are committed at your own risk an consequence, financial or otherwise. As an affiliate of ThetaData, QuantPy Pty Ltd is compensated for any purchases made through the link provided in this description.

show more

Share/Embed