Financial Computing Lab
Futures & Options
Location: Room 108
Time: 1630 ~ 1830
"Δ + Γ + Θ = r"
-- The Black-Scholes hedging formula
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
Instructor
Objectives
I will introduce the pricing theory of futures and options and also the hedging techniques with Python and Excel sample programs. After completing this course, you will primarily understand futures and options, and conduct quantitative analysis of options, such as calculating implied volatility and delta. These concepts are central to the financial risk management. This course is suitable for financial practitioners or students interested in financial engineering or quantitative research. Note that the pricing theory of derivatives will involve some mathematics, where I will do my best to make it clear.
本課程將介紹期貨與選擇權的定價理論,並提供學員 Python 與 Excel 的範例程式參考與修改,最後說明如何透過複製資產來達到避險效果。學員完成本課程後將可以了解期貨與選擇權的基本功能,並可以自行計算選擇權的重要參數,例如隱含波動率 (implied volatility) 與 delta 等,進而在操作期貨與選擇權時有客觀量化的數據利於調整投資組合。本課程適合金融從業人員或是對於衍生性金融商品有興趣的學員。注意,選擇權的定價理論將會牽涉到些許數學,我將會逐一帶領學員了解其意義,無須擔心數學推導的過程。
Prerequisites
- Basic knowledge about financial markets …for example, what is stock/equity?
- Python programming
- Statistics …for example, what is a normal distribution?
Working Environment
- Google Colab with Python 3.6 or later
- You need a Google account before using Colab.
- JupyterLab
- You can run the JupyterLab server on your host machine.
- In this way, you don't need to share your ideas with Google.
Recording of classroom lectures is prohibited unless advance written permission is obtained from the class instructor and any guest presenter(s).
Syllabus
Session Name |
Summary |
Files |
Quant Research Basics |
◍ Python basics ◍ Useful packages: datetime, yfinance, pandas, matplotlib ◍ TXF/TXO data ◍ Backtesting
|
python ta backtesting.py |
Futures & Options: Pricing |
◍ Fundamental theorems of asset pricing: arbitrage-free principle ◍ Option pricing: binomial option pricing model (BOPM) ◍ Risk-neutral valuation ◍ Monte Carlo simulation ◍ Black-Scholes formula for European options ◍ Implied volatility ◍ Volatility index ◍ QuantLib tutorial ◍ Financial mathematics |
option_pdf code vix_pdf quantlib_code math |
Sensitivity Analysis: Greeks |
◍ Delta & dynamic delta hedging ◍ Gamma ◍ Theta ◍ Vega ◍ Rho
|
pdf code |
Option Trading |
◍ Option combinations ◍ Portfolio Profiler by Python & Excel
|
link profiler_code excel-dashboard xlwings |
Financial Machine Learning |
◍ Orc wing model for volatility smile ◍ PCA of implied volatility surface ◍ ARCH model ◍ Long-Short Term Memory (LSTM) |
orc wing paper PCA_demo vol_modeling LSTM paper |
Supplementary Materials
- Quantitative Research Basics
- For Python beginners, you can find my Python programming courses for further details:
- Data sources
- Technical indicators
- Futures & Options: Pricing
- Sensitivity Analysis: Greeks
- Option Trading
- MISC
References
General Introduction
Programming Techniques/Framework for Financial Engineering
Volatility
- Emanuel Derman, Michael B. Miller, and David Park, The Volatility Smile, 2016
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
- Jim Gatheral, Nassim Nicholas Taleb, The Volatility Surface: A Practitioner's Guide, 2012
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
- Colin Bennett, Trading Volatility: Trading Volatility, Correlation, Term Structure and Skew, 2014
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
- Dan Passarelli, Trading Option Greeks: How Time, Volatility, and Other Pricing Factors Drive Profits, 2/e, 2012
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
- Alireza Javaheri, Inside Volatility Filtering: Secrets of the Skew, 2/e, 2015
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
- Adam S. Iqbal, Volatility: Practical Options Theory, 2018
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
- Riccardo Rebonato, Volatility and Correlation: The Perfect Hedger and the Fox, 2/e, 2004
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
- Dinabandhu Bag, Valuation and Volatility: Stakeholder's Perspective, 2022
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
Financial Mathematics
More Derivative Pricing
- Damiano Brigo and Fabio Mercurio, Interest Rate Models - Theory and Practice With Smile, Inflation and Credit, 2006
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
- Ingo Beyna, Interest Rate Derivatives: Valuation, Calibration and Sensitivity Analysis, 2013
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
- Andreas Bluemke, How to Invest in Structured Products: A Guide for Investors and Asset Managers, 2009
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
- Janet M. Tavakoli, Structured Finance and Collateralized Debt Obligations: New Developments in Cash and Synthetic Securitization, 2/e, 2008
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
- Maxime de Bellefroid, The Derivatives Academy, 2022
Financial Machine Learning
- Marcos M. López de Prado, Machine Learning for Asset Managers, 2020
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
MISC