Predicting Bitcoin Price Using Random Forest Regression: A Non-Linear Machine Learning Approach to Cryptocurrency Forecasting

  • Arhaan Sharma Delhi Public School RK Puram, Kaifi Azmi Marg, KD Colony, Sector 12, Rama Krishna Puram, New Delhi, Delhi 110022, India
Keywords: Predicting Bitcoin; Forest Regression; Machine Learning; Cryptocurrency Forecasting

Abstract

This paper examines the predictability of Bitcoin price changes through a Random Forest Regression model that is used to predict the future price using past daily OHLCV (Open, High, Low, Close, Volume) data between 2011 and 2025. Since the cryptocurrency markets are non-linear and heteroskedastic, as well-documented, the customary linear models are not sufficient to understand the intricate dynamics of Bitcoin prices. The approach of the present paper consists of an ensemble machine learning strategy, with engineered features, including lagged prices, moving averages, log returns, and volatility measures, to increase the predictive accuracy. The non-parametric model is justified as linearity diagnostics such as QQ plots, OLS residual analysis, rolling variance, and Pearson-Spearman correlation comparisons demonstrated that data have a non-linear form. On the test set, the Random Forest model has reached an R 2 value of 0.9878 and a mean absolute percentage error (MAPE) of 3.29% which is an outstanding predictive performance. The results are relevant in the emerging body of research on machine learning applications in financial forecasting and emphasize the need to use non-linear modelling in volatile asset markets. Feature importance analysis further identified lagged prices and moving averages as the dominant predictors, confirming that short-term price momentum is the primary driver of Bitcoin price behaviour.

References

Bitcoin (BTC) 2022 2025 Price Analysis: Trends, Volatility, and Risk Adjusted Outlook. (2025). https://doi.org/10.5281/zenodo.17267053

