Abstract
This study compares the performance of traditional statistical models and modern machine learning methods in predicting Bitcoin (BTC) returns. Using data from January 2022 to December 2024, both daily and weekly datasets were constructed with a comprehensive set of features, including technical indicators, on-chain metrics, macroeconomic variables, and behavioral signals. Linear regression models, ensemble learning methods (Random Forest, XGBoost), deep learning (LSTM), and GARCH-based time-series models were evaluated for both numeric return prediction and directional classification. Results show that while all models struggle to forecast exact return values, classification models achieve better performance, particularly when using weekly data. Among all tested models, the XGBoost classifier achieved the highest directional accuracy of 67.8% on weekly data, outperforming both statistical and deep learning baselines. These findings highlight the value of frequency selection and nonlinear modeling in improving cryptocurrency return predictability.
Introduction
Predicting the price of Bitcoin (BTC) remains one of the most challenging tasks in financial forecasting due to its extreme volatility and susceptibility to diverse external factors. While many studies claim high accuracy in price prediction, these results are often artifacts of high autocorrelation in price levels—where the price at time $t$ is naturally close to $t-1$. This study shifts the focus from price levels to returns, addressing whether it is more effective to predict precise return values (regression) or the direction of movement (classification), and investigating the impact of data frequency on model performance.
Methodology
The research evaluates four distinct classes of models to determine which approach reigns supreme in a high-volatility environment:
- Linear Models: OLS, LASSO, Ridge, and Elastic Net regression to establish a baseline for linear relationships.
- Machine Learning (ML): Random Forest, Support Vector Machines (SVM), and eXtreme Gradient Boosting (XGBoost) to capture complex, non-linear interactions.
- Deep Learning (DL): Long Short-Term Memory (LSTM) networks, specifically chosen for their ability to model sequential dependencies in time-series data.
- Statistical Time-Series: GARCH(1,1) variants (including AR and ARMA components) to account for the volatility clustering characteristic of financial markets.
The evaluation covers two primary tasks: Numeric Prediction (forecasting exact percentage returns) and Directional Classification (predicting whether the return will be positive or non-positive).
Data and Features
The analysis utilizes a robust dataset spanning January 2022 to December 2024. This period was selected to avoid the unique distortions of the early pandemic era and capture more contemporary market dynamics. Features were aggregated into five categories:
- Technical Indicators: RSI, MACD, and various Moving Averages.
- Market Indicators: S&P 500 returns, VIX (volatility index), and the U.S. Dollar Index.
- On-Chain Metrics: Active addresses, hash rates, and "whale" transaction flows.
- Sentiment/Behavioral: Google Search volume and Wikipedia page views for Bitcoin.
- Macroeconomic Factors: Inflation rates, M2 money supply, and U.S. Treasury yields.
Key Results
The study found a stark contrast between regression and classification performance. Point forecasting for exact return values proved largely unsuccessful, with most models yielding $R^2$ values near zero. However, directional classification showed significant promise, particularly at the weekly frequency where the signal-to-noise ratio is higher.
At the daily frequency, most models hovered between 51% and 56% accuracy, barely outperforming a coin flip. Shifting to weekly data significantly improved results:
- XGBoost: Emerged as the top performer with 67.8% accuracy.
- AR(2)-GARCH: Achieved a respectable 64.49%, demonstrating the continued relevance of statistical volatility modeling.
- Random Forest: Followed with 61.3% accuracy.
The superior performance of XGBoost suggests that Bitcoin returns are driven by complex, non-linear interactions between market sentiment, on-chain activity, and macroeconomic shifts that linear models and even standard LSTMs fail to fully capture in this specific setup.
Conclusion
This research demonstrates that while predicting the exact magnitude of Bitcoin returns remains an unsolved challenge, directional prediction is achievable with high accuracy using non-linear ensemble methods on weekly data. The transition from daily to weekly intervals effectively filters out high-frequency noise, allowing models like XGBoost to identify meaningful signals. Future work will focus on integrating more granular social media sentiment and exploring hybrid architectures that combine the strengths of GARCH volatility modeling with the feature-selection prowess of gradient boosting.
Summary updated