Skip to content

Stock price prediction with recurrent neural network. The data is from the Chinese stock.

License

Notifications You must be signed in to change notification settings

zhcf/stock-prediction

 
 

Repository files navigation

Stock Prediction with Recurrent Neural Network

This is target for Chinese stocks.

Requirements

  • Python 3.5
  • TuShare 0.7.4
  • Pandas 0.19.2
  • Keras 1.2.2
  • Numpy 1.12.0
  • scikit-learn 0.18.1
  • TensorFlow 1.0 (GPU version)

How To Use

Assume this project is cloned to /opt/
docker run -it --gpus all -v /opt:/opt/ zhcf/stock:0128 /bin/bash (zhcf/stock is the runtime ready docker image)
pyhton stock-prediction.py (train model or use trained model to predict)
python data_preparation.py (get training data or prediction data)

You can run the prediction tonight, the prediction result represents the probability:close value of the day after tomorrow is higher than open value of tomorrow.

About

Stock price prediction with recurrent neural network. The data is from the Chinese stock.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%