Skip to content

Sample code for using LSTMs to predict stock price movements

License

Notifications You must be signed in to change notification settings

moneygeek/lstm-stock-prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lstm-stock-prediction

Sample code for using LSTMs to predict stock price movements

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 for using LSTMs to predict stock price movements

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages