Forecasting Bitcoin closing price series using linear regression and neural networks models
In this article we forecast daily closing price series of Bitcoin, Litecoin and Ethereum cryptocurrencies, using data on prices and volumes of prior days. Cryptocurrencies price behaviour is still largely unexplored, presenting new opportunities for researchers and economists to highlight similariti...
Main Authors: | , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
PeerJ Inc.
2020-07-01
|
Series: | PeerJ Computer Science |
Subjects: | |
Online Access: | https://peerj.com/articles/cs-279.pdf |
_version_ | 1819113584118988800 |
---|---|
author | Nicola Uras Lodovica Marchesi Michele Marchesi Roberto Tonelli |
author_facet | Nicola Uras Lodovica Marchesi Michele Marchesi Roberto Tonelli |
author_sort | Nicola Uras |
collection | DOAJ |
description | In this article we forecast daily closing price series of Bitcoin, Litecoin and Ethereum cryptocurrencies, using data on prices and volumes of prior days. Cryptocurrencies price behaviour is still largely unexplored, presenting new opportunities for researchers and economists to highlight similarities and differences with standard financial prices. We compared our results with various benchmarks: one recent work on Bitcoin prices forecasting that follows different approaches, a well-known paper that uses Intel, National Bank shares and Microsoft daily NASDAQ closing prices spanning a 3-year interval and another, more recent paper which gives quantitative results on stock market index predictions. We followed different approaches in parallel, implementing both statistical techniques and machine learning algorithms: the Simple Linear Regression (SLR) model for uni-variate series forecast using only closing prices, and the Multiple Linear Regression (MLR) model for multivariate series using both price and volume data. We used two artificial neural networks as well: Multilayer Perceptron (MLP) and Long short-term memory (LSTM). While the entire time series resulted to be indistinguishable from a random walk, the partitioning of datasets into shorter sequences, representing different price “regimes”, allows to obtain precise forecast as evaluated in terms of Mean Absolute Percentage Error(MAPE) and relative Root Mean Square Error (relativeRMSE). In this case the best results are obtained using more than one previous price, thus confirming the existence of time regimes different from random walks. Our models perform well also in terms of time complexity, and provide overall results better than those obtained in the benchmark studies, improving the state-of-the-art. |
first_indexed | 2024-12-22T04:31:43Z |
format | Article |
id | doaj.art-ace36c51fa8e4205a50bc80b4912ad1e |
institution | Directory Open Access Journal |
issn | 2376-5992 |
language | English |
last_indexed | 2024-12-22T04:31:43Z |
publishDate | 2020-07-01 |
publisher | PeerJ Inc. |
record_format | Article |
series | PeerJ Computer Science |
spelling | doaj.art-ace36c51fa8e4205a50bc80b4912ad1e2022-12-21T18:39:00ZengPeerJ Inc.PeerJ Computer Science2376-59922020-07-016e27910.7717/peerj-cs.279Forecasting Bitcoin closing price series using linear regression and neural networks modelsNicola Uras0Lodovica Marchesi1Michele Marchesi2Roberto Tonelli3Department of Mathematics and Computer Science, University of Cagliari, Cagliari, ItalyDepartment of Mathematics and Computer Science, University of Cagliari, Cagliari, ItalyDepartment of Mathematics and Computer Science, University of Cagliari, Cagliari, ItalyDepartment of Mathematics and Computer Science, University of Cagliari, Cagliari, ItalyIn this article we forecast daily closing price series of Bitcoin, Litecoin and Ethereum cryptocurrencies, using data on prices and volumes of prior days. Cryptocurrencies price behaviour is still largely unexplored, presenting new opportunities for researchers and economists to highlight similarities and differences with standard financial prices. We compared our results with various benchmarks: one recent work on Bitcoin prices forecasting that follows different approaches, a well-known paper that uses Intel, National Bank shares and Microsoft daily NASDAQ closing prices spanning a 3-year interval and another, more recent paper which gives quantitative results on stock market index predictions. We followed different approaches in parallel, implementing both statistical techniques and machine learning algorithms: the Simple Linear Regression (SLR) model for uni-variate series forecast using only closing prices, and the Multiple Linear Regression (MLR) model for multivariate series using both price and volume data. We used two artificial neural networks as well: Multilayer Perceptron (MLP) and Long short-term memory (LSTM). While the entire time series resulted to be indistinguishable from a random walk, the partitioning of datasets into shorter sequences, representing different price “regimes”, allows to obtain precise forecast as evaluated in terms of Mean Absolute Percentage Error(MAPE) and relative Root Mean Square Error (relativeRMSE). In this case the best results are obtained using more than one previous price, thus confirming the existence of time regimes different from random walks. Our models perform well also in terms of time complexity, and provide overall results better than those obtained in the benchmark studies, improving the state-of-the-art.https://peerj.com/articles/cs-279.pdfBlockchainBitcoinTime SeriesForecastingRegressionMachine Learning |
spellingShingle | Nicola Uras Lodovica Marchesi Michele Marchesi Roberto Tonelli Forecasting Bitcoin closing price series using linear regression and neural networks models PeerJ Computer Science Blockchain Bitcoin Time Series Forecasting Regression Machine Learning |
title | Forecasting Bitcoin closing price series using linear regression and neural networks models |
title_full | Forecasting Bitcoin closing price series using linear regression and neural networks models |
title_fullStr | Forecasting Bitcoin closing price series using linear regression and neural networks models |
title_full_unstemmed | Forecasting Bitcoin closing price series using linear regression and neural networks models |
title_short | Forecasting Bitcoin closing price series using linear regression and neural networks models |
title_sort | forecasting bitcoin closing price series using linear regression and neural networks models |
topic | Blockchain Bitcoin Time Series Forecasting Regression Machine Learning |
url | https://peerj.com/articles/cs-279.pdf |
work_keys_str_mv | AT nicolauras forecastingbitcoinclosingpriceseriesusinglinearregressionandneuralnetworksmodels AT lodovicamarchesi forecastingbitcoinclosingpriceseriesusinglinearregressionandneuralnetworksmodels AT michelemarchesi forecastingbitcoinclosingpriceseriesusinglinearregressionandneuralnetworksmodels AT robertotonelli forecastingbitcoinclosingpriceseriesusinglinearregressionandneuralnetworksmodels |