Optimizing Cryptocurrency Portfolio Rebalancing: A Machine Learning Approach
DOI:
https://doi.org/10.61453/INTIj.202564Keywords:
Cryptocurrencies, portfolio management, machine learningAbstract
Ever since the introduction of Bitcoin, cryptocurrencies have attracted interest from many due to their potential for appreciation. They have also been stigmatized for their volatility, low correlation with traditional assets, and uncertain regulatory conditions. Nevertheless, many cryptocurrencies still attract the attention of major players in finance. As in the management of a portfolio of other assets, there is a need to regularly rebalance the portfolio to optimize returns across different time horizons. This study evaluates four machine learning models, Logistic Regression, Decision Tree, K-Nearest Neighbors, and Gradient Boosting, for identifying optimal cryptocurrency rebalancing decisions. Using a momentum-based approach with a 30-day forward window, the models are trained to classify assets as hold or rebalance based on future price movement. Our approach is based on feature engineering and hyperparameter tuning. Results show that tree-based models, such as Decision Tree and Gradient Boosting, demonstrate superior classification performance in identifying optimal rebalancing moments. However, the study also highlights the limitations of using historical data exclusively without referring to other external factors such as market sentiment and regulatory changes. Overall, the study makes a contribution to the field of cryptocurrency portfolio management by providing one of the first comparative evaluations of multiple ML architectures for cryptocurrency rebalancing decisions, demonstrating the potential of machine learning to improve portfolio management in highly volatile markets.
References
Acharya, B. B. (2024). Comparative analysis of machine learning algorithms: KNN, SVM, decision tree, and logistic regression for efficiency and performance. International Journal for Research in Applied Science and Engineering Technology, 12(11), 614–619. https://doi.org/10.22214/ijraset.2024.65138
Adediran, A., Babajide, B., & Osina, N. (2023). Exploring the nexus between price and volume changes in the cryptocurrency market. Journal of Asset Management, 24(6), 498–512. https://doi.org/10.1057/s41260-023-00323-2
Ali, N., Neagu, D., & Trundle, P. (2019). Evaluation of k-nearest neighbour classifier performance for heterogeneous data sets. SN Applied Sciences, 1(12). https://doi.org/10.1007/s42452-019-1356-9
Almeida, J., & Gonçalves, T. C. (2022). A systematic literature review of volatility and risk management on cryptocurrency investment: A methodological point of view. Risks, 10(5), 107. https://doi.org/10.3390/risks10050107
Bizzyvinci. (n.d.). CoinMarketCap historical data [Dataset]. Kaggle. https://www.kaggle.com/datasets/bizzyvinci/coinmarketcap-historical-data
Brière, M., Oosterlinck, K., & Szafarz, A. (2015). Virtual currency, tangible return: Portfolio diversification with Bitcoin. Journal of Asset Management, 16(6), 365–373. https://doi.org/10.1057/jam.2015.5
CoinMarketCap. (n.d.). Historical snapshot data. https://coinmarketcap.com/historical/
Colombo, J., Cruz, F., Paese, L., & Cortes, R. (2021). The diversification benefits of cryptocurrencies in multi-asset portfolios: cross-country evidence. Available at SSRN 3776260. https://doi.org/10.2139/ssrn.3776260
Díaz-Eufracio, B. I., & Medina-Franco, J. L. (2022). Machine learning models to predict protein–protein interaction inhibitors. Molecules, 27(22), 7986. https://doi.org/10.3390/molecules27227986
Elton, E. J., & Gruber, M. J. (1997). Modern portfolio theory, 1950 to date. Journal of Banking & Finance, 21(11–12), 1743–1759. https://doi.org/10.1016/S0378-4266(97)00048-4
Frahm, G. (2018). An intersection–union test for the Sharpe ratio. Risks, 6(2), 40. https://doi.org/10.3390/risks6020040
Giudici, P., & Polinesi, G. (2019). Crypto price discovery through correlation networks. Annals of Operations Research, 299(1–2), 443–457. https://doi.org/10.1007/s10479-019-03282-3
Gupta, N., Mitra, P., & Banerjee, D. (2022). Cryptocurrencies and traditional assets: Decoding the analogy from emerging economies with crypto usage. Investment Management and Financial Innovations, 20(1), 1–13. https://doi.org/10.21511/imfi.20(1).2023.01
Hanif, W., Ko, H. U., Pham, L., & Kang, S. H. (2023). Dynamic connectedness and network in the high moments of cryptocurrency, stock, and commodity markets. Financial Innovation, 9(1), 84. https://doi.org/10.1186/s40854-023-00474-6
Hansun, S., Wicaksana, A., & Khaliq, A. Q. (2022). Multivariate cryptocurrency prediction: Comparative analysis of three recurrent neural network approaches. Journal of Big Data, 9(1). https://doi.org/10.1186/s40537-022-00601-7
Hastie, T., Friedman, J., & Tibshirani, R. (2001). The elements of statistical learning. Springer. https://doi.org/10.1007/978-0-387-21606-5
Jiang, Z., & Liang, J. (2017). Cryptocurrency portfolio management with deep reinforcement learning. In 2017 Intelligent Systems Conference (IntelliSys). https://doi.org/10.1109/intellisys.2017.8324237
Just, M., & Echaust, K. (2024). Cryptocurrencies against stock market risk: New insights into hedging effectiveness. Research in International Business and Finance, 67, 102134. https://doi.org/10.1016/j.ribaf.2023.102134
Kondrat, I., & Drala, R. (2019). Portfolio management with cryptocurrencies. Market Infrastructure, (33). https://doi.org/10.32843/infrastruct33-43
Kotsiantis, S. B. (2011). Decision trees: A recent overview. Artificial Intelligence Review, 39(4), 261–283. https://doi.org/10.1007/s10462-011-9272-4
Koumou, G. B. (2020). Diversification and portfolio theory: A review. Financial Markets and Portfolio Management, 34(3), 267–312. https://doi.org/10.1007/s11408-020-00352-6
Kumar, S. (2024). Logistic regression. In Python for Accounting and Finance (pp. 319–327). https://doi.org/10.1007/978-3-031-54680-8_19
Letho, L., Chelwa, G., & Alhassan, A. L. (2022). Cryptocurrencies and portfolio diversification in an emerging market. China Finance Review International, 12(1), 20–50. https://doi.org/10.1108/cfri-06-2021-0123
Lin, W.-C., & Tsai, C.-F. (2019). Missing value imputation: A review and analysis of the literature (2006–2017). Artificial Intelligence Review, 53(2), 1487–1509. https://doi.org/10.1007/s10462-019-09709-4
Lin, Y. F., Huang, T. M., Chung, W. H., & Ueng, Y. L. (2020). Forecasting fluctuations in the financial index using a recurrent neural network based on price features. IEEE Transactions on Emerging Topics in Computational Intelligence, 5(5), 780-791. https://doi.org/10.1109/TETCI.2020.2971218
Liu, W. (2019). Portfolio diversification across cryptocurrencies. Finance Research Letters, 29, 200–205. https://doi.org/10.1016/j.frl.2018.07.010
Liu, Y., & Tsyvinski, A. (2020). Risks and returns of cryptocurrency. The Review of Financial Studies, 34(6), 2689–2727. https://doi.org/10.1093/rfs/hhaa113
Lorenzo, L., & Arroyo, J. (2023). Online risk-based portfolio allocation on subsets of crypto assets applying a prototype-based clustering algorithm. Financial Innovation, 9(1). https://doi.org/10.1186/s40854-022-00438-2
Markowitz, H. (1952). Portfolio selection. The Journal of Finance, 7(1), 77. https://doi.org/10.2307/2975974
Musa, A. B. (2012). Comparative study on classification performance between support vector machine and logistic regression. International Journal of Machine Learning and Cybernetics, 4(1), 13–24. https://doi.org/10.1007/s13042-012-0068-x
Naidu, G., Zuva, T., & Sibanda, E. M. (2023). A review of evaluation metrics in machine learning algorithms. In Lecture Notes in Networks and Systems (pp. 15–25). https://doi.org/10.1007/978-3-031-35314-7_2
Nguyen, Q. M., et al. (2023). Cryptocurrency portfolio optimization by neural networks. In 2023, IEEE Symposium Series on Computational Intelligence (SSCI). https://doi.org/10.1109/ssci52147.2023.10371855
Ozturk Kiyak, E., Ghasemkhani, B., & Birant, D. (2023). High-level K-Nearest Neighbors (HLKNN): A supervised machine learning model for classification analysis. Electronics, 12(18), 3828. https://doi.org/10.3390/electronics12183828
Passalis, N., Kanniainen, J., Gabbouj, M., Iosifidis, A., & Tefas, A. (2021). Forecasting financial time series using robust deep adaptive input normalization. Journal of Signal Processing Systems, 93(10), 1235-1251. https://doi.org/10.1007/s11265-020-01624-0
Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., ... & Duchesnay, E. (2011). Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12, 2825–2830. https://doi.org/10.48550/arXiv.1201.0490
Poudel, S., Paudyal, R., Cankaya, B., Sterlingsdottir, N., Murphy, M., Pandey, S., ... & Poudel, K. (2023). Cryptocurrency price and volatility predictions with machine learning. Journal of Marketing Analytics, 11(4), 642-660. https://doi.org/10.1057/s41270-023-00239-1
Ramkumar, G. (2021). Cryptocurrency portfolio construction using machine learning models. In Contemporary Trends and Challenges in Finance (pp. 103–122). https://doi.org/10.1007/978-3-030-73667-5_7
Ruiz Roque da Silva, I., Junior, E. H., & Balbi, P. P. (2022). Cryptocurrencies trading algorithms: A review. Journal of Forecasting, 41(8), 1661–1668. https://doi.org/10.1002/for.2886
S Kumar, A., & Ajaz, T. (2019). Co-movement in cryptocurrency markets: Evidence from wavelet analysis. Financial Innovation, 5(1). https://doi.org/10.1186/s40854-019-0143-3
Sahu, S., et al. (2024). Analyzing portfolio optimization in cryptocurrency markets: A comparative study of short-term investment strategies using an hourly data approach. Journal of Risk and Financial Management, 17(3), 125. https://doi.org/10.3390/jrfm17030125
Salehi, F., Abbasi, E., & Hassibi, B. (2019). The impact of regularization on high-dimensional logistic regression. https://arxiv.org/abs/1906.03761
Sebastião, H., & Godinho, P. (2021). Forecasting and trading cryptocurrencies with machine learning under changing market conditions. Financial Innovation, 7(1). https://doi.org/10.1186/s40854-020-00217-x
Shankar Raja, M. A., et al. (2022). Classification of various factors that have caused major fluctuations in cryptocurrency markets. SJCC Management Research Review, 12(2), 22–43. https://doi.org/10.35737/sjccmrr/v12/i2/2022/172
Smales, L. A. (2021). Volatility spillovers among cryptocurrencies. Journal of Risk and Financial Management, 14(10), 493. https://doi.org/10.3390/jrfm14100493
Tenkam, H. M., Mba, J. C., & Mwambi, S. M. (2022). Optimization and diversification of cryptocurrency portfolios: A composite copula-based approach. Applied Sciences, 12(13), 6408. https://doi.org/10.3390/app12136408
Trimborn, S., Li, M., & Härdle, W. K. (2017). Investing with cryptocurrencies – A liquidity-constrained investment approach. SSRN Electronic Journal. https://doi.org/10.2139/ssrn.2999782
Zaimovic, A., Omanovic, A., & Arnaut-Berilo, A. (2021). How many stocks are sufficient for equity portfolio diversification? A review of the literature. Journal of Risk and Financial Management, 14(11), 551. https://doi.org/10.3390/jrfm14110551
Zhang, C., Zhang, Y., Shi, X., Almpanidis, G., Fan, G., & Shen, X. (2019). On incremental learning for gradient boosting decision trees. Neural Processing Letters, 50(1), 957-987. https://doi.org/10.1007/s11063-019-09999-3
Zhang, C., Zohren, S., & Roberts, S. (2020). Deep learning for portfolio optimisation. SSRN Electronic Journal. https://doi.org/10.2139/ssrn.3613600
Zhang, M., Zhu, B., Li, Z., Jin, S., & Xia, Y. (2024). Relationships among return and liquidity of cryptocurrencies. Financial Innovation, 10(1), 3. https://doi.org/10.1186/s40854-023-00532-z
Zhu, Y., Ma, J., Gu, F., Wang, J., Li, Z., Zhang, Y., ... & Yang, X. (2023). Price prediction of Bitcoin based on adaptive feature selection and model optimization. Mathematics, 11(6), 1335. https://doi.org/10.3390/math11061335
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 INTI Journal

This work is licensed under a Creative Commons Attribution 4.0 International License.