Cryptocurrency Price Forecasting Using XGBoost Regressor and Technical Indicators

Read original: arXiv:2407.11786 - Published 7/17/2024 by Abdelatif Hafid, Maad Ebrahim, Ali Alfatemi, Mohamed Rahouti, Diogo Oliveira
Total Score

0

Cryptocurrency Price Forecasting Using XGBoost Regressor and Technical Indicators

Sign in to get full access

or

If you already have an account, we'll log you in

Overview

  • This paper presents a technique for forecasting cryptocurrency prices using the XGBoost machine learning algorithm and technical indicators as input features.
  • The researchers tested their model on Bitcoin price data and found it outperformed several baseline models in terms of accuracy.
  • The key contributions of this work are the application of XGBoost regression for cryptocurrency price prediction and the evaluation of various technical indicators as predictive features.

Plain English Explanation

Cryptocurrency prices can be difficult to predict, but this research explores a machine learning approach to forecasting Bitcoin prices more accurately. The key idea is to use an advanced algorithm called XGBoost, which is a type of regression model, along with technical indicators as input features.

Technical indicators are calculations based on historical price and trading data that can provide insights into market trends and patterns. By feeding these indicators into the XGBoost model, the researchers aimed to capture the complex relationships between market factors and future price movements.

The model was evaluated on real Bitcoin price data, and it was found to outperform simpler forecasting methods. This suggests that the combination of XGBoost and technical indicators can be an effective approach for predicting cryptocurrency prices, which could be valuable for traders, investors, and other stakeholders in the cryptocurrency ecosystem.

Technical Explanation

The researchers first collected historical Bitcoin price data and calculated a set of 12 technical indicators commonly used in financial analysis, such as moving averages, relative strength index, and Bollinger Bands. These indicators were then used as input features to an XGBoost regression model, which is a type of gradient boosting decision tree algorithm.

XGBoost was chosen due to its strong performance in various regression tasks and its ability to handle nonlinear relationships in the data. The model was trained on a portion of the Bitcoin price data and then evaluated on a held-out test set. Its performance was compared to several baseline models, including linear regression, random forest, and multilayer perceptron neural network.

The results showed that the XGBoost model achieved the lowest mean squared error and highest R-squared value on the test set, indicating superior predictive accuracy. The researchers also conducted feature importance analysis to identify the most influential technical indicators for the model's predictions.

Critical Analysis

One limitation of this study is the focus on a single cryptocurrency, Bitcoin, which may not generalize to other digital assets with different market dynamics. The researchers acknowledge that further testing on a broader range of cryptocurrencies would be valuable to validate the model's broader applicability.

Additionally, the paper does not delve into the temporal dynamics of cryptocurrency markets, such as the potential for changes in the predictive power of technical indicators over time. Exploring how the model's performance evolves with market conditions could provide deeper insights.

Another area for further research could be the integration of additional data sources, such as sentiment analysis of social media or news data, which may capture market sentiment and other factors influencing price movements.

Conclusion

This paper presents a promising approach for forecasting cryptocurrency prices using the XGBoost regression algorithm and technical indicators. The results demonstrate the potential of this machine learning-based technique to outperform simpler forecasting methods, which could be valuable for traders, investors, and others interested in the cryptocurrency market.

While the study focuses on Bitcoin, the methodology could be extended to other cryptocurrencies, and the incorporation of additional data sources and market dynamics could further enhance the model's predictive capabilities. Overall, this research contributes to the growing body of work on applying advanced analytics and machine learning to the volatile and rapidly evolving cryptocurrency market.



This summary was produced with help from an AI and may contain inaccuracies - check out the links to read the original source documents!

Follow @aimodelsfyi on 𝕏 →

Related Papers

Cryptocurrency Price Forecasting Using XGBoost Regressor and Technical Indicators
Total Score

0

Cryptocurrency Price Forecasting Using XGBoost Regressor and Technical Indicators

Abdelatif Hafid, Maad Ebrahim, Ali Alfatemi, Mohamed Rahouti, Diogo Oliveira

The rapid growth of the stock market has attracted many investors due to its potential for significant profits. However, predicting stock prices accurately is difficult because financial markets are complex and constantly changing. This is especially true for the cryptocurrency market, which is known for its extreme volatility, making it challenging for traders and investors to make wise and profitable decisions. This study introduces a machine learning approach to predict cryptocurrency prices. Specifically, we make use of important technical indicators such as Exponential Moving Average (EMA) and Moving Average Convergence Divergence (MACD) to train and feed the XGBoost regressor model. We demonstrate our approach through an analysis focusing on the closing prices of Bitcoin cryptocurrency. We evaluate the model's performance through various simulations, showing promising results that suggest its usefulness in aiding/guiding cryptocurrency traders and investors in dynamic market conditions.

