Applying Reinforcement Learning in Quantitative Trading
Applying Reinforcement Learning in Quantitative Trading
Overview
This is the repository of my graduate thesis which aims to use reinforcement learning in quantitative trading. Two types of RL models were experimented and could make good performance in the back-test:
- Policy Gradient
- Direct RL
Experiments
.ipynb files were details of experiments.
This repository contains 3 types of environments:
- CryptoCurrency (Huobi):
/crc_env.py - End of day US stock prices (quandl):
/stock_env.py - Continuous Futures (quandl):
/futures_env.py
- DRL:
and/drlagent.py/drlnews_agent.py - RPG:
and/rpgagent.py/rpgnews_agent.py
Also, there are some history codes in
and which have been deprecated, but contains some early ideas, please feel free to use them.
Reference
[1] Deep Direct Reinforcement Learning for Financial Signal Representation and Trading [2] Using a Financial Training Criterion Rather than a Prediction Criterion [3] A Deep Reinforcement Learning Framework for the Financial Portfolio Management Problem [4] Recurrent Reinforcement Learning: A Hybrid Approach [5] Reinforcement Learning for Trading [6] Continuous control with deep reinforcement learning [7] Memory-based control with recurrent neural networks