Skip to content
Applying Reinforcement Learning in Quantitative Trading
Jupyter Notebook Python
Branch: master
Clone or download
yuriak Merge pull request #5 from yuriak/dev
Merge pull request #4 from yuriak/master
Latest commit 1ed3b81 Aug 13, 2018

Applying Reinforcement Learning in Quantitative Trading


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:

  1. Policy Gradient
    • Vanilla Policy Gradient (not implemented in this repo)
    • Multi-Task Recurrent Policy Gradient (RPG)
  2. Direct RL
    • Vanilla DRL (DRL)
    • A hybrid network involves news embedding vectors (DRL with news)


.ipynb files were details of experiments.

This repository contains 3 types of environments:

  1. CryptoCurrency (Huobi): env/
  2. End of day US stock prices (quandl): env/
  3. Continuous Futures (quandl): env/

And, 2 types of agents:

  1. DRL: agents/ and agents/
  2. RPG: agents/ and agents/

Also, there are some history codes in history and model_archive which have been deprecated, but contains some early ideas, please feel free to use them.


[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

You can’t perform that action at this time.