Forecasting the movements of Bitcoin prices: an application of machine learning algorithms

—

Forecasting the movements of Bitcoin prices: an application of machine learning algorithms

Hakan Pabuccu
Serdar Ongan
Ayse Ongan
Published on 3/8/2023
Crypto
Machine learning
Forex system
Cryptocurrencies
Market timing

This research paper investigates the application of machine learning algorithms for forecasting Bitcoin price movements, addressing the cryptocurrency's complexity and volatility in financial markets. The study employs four distinct machine learning approaches—Support Vector Machines (SVM), Artificial Neural Networks (ANN), Naive Bayes (NB), and Random Forest (RF)—alongside logistic regression as a benchmark model. A key methodological innovation involves testing these algorithms on both continuous price data and a specially created discrete dataset, allowing for comparative analysis of different data representations.

The research employs comprehensive evaluation metrics including F statistic, accuracy measures, Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and Root Absolute Error (RAE), supplemented by t-tests for statistical comparison between algorithm performances. Empirical findings reveal that Random Forest demonstrates superior forecasting capability on continuous data, while Artificial Neural Networks excel when applied to discrete datasets. Notably, the study demonstrates that discrete data representation consistently enhances forecasting performance across all tested algorithms, suggesting that data preprocessing and representation significantly impact prediction accuracy in cryptocurrency markets. These results contribute to the growing literature on quantitative finance applications in cryptocurrency trading and provide practical insights for algorithmic trading strategies.

Highlights

  • 1Application of four machine learning algorithms (SVM, ANN, NB, RF) and logistic regression as a benchmark for Bitcoin price movement forecasting
  • 2Use of both continuous and discrete datasets to test algorithm performance
  • 3Comprehensive evaluation using multiple metrics (F statistic, accuracy, MAE, RMSE, RAE) and statistical tests (t-test)
  • 4Identification of Random Forest as best performer on continuous data and Artificial Neural Network on discrete data
  • 5Demonstration that discrete dataset improves forecasting performance across all models

Methods

  • M
    Support Vector Machines (SVM) for classification of price movements
  • M
    Artificial Neural Networks (ANN) for pattern recognition in time series data
  • M
    Naive Bayes (NB) for probabilistic forecasting based on historical patterns
  • M
    Random Forest (RF) ensemble method for improved prediction accuracy

Results

  • R
    Random Forest achieved the highest forecasting performance on continuous Bitcoin price data
  • R
    Artificial Neural Network performed best on discrete dataset transformations
  • R
    Naive Bayes consistently showed the lowest forecasting accuracy across both dataset types
  • R
    Discrete dataset representation improved forecasting performance for all machine learning algorithms
  • R
    Statistical tests confirmed significant performance differences between algorithms compared to logistic regression benchmark
0/5

Analyze Paper

Generate insights from "Forecasting the movements of Bitcoin prices: an application ...".

Suggested Actions