Enhancing Pairs Trading Strategies in the Cryptocurrency Industry using Machine Learning Clustering Algorithms

Authors

  • Anwar Hasan Abdllah Othman

Keywords:

Machine learning, Volatility, Pairs Trading, Clustering Algorithms, cryptocurrencies market, cointegration, algorithmic trading, trading strategies, market efficiency.

Abstract

Conventional pair trading methods, which rely on statistical and linear assumptions, are challenged by the high volatility and dynamic nature of cryptocurrency markets. This study explores how pair trading strategies might be improved by using machine learning clustering algorithms to uncover latent links between cryptocurrencies. Specifically, it employs unsupervised clustering techniquesk-means, hierarchical clustering, and affinity propagationon daily closing prices of the top 50 cryptocurrencies from January 2021 to November 2024. The methodology includes data preprocessing, exploratory data analysis, clustering, and cointegration tests for pair selection.The main findings show that clustering algorithms can efficiently group cryptocurrencies based on similar behavioural price patterns, with affinity propagation outperforming other models in cluster definition. The study reveals 21 pairs with strong cointegrationstrategies among the chosen cryptocurrencies, indicating their appropriateness for trading. The study highlights the effectiveness of clustering algorithms in tackling cryptocurrency market volatility, optimizing pair selection, and adapting to dynamic conditions. It emphasizes the transformative potential of machine learning in enhancing trading techniques and efficiencyin cryptocurrencies market.The practical implications include advancing trading strategies for cryptocurrencies investors by incorporating machine learning techniques to enhance market efficiency and profitability.

References

Ian Aldridge (2013) High-frequency trading: a practical guide to algorithmic strategies and trading systems. 604.

Aigerim T. Aspembitova, Ling Feng, Lam Y. Chew (2021) Behavioral structure of users in cryptocurrency market. 16(1), e0242600.

Marco Avellaneda, Jeong-Hyun Lee (2010) Statistical arbitrage in the US equities market. 10(7), 761–782. https://doi.org/10.1080/14697680903166740

J. Bollen, H. Mao, X. Zeng (2011) Twitter mood predicts the stock market. 2(1), 1–8.

Ying Cen, Ming Luo, Guang Cen, Cheng Zhao, Zhiwei Cheng (2022) Financial Market Correlation Analysis and Stock Selection Application Based on TCN-Deep Clustering. 14(11), 331.

Zhihao Chen, Cheng Wang, Peng Sun (2022) A Novel Machine Learning-assisted Pairs Trading Approach for Trading Risk Reduction.

Yusuf Coskun, Oluwaseyi Akinsomi, Luis A. Gil-Alana, Olalekan S. Yaya (2023) Stock market responses to COVID-19: The behaviors of mean reversion, dependence and persistence.

Martin Ester, Hans-Peter Kriegel, Jörg Sander, Xiaowei Xu (1996) A density-based algorithm for discovering clusters in large spatial databases with noise.

Feng Fang, Carlo Ventre, Michele Basios, Ling Kanthan, David Martinez-Rego, Feng Wu, Ling Li (2022) Cryptocurrency trading: a comprehensive survey. 8(1), 13.

Erik Gatev, William N. Goetzmann, K. Geert Rouwenhorst (2006) Pairs trading: Performance of a relative-value arbitrage rule. 19(3), 797–827.

Ian Goodfellow, Yoshua Bengio, Aaron Courville (2016) Deep learning. https://www.deeplearningbook.org

Jorge Guijarro-Ordonez, Markus Pelger, Greg Zanotti (2021) Deep learning statistical arbitrage. https://arxiv.org/abs/2106.04028

Ling Guo, Yanlin Tao, Wolfgang K. Härdle (2019) Dynamic Network Perspective of Cryptocurrencies.

Saurabh Gupta, Himanshu Choudhary, D. R. Agarwal (2018) An empirical analysis of market efficiency and price discovery in the Indian commodity market. 19, 771-789.

C. Gurdgiev, D. O'Loughlin, B. Chlebowski (2019) Behavioral basis of cryptocurrencies markets: Examining effects of public sentiment, fear, and uncertainty on price formation. 49, 110-121.

F. Hachicha, A. Masmoudi, I. Abid, H. Obeid (2023) Herding behavior in exploring the predictability of price clustering in cryptocurrency market. 57, 104178.

M. Hamka, N. Ramdhoni (2022) K-means cluster optimization for potentiality student grouping using elbow method. 2578(1).

N. Huck (2019) Large data sets and machine learning: Applications to statistical arbitrage. 278(1), 330-342.

A. K. Jain (2010) Data clustering: 50 years beyond K-means. 31(8), 651–666.

J. Jeon, G. Kim (2022) Analytic valuation formula for American strangle option in the mean-reversion environment.

K. N. Johnson (2020) Decentralized finance: Regulating cryptocurrency exchanges. 62, 1911.

S. Kessler, E. Gladchenko (2018) How to Combine Investment Signals in Long/Short Strategies-Insights from Simulations and Empirical Analyses.

D. Kim, B. J. Lee (2023) Shorting costs and profitability of long-short strategies. 63(1), 277-316.

