Financial Trading as a Game: A Deep Reinforcement Learning Approach

07/08/2018
by   Chien Yi Huang, et al.
0

An automatic program that generates constant profit from the financial market is lucrative for every market practitioner. Recent advance in deep reinforcement learning provides a framework toward end-to-end training of such trading agent. In this paper, we propose an Markov Decision Process (MDP) model suitable for the financial trading task and solve it with the state-of-the-art deep recurrent Q-network (DRQN) algorithm. We propose several modifications to the existing learning algorithm to make it more suitable under the financial trading setting, namely 1. We employ a substantially small replay memory (only a few hundreds in size) compared to ones used in modern deep reinforcement learning algorithms (often millions in size.) 2. We develop an action augmentation technique to mitigate the need for random exploration by providing extra feedback signals for all actions to the agent. This enables us to use greedy policy over the course of learning and shows strong empirical performance compared to more commonly used epsilon-greedy exploration. However, this technique is specific to financial trading under a few market assumptions. 3. We sample a longer sequence for recurrent neural network training. A side product of this mechanism is that we can now train the agent for every T steps. This greatly reduces training time since the overall computation is down by a factor of T. We combine all of the above into a complete online learning algorithm and validate our approach on the spot foreign exchange market.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/09/2019

Deep Reinforcement Learning in Financial Markets

In this paper we explore the usage of deep reinforcement learning algori...
research
07/08/2019

An intelligent financial portfolio trading strategy using deep Q-learning

A goal of financial portfolio trading is maximizing the trader's utility...
research
06/30/2017

A Deep Reinforcement Learning Framework for the Financial Portfolio Management Problem

Financial portfolio management is the process of constant redistribution...
research
03/01/2023

A Deep Reinforcement Learning Trader without Offline Training

In this paper we pursue the question of a fully online trading algorithm...
research
05/09/2021

Reinforcement Learning with Expert Trajectory For Quantitative Trading

In recent years, quantitative investment methods combined with artificia...
research
01/12/2022

The Recurrent Reinforcement Learning Crypto Agent

We demonstrate an application of online transfer learning as a digital a...
research
11/09/2020

Reinforced Deep Markov Models With Applications in Automatic Trading

Inspired by the developments in deep generative models, we propose a mod...

Please sign up or login with your details

Forgot password? Click here to reset