A Financial stock price prediction based on Deep Reinforcement Learning in Pytorch
This is a pytorch implementation tool box for Financial Stock Trading, support training with CPU/GPU. The model includes
git clone git@github.com:ZhengLiangliang1996/DeepRL-for-Financial-Stock-Trading.git
A step by step series of examples that tell you how to run it
Prerequisites:
Python >=3.8,<3.10 (not yet 3.10) Poetry 1.2.1+
poetry install
And simply run
chmod +x run.sh
./run.sh
or run the main function using python
In the result draw folder you could draw the result pickle files by
python picklefile_draw_helper.py
- MACD
- DQN
- Dueling DQN
- DDPG(Linear for actor and critic)
- DDPG(LSTM for actor and critic)