P. C. Ko, P. C. Lin, H. T. Do, Y. H. Kuo, L. M. Mai, Y. F. Huang (2024) Pairs trading in cryptocurrency markets: A comparative study of statistical methods. 53(2), 102-119.

J. Kurka (2019) Do cryptocurrencies and traditional asset classes influence each other?. 31, 38–46.

J. Lee, F. L'heureux (2020) A regulatory framework for cryptocurrency. 31(3).

R. C. Leung, Y. M. Tam (2021) Statistical Arbitrage Risk Premium by Machine Learning. https://arxiv.org/abs/2103.09987

T. Leung, H. Nguyen (2019) Constructing cointegrated cryptocurrency portfolios for statistical arbitrage. 36(4), 581-599.

L. Lorenzo, J. Arroyo (2022) Analysis of the cryptocurrency market using different prototype-based clustering techniques. 8(1), 7.

M. Luo, V. E. Kontosakos, A. Pantelous, J. Zhou (2019) Cryptocurrencies: Dust in the Wind?.

S. Lv, Z. Xu, X. Fan, Y. Qin, M. Škare (2023) The mean reversion/persistence of financial cycles: Empirical evidence for 24 countries worldwide.

I. Makarov, A. Schoar (2020) Trading and arbitrage in cryptocurrency markets. 135(2), 293–319.

F. Murtagh, P. Contreras (2012) Algorithms for hierarchical clustering: An overview. 2(1), 86–97.

S. T. G. Nair (2021) Pairs trading in cryptocurrency market: A long-short story. 18(3), 127-141.

K. N. Ntsaluba (2019) AI/Machine learning approach to identifying potential statistical arbitrage opportunities with FX and Bitcoin Markets.

J. B. Pandya (2024) DEEP LEARNING APPROACH FOR STOCK MARKET TREND PREDICTION AND PATTERN FINDING.

A. Panigrahi, A. K. Nayak, R. Paul (2022) Impact of Clustering technique in enhancing the Blockchain network performance. 363-367.

A. Rejeb, K. Rejeb, J. G. Keogh (2021) Cryptocurrencies in modern finance: a literature review. 20(1), 93-118.

S. M. Sarmento, N. Horta (2020) Enhancing a pairs trading strategy with the application of machine learning. 158, 113490.

M. Schmidt (2024) Identifying trading opportunities using on-chain, news and price data.

R. S. Shah, A. Bhatia, A. Gandhi, S. Mathur (2021) Bitcoin data analytics: Scalable techniques for transaction clustering and embedding generation. 1-6.

C. Shi, B. Wei, S. Wei, W. Wang, H. Liu, J. Liu (2021) A quantitative discriminant method of elbow point for the optimal number of clusters in clustering algorithm. 2021, 1-16.

M. G. Shin, U. J. Baek, K. S. Shim, J. T. Park, S. H. Yoon, M. S. Kim (2019) Block analysis in bitcoin system using clustering with dimension reduction. 1-4.

Y. Shin, B. Yu, M. Greenwood-Nimmo (2013) Modelling asymmetric cointegration and dynamic multipliers in a nonlinear ARDL framework. https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2259467

N. Shivaraman (2023) Clustering-based solutions for energy efficiency, adaptability and resilience in IoT networks.

H. Soltani, J. Taleb, M. B. Abbes (2023) The directional spillover effects and time-frequency nexus between stock markets, cryptocurrency, and investor sentiment during the COVID-19 pandemic.

H. Tatsat, S. Puri, B. Lookabaugh (2020) Machine Learning and Data Science Blueprints for Finance.

K. Tatsumura, R. Hidaka, J. Nakayama, T. Kashimata, M. Yamasaki (2023) Pairs-Trading System Using Quantum-Inspired Combinatorial Optimization Accelerator for Optimal Path Search in Market Graphs. 11, 104406–104416.

N. Trabelsi (2018) Are There Any Volatility Spill-Over Effects among Cryptocurrencies and Widely Traded Asset Classes?.

G. J. A. Visagie (2017) An adaptive econometric system for statistical arbitrage.

J. Xie, R. Girshick, A. Farhadi (2016) Unsupervised deep embedding for clustering analysis. 478–487.

Abdulrezzak Zekiye (2023) AI-Assisted Investigation of On-Chain Parameters: Risky Cryptocurrencies and Price Factors.

B. Zhan, S. Zhang, H. S. Du, X. Yang (2022) Exploring statistical arbitrage opportunities using machine learning strategy. 60(3), 861-882.

M. Zhang, X. Tang, S. Zhao, W. Wang, Y. Zhao (2022) Statistical arbitrage with momentum using machine learning. 202, 194-202.

X. Zong (2021) Machine learning in stock indices trading and pairs trading.

Downloads

Published

2025-02-21

How to Cite

Enhancing Pairs Trading Strategies in the Cryptocurrency Industry using Machine Learning Clustering Algorithms. (2025). London Journal of Research In Management & Business, 25(1), 33-52. https://journalspress.uk/index.php/LJRMB/article/view/1179