Zhang, W., Zhang, W., Wang, P., Li, X., Shen, D., & Shen, D. (2018). Multifractal Detrended Cross-Correlation Analysis of the Return-Volume Relationship of Bitcoin Market. Complexity, 2018(2018), 1–20. https://doi.org/10.1155/2018/8691420
Moyo, C., & Phiri, A. (2023). Re-Examining Bitcoin’s Price–Volume Relationship: A Time-Varying Spectral Analysis. Journal of Risk and Financial Management, 16(7), 324. https://doi.org/10.3390/jrfm16070324
Yan, Y., Shao, W., & Wang, J. (2022). Comparison of Price-Volume Correlation for Some Cryptocurrencies Based on MF-ADCCA. Fluctuation and Noise Letters. https://doi.org/10.1142/s0219477522500407
Conlon, T., Corbet, S., & McGee, R. (2023). The Bitcoin Volume-volatility Relationship: a High Frequency Analysis of Futures and Spot Exchanges. Social Science Research Network. https://doi.org/10.2139/ssrn.4615028
Chang, K.-L. (2022). The tail dependence structure between return and trading volume: an investigation on the Bitcoin market. Applied Economics, 55(11), 1234–1246. https://doi.org/10.1080/00036846.2022.2096870
Navarro, R., Leyvraz, F., & Larralde, H. (n.d.). Statistical properties of volume in the Bitcoin/USD market.
Balcilar, M., Bouri, E., Gupta, R., & Roubaud, D. (2016). Can Volume Predict Bitcoin Returns and Volatility? A Nonparametric Causality-in-Quantiles Approach. Research Papers in Economics. https://ideas.repec.org/p/pre/wpaper/201662.html
Gemici, E., & Polat, M. (2019). Relationship between price and volume in the Bitcoin market. The Journal of Risk Finance, 20(5), 435–444. https://doi.org/10.1108/JRF-07-2018-0111
Gemici, E., & Polat, M. (n.d.). Relationship between price and volume in the Bitcoin market. https://doi.org/10.1108/jrf-07-2018-0111?utm_campaign=repec&wt.mc_id=repec
Gbadebo, A. D. (2023). Dynamic Asymmetric Causality of Bitcoin’s Price-Volume Relation. SAGE Open, 13(4). https://doi.org/10.1177/21582440231210165
Figà-Talamanca, G., & Patacca, M. (2020). Disentangling the relationship between Bitcoin and market attention measures. 47(1), 71–91. https://doi.org/10.1007/S40812-019-00133-X
Balcilar, M., Bouri, E., Gupta, R., & Roubaud, D. (2017). Can Volume Predict Bitcoin Returns and Volatility? A Quantiles-Based Approach. Social Science Research Network. https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2938555
Sahoo, P. K., Sethi, D., & Acharya, D. (n.d.). Is bitcoin a near stock? Linear and non-linear causal evidence from a price–volume relationship. https://doi.org/10.1108/ijmf-06-2017-0107?utm_campaign=repec&wt.mc_id=repec
Medha, B., & Tamizharasi, D. (2025). Volatility and Returns of Bitcoin During US Elections 2016 and 2020. International Journal For Multidisciplinary Research, 7(3). https://doi.org/10.36948/ijfmr.2025.v07i03.48648
Blasco, N., Corredor, P., & Satrústegui, N. (2025). The impact of global news items on bitcoin volatility. https://doi.org/10.1080/02102412.2025.2512615
Bitcoin (BTC) 2022 2025 Price Analysis: Trends, Volatility, and Risk Adjusted Outlook. (2025). https://doi.org/10.5281/zenodo.17267054
Buthelezi, E. M. (2024). Navigating Global Uncertainty: Examining the Effect of Geopolitical Risks on Cryptocurrency Prices and Volatility in a Markov-Switching Vector Autoregressive Model. International Economic Journal, 1–27. https://doi.org/10.1080/10168737.2024.2393589
Bitcoin (BTC) 2022 2025 Price Analysis: Trends, Volatility, and Risk Adjusted Returns. (2025). https://doi.org/10.5281/zenodo.17267129
Buthelezi, E. M. (2024). Navigating Global Uncertainty: Examining the Effect of Geopolitical Risks on Cryptocurrency Price and Volatility in Markov-Switching Vector Autoregressive Model. https://doi.org/10.21203/rs.3.rs-3914527/v1
Bitcoin (BTC) 2022 2025 Comprehensive Technical Analysis: Trends, Volatility, and Future Outlook. (2025). https://doi.org/10.5281/zenodo.17267091
Miller, R. (2025). The Role of News Sentiment on Bitcoin’s Realised Volatility. https://doi.org/10.5281/zenodo.15710390
Köse, N., Yıldırım, H., Ünal, E., & Lin, B. (2024). The Bitcoin price and Bitcoin price uncertainty: Evidence of Bitcoin price volatility. Journal of Futures Markets, 44(4), 673–695. https://doi.org/10.1002/fut.22487
Bitcoin: Price Formation, Economic Impact, and Volatility Dynamics. (2025). Indian Scientific Journal Of Research In Engineering And Management, 09(11), 1–9. https://doi.org/10.55041/ijsrem53467
Conrad, C., Custovic, A., & Ghysels, E. (2018). Long- and short-term cryptocurrency volatility components: A GARCH-MIDAS analysis. 11(2), 23. https://doi.org/10.3390/JRFM11020023
In-Depth Market Analysis of BTC (BTC-USD) for Investors. (2025). https://doi.org/10.5281/zenodo.17267756
Fang, Y., Tang, Q., & Wang, Y. (2024). Geopolitical Risk and Cryptocurrency Market Volatility. Emerging Markets Finance and Trade, 1–17. https://doi.org/10.1080/1540496x.2024.2343948
Mohammed, M. A., Heredero, C. de P., & Botella, J. L. M. (2024). The driving forces behing the prices of major cryptocurrencies: Evidence for the past five years. Intangible Capital. https://doi.org/10.3926/ic.2575
Będowska-Sójka, B., Górka, J., Hemmings, D., & Zaremba, A. (2024). Uncertainty and cryptocurrency returns: A lesson from turbulent times. International Review of Financial Analysis. https://doi.org/10.1016/j.irfa.2024.103330
Al Mamun, G. S. U., Suleman, M. T., Kang, S. H., & Kang, S. H. (2020). Geopolitical risk, uncertainty and Bitcoin investment. Physica A-Statistical Mechanics and Its Applications, 540, 123107. https://doi.org/10.1016/J.PHYSA.2019.123107
https://in.investing.com/crypto/bitcoin/historical-data
Published
2026-06-06
How to Cite
Sharma, A. (2026). Predicting Bitcoin Price Using Random Forest Regression: A Non-Linear Machine Learning Approach to Cryptocurrency Forecasting. International Journal of Social Science Research and Review, 9(6), 207-217. https://doi.org/10.47814/ijssrr.v9i6.3462