Mastering Pair Trading with Risk-Aware Recurrent Reinforcement Learning

04/01/2023
by   Weiguang Han, et al.
0

Although pair trading is the simplest hedging strategy for an investor to eliminate market risk, it is still a great challenge for reinforcement learning (RL) methods to perform pair trading as human expertise. It requires RL methods to make thousands of correct actions that nevertheless have no obvious relations to the overall trading profit, and to reason over infinite states of the time-varying market most of which have never appeared in history. However, existing RL methods ignore the temporal connections between asset price movements and the risk of the performed trading. These lead to frequent tradings with high transaction costs and potential losses, which barely reach the human expertise level of trading. Therefore, we introduce CREDIT, a risk-aware agent capable of learning to exploit long-term trading opportunities in pair trading similar to a human expert. CREDIT is the first to apply bidirectional GRU along with the temporal attention mechanism to fully consider the temporal correlations embedded in the states, which allows CREDIT to capture long-term patterns of the price movements of two assets to earn higher profit. We also design the risk-aware reward inspired by the economic theory, that models both the profit and risk of the tradings during the trading period. It helps our agent to master pair trading with a robust trading preference that avoids risky trading with possible high returns and losses. Experiments show that it outperforms existing reinforcement learning methods in pair trading and achieves a significant profit over five years of U.S. stock data.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/25/2023

Select and Trade: Towards Unified Pair Trading with Hierarchical Reinforcement Learning

Pair trading is one of the most effective statistical arbitrage strategi...
research
05/09/2021

Reinforcement Learning with Expert Trajectory For Quantitative Trading

In recent years, quantitative investment methods combined with artificia...
research
08/13/2020

Adaptive Market Neutral Strategy Amid COVID-19 Regime-shifting Times, a Reinforcement Learning Approach

Pairs trading is the foundation of market neutral strategy, which is one...
research
06/12/2023

Combining Reinforcement Learning and Barrier Functions for Adaptive Risk Management in Portfolio Optimization

Reinforcement learning (RL) based investment strategies have been widely...
research
11/14/2021

Intelligent Trading Systems: A Sentiment-Aware Reinforcement Learning Approach

The feasibility of making profitable trades on a single asset on stock e...
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...

Please sign up or login with your details

Forgot password? Click here to reset