HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

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

Weiguang Han; Boyi Zhang; Qianqian Xie; Min Peng; Yanzhao Lai; Jimin Huang

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

Abstract

Pair trading is one of the most effective statistical arbitrage strategies which seeks a neutral profit by hedging a pair of selected assets. Existing methods generally decompose the task into two separate steps: pair selection and trading. However, the decoupling of two closely related subtasks can block information propagation and lead to limited overall performance. For pair selection, ignoring the trading performance results in the wrong assets being selected with irrelevant price movements, while the agent trained for trading can overfit to the selected assets without any historical information of other assets. To address it, in this paper, we propose a paradigm for automatic pair trading as a unified task rather than a two-step pipeline. We design a hierarchical reinforcement learning framework to jointly learn and optimize two subtasks. A high-level policy would select two assets from all possible combinations and a low-level policy would then perform a series of trading actions. Experimental results on real-world stock data demonstrate the effectiveness of our method on pair trading compared with both existing pair selection and trading methods.

Code Repositories

chancefocus/trials
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
pair-trading-on-csi-300-pair-tradingTrials
Annual Return: 0.68±0.51
Annual Volatility: 0.26±0.09
Euclidean Distance: 0.046±0.02
Max Dropdown: -0.14±0.07
Sharpe Ratio: 1.91±0.88
pair-trading-on-s-p-500-pair-tradingTrials
Annual Return: 0.5±0.14
Annual Volatility: 0.22±0.04
Euclidean Distance: 0.037±0.01
Max Dropdown: -0.09±0.01
Sharpe Ratio: 1.84±0.24

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Select and Trade: Towards Unified Pair Trading with Hierarchical Reinforcement Learning | Papers | HyperAI