Predictive analysis of cryptocurrency volatility using the random forest algorithm: the impact of macroeconomic indicators on Bitcoin and Ethereum
DOI:
https://doi.org/10.34140/bjbv7n2-032Palavras-chave:
cryptocurrencies, financial markets, interest rate, exchange rate, random forest algorithmResumo
This study explores the macroeconomic factors driving cryptocurrency price fluctuations, focusing on Bitcoin and Ethereum using the Random Forest machine learning model. It analyzes daily data from 2015 to 2025, incorporating key economic and financial indicators such as the S&P 500, NASDAQ, Treasury yield spreads, Federal Funds Rate, long-term Treasury rates, inflation, Brent oil prices, major exchange rates, and the Volatility Index. Separate predictive models for Bitcoin and Ethereum achieved high accuracy (R² = 0.999 and R² = 0.995, respectively), demonstrating the model's strong forecasting capability. The findings reveal that cryptocurrencies are increasingly influenced by traditional financial markets, particularly US stock indices, highlighting their integration into the global economic system. Bitcoin emerged as relatively stable and less sensitive to monetary policy shifts, functioning as a speculative hedge. In contrast, Ethereum showed greater sensitivity to liquidity and interest rate variables due to its linkage with decentralized finance applications. The study concludes that machine learning methods, combined with traditional macroeconomic indicators, can effectively explain and predict cryptocurrency market behavior, offering a foundation for developing new hybrid economic models tailored to the unique nature of digital assets.
Referências
Aboura, S. (2022). A note on the Bitcoin and Fed Funds rate. Empirical Economics, 63, 2577 - 2603. https://doi.org/10.1007/s00181-022-02207-7 .
Aharon, D. Y., Umar, Z., & Vo, X. V. (2021). Dynamic spillovers between the term structure of interest rates, bitcoin, and safe-haven currencies. Financial Innovation, 7(1). https://doi.org/10.1186/s40854-021-00274-w
Akyıldırım, E., Corbet, S., Lucey, B., Şensoy, A., & Yarovaya, L. (2020). The Relationship Between Implied Volatility and Cryptocurrency Returns. Econometric Modeling: International Financial Markets - Foreign Exchange eJournal. https://doi.org/10.2139/ssrn.3758513 .
Alfieri, É., Burlacu, R., & Enjolras, G. (2019). On the nature and financial performance of bitcoin. The Journal of Risk Finance, 20(2), 114-137. https://doi.org/10.1108/jrf-03-2018-0035
Anastasiou, D., Ballis, A., & Δράκος, Κ. (2021). Cryptocurrencies’ price crash risk and crisis sentiment. Finance Research Letters, 42, 101928. https://doi.org/10.1016/j.frl.2021.101928
Aydoğdu, A. (2024). Volatility spillovers of global economic policy uncertainty and fear index among cryptocurrencies: a wavelet-based dcc-garch approach. Journal of Applied Microeconometrics, 4(1), 13-29. https://doi.org/10.53753/jame.2417
Bani-Khalaf, O., & Taspinar, N. (2023). The role of oil price in determining the relationship between cryptocurrencies and non-fungible assets. Investment Analysts Journal, 52, 53 - 66. https://doi.org/10.1080/10293523.2022.2155354.
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, 94, 103330. https://doi.org/10.1016/j.irfa.2024.103330
Bouteska, A., Sharif, T., & Abedin, M. Z. (2023). Volatility spillovers and other dynamics between cryptocurrencies and the energy and bond markets. The Quarterly Review of Economics and Finance, 92, 1-13. https://doi.org/10.1016/j.qref.2023.07.008
Breiman, L. (2001). Random forests. Machine Learning, 45(1), 532.
Buthelezi, E. M. (2024). Cryptocurrency responses to u.s. monetary policy shocks: a data-driven exploration of price and volatility patterns. The American Economist, 70(1), 94-119. https://doi.org/10.1177/05694345241269036
Cao, G. and Xie, W. (2022). Asymmetric dynamic spillover effect between cryptocurrency and china's financial market: evidence from tvp-var based connectedness approach. Finance Research Letters, 49, 103070. https://doi.org/10.1016/j.frl.2022.103070
Chen, C., Liu, L., & Zhao, N. (2020). Fear sentiment, uncertainty, and bitcoin price dynamics: the case of covid-19. Emerging Markets Finance and Trade, 56(10), 2298-2309. https://doi.org/10.1080/1540496x.2020.1787150
Deniz, E., & Teker, D. (2020). CRYPTO CURRENCY APPLICATIONS IN FINANCIAL MARKETS: FACTORS AFFECTING CRYPTO CURRENCY PRICES. PressAcademia Procedia, 11(1), 34-37. https://doi.org/10.17261/Pressacademia.2020.1235
Doumenis, Y., Izadi, J., Dhamdhere, P., Katsikas, E., & Koufopoulos, D. (2021). A Critical Analysis of Volatility Surprise in Bitcoin Cryptocurrency and Other Financial Assets. Risks, 9(11), 207. https://doi.org/10.3390/risks9110207
Dubey, P. (2022). Short-run and long-run determinants of bitcoin returns: transnational evidence. Review of Behavioral Finance, 14(4), 533-544. https://doi.org/10.1108/rbf-02-2022-0040
Elsayed, A. H., Gözgör, G., & Yarovaya, L. (2022). Volatility and return connectedness of cryptocurrency, gold, and uncertainty: evidence from the cryptocurrency uncertainty indices. Finance Research Letters, 47, 102732. https://doi.org/10.1016/j.frl.2022.102732.
Farroukh, A., Metzger, M., & Mzoughi, H. (2024). Assessing the influence of cryptocurrencies on financial market stability. Eurasian Economic Review. https://doi.org/10.1007/s40822-024-00284-w.
Ghazani, M. M. and Khosravi, R. (2020). Multifractal detrended cross-correlation analysis on benchmark cryptocurrencies and crude oil prices. Physica A: Statistical Mechanics and Its Applications, 560, 125172. https://doi.org/10.1016/j.physa.2020.125172
Harb, É., Bassil, C., Kassamany, T., & Baz, R. (2022). Volatility interdependence between cryptocurrencies, equity, and bond markets. Computational Economics, 63(3), 951-981. https://doi.org/10.1007/s10614-022-10318-7
Janson, N. and Karoubi, B. (2021). The bitcoin: to be or not to be a real currency?. The Quarterly Review of Economics and Finance, 82, 312-319. https://doi.org/10.1016/j.qref.2021.09.005
Jareño, F., González, M. d. l. O., Garcí¬a, R. L., & Ramos, A. R. (2021). Cryptocurrencies and oil price shocks: a nardl analysis in the covid-19 pandemic. Resources Policy, 74, 102281. https://doi.org/10.1016/j.resourpol.2021.102281
Kakinaka, S., & Umeno, K. (2021). Cryptocurrency market efficiency in short- and long-term horizons during COVID-19: An asymmetric multifractal analysis approach. Finance Research Letters. https://doi.org/10.1016/j.frl.2021.102319.
Liu, J. and Serletis, A. (2019). Volatility in the cryptocurrency market. Open Economies Review, 30(4), 779-811. https://doi.org/10.1007/s11079-019-09547-5
Lyócsa, Š., Molnár, P., Plíhal, T., & Širaňová, M. (2020). Impact of macroeconomic news, regulation and hacking exchange markets on the volatility of bitcoin. Journal of Economic Dynamics and Control, 119, 103980. https://doi.org/10.1016/j.jedc.2020.103980
Matkovskyy, R. and Jalan, A. (2019). From financial markets to bitcoin markets: a fresh look at the contagion effect. Finance Research Letters, 31, 93-97. https://doi.org/10.1016/j.frl.2019.04.007
Meiryani, M., Tandyopranoto, C. D., Emanuel, J., Lindawati, A., Fahlevi, M., Aljuaid, M., … & Hasan, F. (2022). The effect of global price movements on the energy sector commodity on bitcoin price movement during the covid-19 pandemic. Heliyon, 8(10), e10820. https://doi.org/10.1016/j.heliyon.2022.e10820
Naeem, M. A., Karim, S., Abrar, A., Yarovaya, L., & Shah, A. A. (2023). Non-linear relationship between oil and cryptocurrencies: evidence from returns and shocks. International Review of Financial Analysis, 89, 102769. https://doi.org/10.1016/j.irfa.2023.102769
Naeem, M. A., Lucey, B. M., Karim, S., & Ghafoor, A. (2022). Do financial volatilities mitigate the risk of cryptocurrency indexes?. Finance Research Letters, 50, 103206. https://doi.org/10.1016/j.frl.2022.103206
Naïmy, V. Y., Haddad, O., Fernández‐Avilés, G., & Khoury, R. E. (2021). The predictive capacity of garch-type models in measuring the volatility of crypto and world currencies. Plos One, 16(1), e0245904. https://doi.org/10.1371/journal.pone.0245904
Nguyen, T. V., Nguyen, T. V. H., Nguyen, T. C., Pham, T. T. A., & Nguyen, Q. M. (2022). Stablecoins versus traditional cryptocurrencies in response to interbank rates. Finance Research Letters, 47, 102744. https://doi.org/10.1016/j.frl.2022.102744
Okorie, D. I. and Lin, B. (2020). Crude oil price and cryptocurrencies: evidence of volatility connectedness and hedging strategy. Energy Economics, 87, 104703. https://doi.org/10.1016/j.eneco.2020.104703
Palazzi, R. B., Júnior, G. d. S. R., & Klötzle, M. C. (2021). The dynamic relationship between bitcoin and the foreign exchange market: a nonlinear approach to test causality between bitcoin and currencies. Finance Research Letters, 42, 101893. https://doi.org/10.1016/j.frl.2020.101893
Rizvi, S. K. A., Naqvi, B., Mirza, N., & Umar, M. (2022). Safe haven properties of green, islamic, and crypto assets and investor's proclivity towards treasury and gold. Energy Economics, 115, 106396. https://doi.org/10.1016/j.eneco.2022.106396
Sakariyahu, R., Lawal, R., Adigun, R. A., Paterson, A., & Johan, S. (2024). One crash, too many: global uncertainty, sentiment factors and cryptocurrency market. Journal of International Financial Markets, Institutions and Money, 94, 102028. https://doi.org/10.1016/j.intfin.2024.102028
Salisu, A. A. and Ogbonna, A. E. (2022). The return volatility of cryptocurrencies during the covid-19 pandemic: assessing the news effect. Global Finance Journal, 54, 100641. https://doi.org/10.1016/j.gfj.2021.100641
Su, C. W., Xi, Y., Tao, R., & Umar, M. (2022). Can Bitcoin be a safe haven in fear sentiment?. Technological and Economic Development of Economy, 28(2), 268-289. https://doi.org/10.3846/tede.2022.15502
Torchelli, V. and Símaro, G. (2021). Criptomonedas, su tratamiento en las normas internacionales de informacion financiera / cryptocurrency, its treatment in international financial reporting standards. Brazilian Journal of Business, 3(1), 886-903. https://doi.org/10.34140/bjbv3n1-050
Tzeng, K. and Su, Y. (2024). Can u.s. macroeconomic indicators forecast cryptocurrency volatility?. The North American Journal of Economics and Finance, 74, 102224. https://doi.org/10.1016/j.najef.2024.102224
Ullah, M., Sohag, K., Nawaz, F., Mariev, O., Kayani, U. N., Mayburov, I., … & Дорошенко, С. В. (2024). Impact of oil price shocks on crypto and conventional financial assets during financial crises: evidence from the russian financial market. International Journal of Energy Economics and Policy, 14(4), 472-483. https://doi.org/10.32479/ijeep.16374
Umar, M., Rizvi, S. K. A., & Naqvi, B. (2021). Dance with the devil? the nexus of fourth industrial revolution, technological financial products and volatility spillovers in global financial system. Technological Forecasting and Social Change, 163, 120450. https://doi.org/10.1016/j.techfore.2020.120450
Ünal, E., & Köse, N. (2023). The impact of the oil price on mineable and non-mineable cryptocurrencies. Energy Sources, Part B: Economics, Planning, and Policy, 18. https://doi.org/10.1080/15567249.2023.2266692.
Wang, G., Liu, C., Sbai, E., Sheng, M., Hu, J., & Tao, M. (2024). Interrelations between bitcoin market sentiment, crude oil, gold, and the stock market with bitcoin prices: Vision from the hedging market. Studies in Economics and Finance. https://doi.org/10.1108/sef-03-2024-0137.
Wang, J., Liu, H., & Hsu, Y. (2024). A u-shaped relationship between the crypto fear-greed index and the price synchronicity of cryptocurrencies. Finance Research Letters, 59, 104763. https://doi.org/10.1016/j.frl.2023.104763
Wątorek, M., Drożdż, S., Kwapień, J., Minati, L., Oświȩcimka, P., & Stanuszek, M. (2021). Multiscale characteristics of the emerging global cryptocurrency market. Physics Reports, 901, 1-82. https://doi.org/10.1016/j.physrep.2020.10.005
