This is target for Chinese stocks.
- 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)
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.