Paper: arXiv 2407.16103
Abstract
Cryptocurrency is a cryptography-based digital asset with extremely volatile prices. Around USD 70 billion worth of cryptocurrency is traded daily on exchanges. Trading cryptocurrency is difficult due to the inherent volatility of the crypto market. This study investigates whether Reinforcement Learning (RL) can enhance decision-making in cryptocurrency algorithmic trading compared to traditional methods. In order to address this question, we combined reinforcement learning with a statistical arbitrage trading technique, pair trading, which exploits the price difference between statistically correlated assets. We constructed RL environments and trained RL agents to determine when and how to trade pairs of cryptocurrencies. We developed new reward shaping and observation/action spaces for reinforcement learning. We performed experiments with the developed reinforcement learner on pairs of BTC-GBP and BTC-EUR data separated by 1 min intervals (n=263,520). The traditional non-RL pair trading technique achieved an annualized profit of 8.33%, while the proposed RL-based pair trading technique achieved annualized profits from 9.94% to 31.53%, depending upon the RL learner. Our results show that RL can significantly outperform manual and traditional pair trading techniques when applied to volatile markets such as~cryptocurrencies.
Complexity vs Empirical Score
- Math Complexity: 6.5/10
- Empirical Rigor: 7.0/10
- Quadrant: Holy Grail — high math complexity, high empirical rigor
Why this score: The paper employs advanced mathematics including MDP formulation, reward shaping, and statistical arbitrage concepts, while demonstrating empirical rigor through backtesting on large-scale cryptocurrency datasets (263,520 data points) and reporting annualized profit metrics.
Research Flowchart
flowchart TD A["Research Goal:<br>RL vs Traditional Methods<br>for Crypto Pair Trading"] --> B["Data Collection:<br>BTC-GBP & BTC-EUR Data<br>1-min intervals, n=263,520"] B --> C["Methodology:<br>Construct RL Environment<br>Define Reward/Action Spaces"] C --> D["Training:<br>Train RL Agents<br>(RL Learners)"] D --> E["Comparison:<br>RL vs Traditional<br>Pair Trading"] E --> F["Outcome:<br>RL Outperformance:<br>9.94% - 31.53% vs 8.33%"] style F fill:#d4edda,stroke:#155724
Cited References (175)
- Deep Reinforcement Learning Strategies in Finance : Insights into Asset Holding , Trading Behavior , and Purchase Diversity (2024) — link
- Deep Reinforcement Learning for Active High Frequency Trading (2023) — link
- Shapify.me (2024) — link
- Statistics: Fourth international student edition (2020)
- Optimal Portfolio Management When Stocks Are Driven by Mean Reverting Processes (2019) — link
- Generalized Stochastic Arbitrage Opportunities (2024) — link
- Differential Evolution – A Simple and Efficient Heuristic for global Optimization over Continuous Spaces (1997) — link
- Constructing cointegrated cryptocurrency portfolios for statistical arbitrage (2019) — link
and 167 more
- On the Theory of the Brownian Motion (1930) — link
- Machine Learning - Based Pairs Trading Strategy with Multivariate (2022) — link
- Evolutionary multi-objective optimization for multivariate pairs trading (2019) — link
- Stochastic optimization is (almost) as easy as deterministic optimization \textbar IEEE Conference Publication \textbar IEEE Xplore — link
- Evolution of Ethereum : A Temporal Graph Perspective (2020) — link
- Cointegration-based pairs trading framework with application to the Cryptocurrency market (2018) — link
- Distribution of the Estimators for Autoregressive Time Series with a Unit Root (1979) — link
- Crypto Market Cap Charts (2024) — link
- An overview of COVID -19 (2020) — link
- Pairs trading (2005) — link
- ’ Truly a sham market’: Jim Cramer says you need to ignore the ‘crypto cheerleaders’ now that bitcoin is bouncing — this is why and what he likes instead (2023) — link
- Crypto craze can go the same way as tulip mania - Times of India (2022) — link
- Cryptocurrency: Value Formation Factors and Investment Risks (2023) — link
- Cryptocurrency: A new investment opportunity? (2018) — link
- Objective and subjective risks of investing into cryptocurrencies (2021) — link
- Cryptocurrency Risks , Fraud Cases , and Financial Performance (2023) — link
- A stochastic model for commodity pairs trading (2016) — link
- Statistical Arbitrage with Pairs Trading (2016) — link
- Pairs trading based on statistical variability of the spread process (2013) — link
- Optimal trading strategies for Lévy -driven Ornstein – Uhlenbeck processes (2019) — link
- Estimation of Ornstein - Uhlenbeck Process Using Ultra - High - Frequency Data with Application to Intraday Pairs Trading Strategy (2022) — link
- Optimal pairs trading: A stochastic control approach (2008) — link
- Optimal market-neutral currency trading on the cryptocurrency platform — → 2405.15461
- High- Frequency Trading and Price Discovery (2014) — link
- Arbitrage (1989) — link
- Stable-baselines3: Reliable reinforcement learning implementations (2021)
- Stable-baselines3: Reliable reinforcement learning implementations (2021)
- Stable- Baselines3 : Reliable Reinforcement Learning Implementations
- Reinforcement Learning Coach (2017) — link
- Reinforcement learning algorithms: An overview and classification (2021)
- Air power’s quest for strategic paralysis (1995)
- Maximum drawdown (2004)
- Maximum drawdown (2004)
- Sortino: a ‘sharper’ratio (2013)
- Capital Asset Prices : A Theory of Market Equilibrium Under Conditions of Risk * (1964) — link
- Continuous control with deep reinforcement learning (2019) — link
- Addressing Function Approximation Error in Actor - Critic Methods (2018) — link
- Proximal Policy Optimization Algorithms (2017) — link
- Soft Actor - Critic Algorithms and Applications (2019) — link
- Continuous control with deep reinforcement learning (2019) — link
- Playing Atari with Deep Reinforcement Learning (2013) — link
- Markov decision process (2017) — link
- The Variation of Some Other Speculative Prices (1967) — link
- Extended serogrouping scheme for motile, mesophilic Aeromonas species (1990) — link
- A Deep Reinforcement Learning Approach for Automated Cryptocurrency Trading (2019) — link
- Improving Pairs Trading Strategies via Reinforcement Learning (2021) — link
- Mastering Pair Trading with Risk - Aware Recurrent Reinforcement Learning — → 2304.00364
- Deep reinforcement learning applied to statistical arbitrage investment strategy on cryptomarket (2024) — link
- Enhancing a Pairs Trading strategy with the application of Machine Learning (2020) — link
- FinRL 0.3.1 documentation (2024) — link
- FX trading via recurrent reinforcement learning (2003) — link
- Making Financial Trading by Recurrent Reinforcement Learning (2007) — link
- Regime-switching recurrent reinforcement learning for investment decision making (2012) — link
- Deep Reinforcement Learning for Trading (2020) — link
- Deep Reinforcement Learning in Quantitative Algorithmic Trading : A Review (2021) — link
- Reinforcement Learning in Financial Markets (2019) — link
- AlphaGo : Mastering the ancient game of Go with Machine Learning (2016) — link
- AlphaGo (2020) — link
- Financial Trading as a Game : A Deep Reinforcement Learning Approach (2018) — link
- Reinforcement learning: An introduction (2018) — link
- Optimizing the Pairs - Trading Strategy Using Deep Reinforcement Learning with Trading and Stop - Loss Boundaries (2019) — link
- Hybrid Deep Reinforcement Learning for Pairs Trading (2022) — link
- Select and Trade : Towards Unified Pair Trading with Hierarchical Reinforcement Learning (2023) — link
- A new interpretation of information rate (1956)
- Chaper 9 - The kelly criterion in blackjack sports betting, and the stock market* (2008) — link
- The Kelly Criterion and the Stock Market (1992) — link
- Pearson correlation coefficient (2009)
- On Trading of Equities : A Robust Control Paradigm (2008) — link
- Modern control engineering (2010)
- Algorithmic Trading Market Size , Share \textbar Global Report [2030] (2023) — link
- Transfer costs, spatial arbitrage, and testing for food market integration (1997)
- Covered interest arbitrage in the 1970’s (1981) — link
- Merger (risk) arbitrage strategy (2007)
- Theory of Rational Option Pricing (1973) — link
- The Pricing of Options on Debt Securities (1980) — link
- An Introduction to Probability Theory (1984)
- An equilibrium characterization of the term structure (1977) — link
- Using a Genetic Algorithm to Improve Recurrent Reinforcement Learning for Equity Trading (2016) — link
- Towards a Deep Reinforcement Learning Approach for Tower Line Wars (2017) — link
- Deep RTS : A Game Environment for Deep Reinforcement Learning in Real - Time Strategy Games (2018) — link
- Arbitrage Theory in Continuous Time (2019)
- Arbitrage Theory in Continuous Time (2004)
- Control Systems and Reinforcement Learning (2022) — link
- FinRL : Deep Reinforcement Learning Framework to Automate Trading in Quantitative Finance (2021) — link
- FinRL - Meta : Market Environments and Benchmarks for Data - Driven Financial Reinforcement Learning (2022) — link
- FinRL : A Deep Reinforcement Learning Library for Automated Stock Trading in Quantitative Finance (2022) — link
- Practical Deep Reinforcement Learning Approach for Stock Trading (2022) — link
- Long Short - Term Memory (1997) — link
- Time series analysis (2020)
- Control System Desig (2000)
- Comparative analysis between the fundamental and technical analysis of stocks (2016) — link
- Quantitative Trading : How to Build Your Own Algorithmic Trading Business (2021)
- An Overview of Market Manipulation (2018) — link
- Liquidity in the global currency market (2022) — link
- A basic working principle of Model Predictive Control (2009)
- Triple Bottom ( Chart pattern) (2010) — link
- Quantitative Finance (2019) — link
- Price Jump Indicators : Stock Market Empirics During the Crisis (2013) — link
- Jumps in Financial Markets : A New Nonparametric Test and Jump Dynamics (2008) — link
- A Markovian Decision Process (1957) — link
- Reinforcement learning diagram of a Markov decision process based on a figure from ’ Reinforcement Learning An Introduction ’ second edition by Sutton and Barto . (2020)
- Contrarian and momentum trading: a review of the literature (2014) — link
- Momentum investing: a systematic literature review and bibliometric analysis (2022) — link
- Optimization consensus modeling of a closed-loop carbon quota trading mechanism regarding revenue and fairness (2021) — link
- Statistical Arbitrage in the U . S . Equities Market (2008) — link
- Encyclopedia of Chart Patterns (2005)
- Value Investing : From Graham to Buffett and Beyond (2020)
- Returns to Buying Winners and Selling Losers : Implications for Stock Market Efficiency (1993) — link
- Evidence of Predictable Behavior of Security Returns (1990) — link
- Market capitalization of listed domestic companies (current US $) (2020) — link
- OTC foreign exchange turnover in April 2022 (2022)
- Regulation spillovers across cryptocurrency markets (2020) — link
- Safe-haven currency: An empirical identification (2017) — link
- Safe Haven Currencies * (2010) — link
- The relationship between implied volatility and cryptocurrency returns (2020) — link
- The economics of BitCoin price formation (2016) — link
- Recommendation Systems for Peer to Peer Lending System (2021) — link
- Forecasting mid-price movement of Bitcoin futures using machine learning (2021) — link
- Stacking hybrid GARCH models for forecasting Bitcoin volatility (2021) — link
- The predictive power of implied volatility: Evidence from 35 futures markets (2003) — link
- GARCH vs. stochastic volatility: Option pricing and risk management (2002) — link
- Dynamic Volatility Trading Strategies in the Currency Option Market (2000) — link
- Pairs Trading in Cryptocurrency Markets (2020) — link
- Trading and arbitrage in cryptocurrency markets (2020) — link
- Cryptocurrency trading: a comprehensive survey (2022) — link
- Mutual Fund Performance (1966) — link
- Algorithmic Trading of Cryptocurrency Based on Twitter Sentiment Analysis (2015) — link
- Automated bitcoin trading via machine learning algorithms (2015)
- Price discovery on Bitcoin exchanges (2015) — link
- Bayesian regression and Bitcoin (2014) — link
- Speculative bubbles in Bitcoin markets? An empirical investigation into the fundamental value of Bitcoin (2015) — link
- A next-generation smart contract and decentralized application platform (2014)
- Bitcoin: A peer-to-peer electronic cash system (2008)
- Correlation Examples (2007) — link
- Why do we Sometimes get Nonsense - Correlations between Time - Series ?– A Study in Sampling and the Nature of Time - Series (1926) — link
- Co- Integration and Error Correction : Representation , Estimation , and Testing (1987) — link
- Long- Run Economic Relationships : Readings in Cointegration (1991) — link
- SPURIOUS REGRESSIONS IN ECONOMETRICS (1974)
- Portfolio Selection (1952) — link
- Stochastic Trends in Stock Prices : Evidence from Latin American Markets (1997) — link
- Using Cointegration to Hedge and Trade International Equities (2003) — link
- Identifying small mean-reverting portfolios (2011) — link
- Trading in the Presence of Cointegration (2012) — link
- Evaluation of pairs-trading strategy at the Brazilian financial market (2009) — link
- M of a Kind : A Multivariate Approach at Pairs Trading (2007) — link
- Statistical arbitrage in the US equities market (2010) — link
- New tools for spread trading (2008)
- Pairs trading and outranking: The multi-step-ahead forecasting case (2010) — link
- Pairs selection and outranking: An application to the S & P 100 index (2009) — link
- Optimal Convergence Trade Strategies (2013) — link
- Dynamic Portfolio Selection in Arbitrage (2007) — link
- Analytic solutions for optimal statistical arbitrage trading (2010) — link
- A computational methodology for modelling the dynamics of statistical arbitrage (2000)
- Cointegration portfolios of European equities for index tracking and market neutral strategies (2005) — link
- Pairs Trading : Quantitative Methods and Analysis / G . Vidyamurthy . (2004)
- Empirical Investigation of an Equity Pairs Trading Strategy (2019) — link
- Are Pairs Trading Profits Robust to Trading Costs ? (2012) — link
- Does Simple Pairs Trading Still Work ? (2010) — link
- The Application of Pairs Trading to Energy Futures Markets (2008)
- Too Interconnected to Fail ? The rescue of Long - Term Capital Management (2009)
- How Far Can We Push the " Law of One Price “? (1977) — link
- The Law of One Price in International Trade : A Critical Review (1999) — link
- Pairs Trading : Performance of a Relative Value Arbitrage Rule (2006) — link
- Financial markets can go mad: evidence of irrational behaviour during the South Sea Bubble1 (2005) — link
- Efficient Capital Markets : A Review of Theory and Empirical Work (1970) — link
- Statistical Arbitrage Pairs Trading Strategies : Review and Outlook (2017) — link
- Pricing Cryptocurrency Options : The Case of CRIX and Bitcoin (2018) — link
2 of 175 cited works are in the corpus; resolved via arXiv source bundles, Semantic Scholar and OpenAlex. Corpus-wide: 2518 linked papers.