option-trading-algorithm-with-garch-and-general-additive-binomial-pricing's Introduction
The Generalized Autoregressive Conditional Heteroskedasticity (GARCH) model is a statistical model used to analyze and forecast volatility in financial time series data.
The General Additive Binomial Pricing Model is a financial model used to value options. It's an extension of the classic binomial option pricing model, incorporating additional factors and complexities to provide more accurate option pricing.
In this notebook I'll build an option trading algorithm that implements these two models, then backtest it with historical option prices. The algorithm will look at four different underlying assets, chosen intentionally: AAPL (high volatility), KO (low volatility), SP500 (market), and BBBY (meme stock). All option prices were downloaded from Bloomberg with contract sizes of 100, and a time-to-expiry of one month.
The general idea of the trading algorithm's strategy is to:
(1) Look at a given market option quote.
(2) Generate a price for that option using the General Additive Binomial Pricing model with a volatility predicted from a fitted GARCH model.
(3) If the market price is some degree lower than our calculated price, buy the option and excercise if in the money during its term.
option-trading-algorithm-with-garch-and-general-additive-binomial-pricing's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.