Skip to main content
QUICK REVIEW

[Paper Review] Bitcoin Price Prediction: An ARIMA Approach

Amin Azari|arXiv (Cornell University)|Apr 4, 2019
Blockchain Technology Applications and SecurityComputer Science6 references4 citations
TL;DR

This paper evaluates the ARIMA model for short-term Bitcoin price prediction using a 3-year dataset, finding it effective in stable sub-periods but limited in capturing sharp volatility, especially during 2017's price surge. The key contribution is identifying that ARIMA performance depends critically on window size and parameter selection, with optimal models reducing mean squared error from 118,000 to 16,000 as window size increased from 2 to 9 days.

ABSTRACT

Bitcoin is considered the most valuable currency in the world. Besides being highly valuable, its value has also experienced a steep increase, from around 1 dollar in 2010 to around 18000 in 2017. Then, in recent years, it has attracted considerable attention in a diverse set of fields, including economics and computer science. The former mainly focuses on studying how it affects the market, determining reasons behinds its price fluctuations, and predicting its future prices. The latter mainly focuses on its vulnerabilities, scalability, and other techno-crypto-economic issues. Here, we aim at revealing the usefulness of traditional autoregressive integrative moving average (ARIMA) model in predicting the future value of bitcoin by analyzing the price time series in a 3-years-long time period. On the one hand, our empirical studies reveal that this simple scheme is efficient in sub-periods in which the behavior of the time-series is almost unchanged, especially when it is used for short-term prediction, e.g. 1-day. On the other hand, when we try to train the ARIMA model to a 3-years-long period, during which the bitcoin price has experienced different behaviors, or when we try to use it for a long-term prediction, we observe that it introduces large prediction errors. Especially, the ARIMA model is unable to capture the sharp fluctuations in the price, e.g. the volatility at the end of 2017. Then, it calls for more features to be extracted and used along with the price for a more accurate prediction of the price. We have further investigated the bitcoin price prediction using an ARIMA model, trained over a large dataset, and a limited test window of the bitcoin price, with length $w$, as inputs. Our study sheds lights on the interaction of the prediction accuracy, choice of ($p,q,d$), and window size $w$.

Motivation & Objective

  • To assess the effectiveness of ARIMA models in predicting Bitcoin’s short-term price movements using historical closing prices.
  • To investigate how the choice of ARIMA parameters (p, d, q) and training window size influence prediction accuracy.
  • To identify conditions under which ARIMA remains viable despite Bitcoin’s high volatility and non-stationary behavior.
  • To compare RSS-minimizing and MSE-minimizing ARIMA model selection strategies for improved prediction performance.
  • To evaluate the impact of time window location and length on prediction error in different market regimes.

Proposed method

  • Preprocessed Bitcoin price data using logarithmic transformation and first-order differencing to achieve stationarity, validated via ADF test with p-value near zero.
  • Employed grid search over p ∈ {0,…,9}, q ∈ {0,…,9}, d ∈ {0,…,2} to identify optimal ARIMA configurations, evaluating models via residual sum of squares (RSS) and mean squared error (MSE).
  • Used two model selection strategies: one minimizing RSS during fitting, and another minimizing MSE during prediction to avoid overfitting.
  • Conducted experiments with varying time window sizes (w = 2 to 9) and tested predictions on randomly selected windows across the 3-year span (2015–2018).
  • Analyzed prediction error distribution across time to identify periods of high volatility (e.g., late 2017) causing large MSE spikes.
  • Reported results in two settings: full dataset training with test windows across the entire span (Table I), and training on full data but testing only on the first half (Table II).

Experimental results

Research questions

  • RQ1How well does the ARIMA model predict Bitcoin prices over short horizons (1-day) when trained on a 3-year dataset with varying market behaviors?
  • RQ2What is the impact of ARIMA parameter selection (p, d, q) on prediction accuracy, especially when balancing RSS minimization versus MSE minimization?
  • RQ3How does the length of the training window (w) affect the mean squared error (MSE) of Bitcoin price predictions?
  • RQ4How does the location of the test window within the time series influence prediction error, particularly during volatile periods like late 2017?
  • RQ5Can ARIMA models effectively capture sharp price fluctuations such as the 2017 surge and subsequent correction, or are they fundamentally limited by their assumptions?

Key findings

  • The ARIMA(8,8,1) model minimized RSS (0.002) but produced an MSE nearly 100 times higher than the best-performing model, indicating overfitting to the training data.
  • The ARIMA(4,1,1) model achieved the lowest MSE of 16,000 when using a 9-day window, significantly outperforming the RSS-optimized model.
  • Prediction error was highest during the 2017 price surge and correction, with MSE peaking at over 100,000, highlighting ARIMA’s inability to capture extreme volatility.
  • When training on the full dataset but testing only on the first half (2015–2017), the average MSE dropped to 167, showing that model performance improves when tested on stable, non-volatile sub-periods.
  • The MSE-minimizing model (e.g., ARIMA(4,1,1) for w=9) accepted higher RSS than the RSS-minimizing model, indicating a trade-off between fitting accuracy and predictive performance.
  • As window size increased from 2 to 9 days, the average MSE decreased from 118,000 to 16,000, demonstrating that longer windows improve prediction stability in volatile markets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.