Skip to main content
QUICK REVIEW

[Paper Review] Deep Reinforcement Learning for Trading

Zihao Zhang, Stefan Zohren|arXiv (Cornell University)|Nov 22, 2019
Stock Market Forecasting MethodsDecision Sciences47 references11 citations
TL;DR

This paper proposes a deep reinforcement learning (DRL) framework to learn optimal trading strategies for continuous futures contracts across multiple asset classes. By directly mapping market states to trade positions using DQN, PG, and A2C algorithms with volatility-scaled rewards, the method outperforms classical momentum strategies, generating positive risk-adjusted returns even under heavy transaction costs, with robust performance across commodities, equities, fixed income, and FX markets.

ABSTRACT

We adopt Deep Reinforcement Learning algorithms to design trading strategies for continuous futures contracts. Both discrete and continuous action spaces are considered and volatility scaling is incorporated to create reward functions which scale trade positions based on market volatility. We test our algorithms on the 50 most liquid futures contracts from 2011 to 2019, and investigate how performance varies across different asset classes including commodities, equity indices, fixed income and FX markets. We compare our algorithms against classical time series momentum strategies, and show that our method outperforms such baseline models, delivering positive profits despite heavy transaction costs. The experiments show that the proposed algorithms can follow large market trends without changing positions and can also scale down, or hold, through consolidation periods.

Motivation & Objective

  • To develop a deep reinforcement learning framework that directly learns optimal trade positions from market states, bypassing explicit forecasting.
  • To investigate the effectiveness of DRL algorithms—DQN, PG, and A2C—on diverse futures markets with both discrete and continuous action spaces.
  • To improve reward functions using volatility scaling to dynamically adjust position size based on market volatility.
  • To evaluate performance across asset classes (commodities, equity indices, fixed income, FX) and under realistic transaction costs.
  • To demonstrate robustness and consistency of DRL-based strategies in trending and mean-reverting markets.

Proposed method

  • The framework uses state representations derived from time series momentum and technical indicators (e.g., MACD, sign of return) to encode market conditions.
  • Three DRL algorithms are employed: Deep Q-Network (DQN), Policy Gradient (PG), and Advantage Actor-Critic (A2C), with both discrete and continuous action spaces.
  • Reward functions are enhanced with volatility scaling to increase position size when volatility is low and reduce it when volatility is high.
  • The utility function is linear (risk-neutral), aligning with the RL objective of maximizing expected cumulative returns, consistent with modern portfolio theory.
  • Transaction costs are explicitly modeled in the reward function to reflect real-world market frictions.
  • Performance is evaluated on 50 liquid futures contracts from 2011 to 2019, covering multiple asset classes, using metrics like Sharpe ratio and average return per turnover.

Experimental results

Research questions

  • RQ1Can deep reinforcement learning algorithms learn profitable trading strategies directly from market states without explicit forecasting?
  • RQ2How do DRL models with discrete and continuous action spaces compare in performance across different asset classes?
  • RQ3To what extent does volatility scaling in the reward function improve trading performance and robustness?
  • RQ4Can DRL-based strategies outperform classical time series momentum strategies under high transaction costs?
  • RQ5How consistent are the results across individual contracts and asset classes?

Key findings

  • The DRL-based strategies, particularly DQN and A2C, outperform classical momentum strategies across all asset classes, delivering positive annualized Sharpe ratios.
  • DQN achieved a mean annualized Sharpe ratio of 1.288 across all contracts, with a 2.220 cumulative return, even under 25 basis point transaction costs.
  • The A2C algorithm achieved a 1.785 cumulative return and a 1.050 annualized Sharpe ratio, demonstrating strong performance in trending markets.
  • The models maintained consistent performance across commodities, equity indices, fixed income, and FX, with Sharpe ratios ranging from 0.517 to 1.048 across sectors.
  • Even under 25bp transaction costs—equivalent to ~$3.5 per contract—DQN and A2C generated positive profits, indicating robustness to market frictions.
  • Boxplot analysis confirmed that performance was not driven by a single high-performing contract, indicating model consistency across individual instruments.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.