Research Article

Forecasting and Anomaly Detection in Bitcoin Historical Data

Xinbei Li*
the Department of Computer and Information Sciences and the Department of Mathematics, Fordham University, 113 W 60th Street, New York, NY, the United States

* Corresponding author: [email protected]

Abstract

With the rapid development of the global economy and technology, Bitcoin trading has become an important channel for investors seeking wealth. However, its extreme price volatility presents significant risks and uncertainties, making it crucial to understand the driving factors behind these fluctuations. This research project analyzes Bitcoin price movements during the second half of 2024, a period characterized by dramatic price increases, particularly at year-end. Using a combination of visualization methods, ARIMA forecasting models, and isolation forest anomaly detection algorithms, the study examined the relationship between Bitcoin prices and major socioeconomic events. The findings revealed that the U.S. presidential election was the primary factor influencing Bitcoin’s significant price changes during this period. While technical analysis through ARIMA modeling provided valuable insights into price patterns, the strong correlation with political events demonstrated that major socioeconomic factors can substantially impact cryptocurrency markets. These results offer investors a more comprehensive framework for cryptocurrency investment decision-making, highlighting the importance of considering both technical indicators and external event impacts when navigating the volatile Bitcoin market.

Keywords: Bitcoin; Forecasting; Anomaly Detection; Time-Series Analysis; ARIMA; Isolation Forest; Socio-Economic Events
Published: April 10, 2025
DOI: 10.54254/2755-2721/2025.21901
Volume: ACE Vol.139
pp. 1-9
Download PDF

References

  1. Almasarweh, M., & Wadi, S. (2018). ARIMA model in predicting banking stock market data. Modern Applied Science, 12(11), 309-318. https://doi.org/10.5539/mas.v12n11p309
  2. Hochreiter, S., Schmidhuber, J., & Elvezia, C. (1997). Long short-term memory. Neural Computation, 9(8), 1735–1780. https://doi.org/10.1162/neco.1997.9.8.1735
  3. Aditya Satrio, C. B., Darmawan, W., Nadia, B. U., & Hanafiah, N. (2021). Time series analysis and forecasting of coronavirus disease in Indonesia using ARIMA model and PROPHET. Procedia Computer Science, 179, 524-532. https://doi.org/10.1016/j.procs.2021.01.036
  4. Ning, S., Shi, J., & Ren, M. (2022). A systematic review of machine learning in cryptocurrency market forecasting. Expert Systems with Applications, 202, 117200. https://doi.org/10.1016/j.eswa.2022.117200
  5. Parino, F., Beiró, M. G., & Gauvin, L. (2018). Analysis of the Bitcoin blockchain: Socio-economic factors behind the adoption. EPJ Data Science, 7(1), 38. https://doi.org/10.1140/epjds/s13688-018-0170-8
  6. Binance. (2024). Binance API Documentation. https://api.binance.com/api/v3/klines