Read more

7/17/2024

A Comprehensive Analysis of Machine Learning Models for Algorithmic Trading of Bitcoin
Total Score

0

A Comprehensive Analysis of Machine Learning Models for Algorithmic Trading of Bitcoin

Abdul Jabbar, Syed Qaisar Jalil

This study evaluates the performance of 41 machine learning models, including 21 classifiers and 20 regressors, in predicting Bitcoin prices for algorithmic trading. By examining these models under various market conditions, we highlight their accuracy, robustness, and adaptability to the volatile cryptocurrency market. Our comprehensive analysis reveals the strengths and limitations of each model, providing critical insights for developing effective trading strategies. We employ both machine learning metrics (e.g., Mean Absolute Error, Root Mean Squared Error) and trading metrics (e.g., Profit and Loss percentage, Sharpe Ratio) to assess model performance. Our evaluation includes backtesting on historical data, forward testing on recent unseen data, and real-world trading scenarios, ensuring the robustness and practical applicability of our models. Key findings demonstrate that certain models, such as Random Forest and Stochastic Gradient Descent, outperform others in terms of profit and risk management. These insights offer valuable guidance for traders and researchers aiming to leverage machine learning for cryptocurrency trading.

Read more

7/29/2024

Review of deep learning models for crypto price prediction: implementation and evaluation
Total Score

0

Review of deep learning models for crypto price prediction: implementation and evaluation

Jingyang Wu, Xinyi Zhang, Fangyixuan Huang, Haochen Zhou, Rohtiash Chandra

There has been much interest in accurate cryptocurrency price forecast models by investors and researchers. Deep Learning models are prominent machine learning techniques that have transformed various fields and have shown potential for finance and economics. Although various deep learning models have been explored for cryptocurrency price forecasting, it is not clear which models are suitable due to high market volatility. In this study, we review the literature about deep learning for cryptocurrency price forecasting and evaluate novel deep learning models for cryptocurrency stock price prediction. Our deep learning models include variants of long short-term memory (LSTM) recurrent neural networks, variants of convolutional neural networks (CNNs), and the Transformer model. We evaluate univariate and multivariate approaches for multi-step ahead predicting of cryptocurrencies close-price. We also carry out volatility analysis on the four cryptocurrencies which reveals significant fluctuations in their prices throughout the COVID-19 pandemic. Additionally, we investigate the prediction accuracy of two scenarios identified by different training sets for the models. First, we use the pre-COVID-19 datasets to model cryptocurrency close-price forecasting during the early period of COVID-19. Secondly, we utilise data from the COVID-19 period to predict prices for 2023 to 2024. Our results show that the convolutional LSTM with a multivariate approach provides the best prediction accuracy in two major experimental settings. Our results also indicate that the multivariate deep learning models exhibit better performance in forecasting four different cryptocurrencies when compared to the univariate models.

Read more

6/4/2024

Practical Forecasting of Cryptocoins Timeseries using Correlation Patterns
Total Score

0

Practical Forecasting of Cryptocoins Timeseries using Correlation Patterns

Pasquale De Rosa, Pascal Felber, Valerio Schiavoni

Cryptocoins (i.e., Bitcoin, Ether, Litecoin) are tradable digital assets. Ownerships of cryptocoins are registered on distributed ledgers (i.e., blockchains). Secure encryption techniques guarantee the security of the transactions (transfers of coins among owners), registered into the ledger. Cryptocoins are exchanged for specific trading prices. The extreme volatility of such trading prices across all different sets of crypto-assets remains undisputed. However, the relations between the trading prices across different cryptocoins remains largely unexplored. Major coin exchanges indicate trend correlation to advise for sells or buys. However, price correlations remain largely unexplored. We shed some light on the trend correlations across a large variety of cryptocoins, by investigating their coin/price correlation trends over the past two years. We study the causality between the trends, and exploit the derived correlations to understand the accuracy of state-of-the-art forecasting techniques for time series modeling (e.g., GBMs, LSTM and GRU) of correlated cryptocoins. Our evaluation shows (i) strong correlation patterns between the most traded coins (e.g., Bitcoin and Ether) and other types of cryptocurrencies, and (ii) state-of-the-art time series forecasting algorithms can be used to forecast cryptocoins price trends. We released datasets and code to reproduce our analysis to the research community.

Read more

9/6/2024