Skip to content

Sample code that shows how to forecast stock market volatility using a Kalman filter

Notifications You must be signed in to change notification settings

moneygeek/kalman-filter-volatility-forecast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kalman-filter-volatility-forecast

Sample code that shows how to forecast stock market volatility using a Kalman filter.

Created by Jin Choi, PhD https://www.eddywealth.com/about/jin-choi/

Installation

Install dependencies using pip::

pip install -r requirements.txt

If you have CUDA installed, you may want to install pytorch separately. Doing so will significantly speed up model training.

Running

The following will automatically download the data, train the model, and generate charts comparing forecasts to actual.

python main.py

Disclaimer

The code in this repository is intended for educational purposes only. Neither Jin nor the companies he works for is responsible for any losses arising from the use of this code.

About

Sample code that shows how to forecast stock market volatility using a Kalman filter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages