EconBase
← Back to paper

Forecasting Cryptocurrencies Log-Returns: a LASSO-VAR and Sentiment Approach

Extracted main text — title through conclusion, appendix excluded. This is what our citation measures are computed over, published so the extraction can be checked by eye.

50,655 characters · 13 sections · 40 citation commands

Rendered from LaTeX for readability, not typeset faithfully. Citation keys are highlighted; maths is left as source; figures, tables and equation environments are summarised rather than reproduced; unrecognised commands are greyed out so nothing is silently dropped. Email addresses are removed.

Forecasting Cryptocurrencies Log-Returns: a LASSO-VAR and Sentiment Approach

titlepage\begin{abstract} Cryptocurrencies have become a trendy topic recently, primarily due to their disruptive potential and reports of unprecedented returns. In addition, academics increasingly acknowledge the predictive power of Social Media in many fields and, more specifically, for financial markets and economics. In this paper, we leverage the predictive power of Twitter and Reddit sentiment together with Google Trends indexes and volume to forecast the log returns of ten cryptocurrencies. Specifically, we consider $Bitcoin$, $Ethereum$, $Tether$, $Binance Coin$, $Litecoin$, $Enjin Coin$, $Horizen$, $Namecoin$, $Peercoin$, and $Feathercoin$. We evaluate the performance of LASSO-VAR using daily data from January 2018 to January 2022. In a 30 days recursive forecast, we can retrieve the correct direction of the actual series more than 50% of the time. We compare this result with the main benchmarks, and we see a 10% improvement in Mean Directional Accuracy (MDA). The use of sentiment and attention variables as predictors increase significantly the forecast accuracy in terms of MDA but not in terms of Root Mean Squared Errors. We perform a Granger causality test using a post-double LASSO selection for high-dimensional VARs. Results show no “causality" from Social Media sentiment to cryptocurrencies returns\\ \\ \noindentKeywords: Cryptocurrencies, Time series analysis, Sentiment analysis,\\ Natural Language Processing\\ \\ \noindentJEL Codes: C32, C53, C55, G17\\ \end{abstract} \setcounter{page}{0} \thispagestyle{empty}

\spacing{1.35}

Introduction

Since the introduction of Bitcoin by nakamoto2008bitcoin, cryptocurrencies have gradually become very popular among investors. In the last decade, the world witnessed an unforeseen growth of cryptocurrencies, both in terms of their market capitalization and the number of kinds of coins. Many reasons may justify this boom: first of all, social media and journals reported unprecedented returns of cryptocurrencies which led many, professional investors and not, to enter this market. This mechanism has been naturally motivated by minimal global regulation, which brought people to primarily see cryptocurrencies as means of payment for illegal trades. Eventually, their gigantic returns stimulated an enthusiasm reminiscent of the Gold Rush in the western U.S. Investing in cryptocurrencies can be done quickly by everyone downloading an app on their smartphone. This led youngsters to represent, relatively, the main investors in digital currencies\footnote{See https://www.investopedia.com/younger-generations-bullish-on-cryptocurrencies-5223563. }. Moreover, due to the relatively young age of the cryptocurrency market, traditional news outlets cannot follow events timely.\\ Because of the reasons mentioned above, social media can be defined as the primary source of information for cryptocurrency investors. Specifically, micro-blogging websites such as Twitter \footnote{See https://twitter.com/.} and Reddit \footnote{See https://www.reddit.com/.} are widely used sources for cryptocurrency information. Significant fluctuations in cryptocurrencies' prices and their high volatility resulted in significant risks associated with investment in crypto assets. This has led to heated discussions about their place and role in the modern economy (see, for example corbet2019cryptocurrencies, catalini2020some, halaburda2020microeconomics and auer2021permissioned). Therefore, the issue of developing appropriate methods and models for predicting prices for digital currencies is relevant both for the scientific community and financial analysts, investors, and traders. A crucial contribution in terms of modelling and forecasting cryptocurrencies' financial time series has been given by catania2019forecasting and catania2021forecasting who develop a dynamic model suitable for the complex dynamics of these series as well as compare several alternative of univariate and multivariate models for point and density forecasts. Furthermore, many studies (see hitam2018comparative, sun2020novel, miller2021univariate) show how Machine Learning algorithms are extremely convenient in terms of computational time and accuracy when forecasting cryptocurrencies' time series. Lastly, increasing literature highlights the importance of specific factors that shape cryptocurrencies' demand helping in forecasting their prices, returns, and volatility. According to the efficient market hypothesis fama1970efficient, market prices reflect all available information, thus the prediction of stock returns should not be possible. On the other hand, considerable empirical evidences (see, e.g. daniel2002investor for a comprehensive review) show that investors' psychology drives the stock market. This led many researchers to adopt sentiment indexes to improve forecast accuracy. glenski2019improved exploit the predictive power of social signals from multiple platforms (GitHub and Reddit) to forecast prices for three cryptocurrencies. They show that social signals reduce error when forecasting daily coin prices and that the language used in comments within the official communities on Reddit are the best predictors overall. kraaijeveld2020predictive show that Twitter sentiment has predictive power for the returns of several cryptocurrencies. aslanidis2022link and nasir2019forecasting highlight the link of Google Trends with cryptocurrencies regarding their returns and volatility.\\ In this study, we analyze the impact of sentiment variables on cryptocurrency returns by using a novel dataset that combines a number of social media, search engine data, and volume. We apply a state-of-the-art sentiment classification technique to investigate whether sentiment measures contain predictive power for returns. To the best of our knowledge, similar sets of predictors have not been employed jointly previously. We account for the high dimensionality of the predictor variables by using a regularization technique known as the LASSO. This allows us to investigate (i) whether the variables constructed from our novel dataset can help to improve log-return forecasts using a VAR approach compared to the benchmark models; (ii) which data source and which type of sentiment or attention measure is most relevant in terms of Granger-causality in High-Dimensional VARs. Our results show that, on average, LASSO-VAR performs better in terms of Mean Directional Accuracy (MDA) than benchmark models. Moreover, the use of sentiment and attention variables as predictors increase significantly the forecast accuracy. We do not find Granger causality from sentiment indexes to cryptocurrencies returns. We find, instead, Granger causality between all cryptocurrencies except Bitcoin, Tether, and Feathercoin and from returns to the bitcoin sentiment extracted from Twitter. \\ The remainder of the paper is organized as follows. Section two (ref) deals with data collection, describing the data set, its sources, and strategies to construct sentiment indexes. Section three (ref) describes the modelling strategy, the estimation, forecasting methods, and the metrics used for the comparative evaluation of the out-of-sample model predictions. Section four (ref) summarizes some selected results. Section five (ref) concludes.

Data Collection

This study relies on multiple data sources. First, we collect daily data of ten cryptocurrencies from January 2018 to January 2022. We provide for the same period google trends and sentiment indexes from Twitter and Reddit. We complete our dataset with volume for each cryptocurrency considered.

Cryptocurrency Data

The cryptocurrencies used are reported in table (ref) ranked in terms of Market Capitalization (MC) as of January 2022. We get our data from finance.yahoo.com\footnote{See: https://it.finance.yahoo.com/criptocurrencies/.}.

table[table omitted — 1,012 chars of source]

Many reasons brought us to choose this set of cryptocurrencies. First of all, cryptocurrencies emerge and disappear continually, while our selected ten currencies have been publicly-traded consecutively. Moreover, all the currencies chosen have been created with a defined purpose representing innovative projects which brought development, progress, or value to the blockchain technology that Bitcoin had implemented. On the other hand, our sample includes three tier currencies as in gandal2016can. $Bitcoin$, $Ethereum$, $Tether$, $Binance Coin$, whose market capitalizations stay in the world's top five, are “top-tier" cryptocurrencies. $Litecoin$, $Enjin Coin$, $Horizen$, representing “middle cryptocurrencies" in market capitalization. $Namecoin$, $Peercoin$, and $Feathercoin$ are representative “minor cryptocurrencies" according to market capitalization. We include Tether (USDT) in our sample for a specific reason. We know, indeed, that it is a blockchain-based cryptocurrency whose tokens in circulation are backed by an equivalent amount of U.S. dollars, making it a stablecoin with a price pegged to USD \$1.00, which leads this currency to be very low volatile. Tether was designed to build the necessary bridge between fiat currencies and cryptocurrencies and offer users stability, transparency, and minimal transaction charges. We decided to include it as a counterfactual to understand whether sentiment indexes can help the prediction of stablecoin currencies. We compute the log returns and include them in our sample. Table (ref) provides several summary statistics.

table[table omitted — 1,491 chars of source]

Google Trends Data

We collected forty three google trends searches (Table (ref) in the Appendix reports the list of all the Google trends collected).

figure[figure omitted — 155 chars of source]

Google Trends is a search trend feature that shows how frequently a given search term is entered into Google’s search engine relative to the site’s total search volume over a given period. Google Trends are available at a daily frequency only if the selected period is less than nine months. If the time frame is between nine months and five years, weekly data are provided; if it is longer than five years, data are monthly. A trivial solution like querying the data month by month and then tying it together will not work in this case because Google Trends assess interest in relative values within the given time. It means that for a given keyword and month, Google Trend will estimate the interest identically, with a local minimum of 0 and a local maximum of 100, for events in one month even if they had twice as many searches than in the other. To get proper daily estimates, we procede as follows:\\ 1 - Query daily estimates for each month in the specified time frame;\\ 2 - Queries monthly data for the whole time frame;\\ 3 - Multiply daily estimates for each month from step 1 by its weight from step 2.

Twitter and Reddit Sentiment Indexes

With regard to sentiment indexes, we use the Twitter API v2 \footnote{See https://developer.twitter.com/en/docs/twitter-api} to download tweets using the name of each cryptocurrency from our sample as a search parameter. We end up with 13,195,084 tweets from 2,253,469 unique users from January 2018 to January 2022. Each tweet's query provides the user with the timestamp (UTC+0) and the text containing a maximum of 280 characters. Concerning Reddit data, we use the Pushshift Reddit API baumgartner2020pushshift to collect comments under the official subreddit of each cryptocurrency included in our sample. We gather a total of 4,406,897 comments from 420,024 unique users in the same time frame specified above. We are aware that increasing the daily quantity of tweets and comments collected would enhance the quality and results of our study. However, we believe that our sample is enough to get the representative social sentiment we are looking for. \\ The sentiment time series are created using Valence Aware Dictionary and Sentiment Reasoner (VADER) algorithm hutto2014vader. It uses a list of lexical features, optimized for social media texts, (words, punctuation, and emoticons) labelled as positive or negative according to their semantic orientation to calculate the text sentiment. Vader sentiment returns the probability of a given input sentence to be positive, negative, and neutral. In particular, every tweet and comment are passed to the algorithm. Therefore, we retrieve a Valence score for each of them which is measured on a scale from -4 to +4, where -4 stands for the most 'Negative' sentiment and +4 for the most 'Positive' sentiment. Midpoint 0 represents a 'Neutral' Sentiment. The unidimensional measure the algorithm can retrieve is called the “Compound Score". It is computed by summing the valence scores of each word in the lexicon, adjusted according to the rules, and then normalized to be between -1 (most extreme negative) and +1 (most extreme positive):\\

equation[equation omitted — 51 chars of source]

Where $x$ is the sum of the valence score of constituent words, and $\alpha$ is a normalization constant (the default value is $15$). Finally, we obtain the compound score for each input processed and we aggregate them into daily frequency by taking the average.

Volume

We complete our dataset with cryptocurrencies volume. The dynamic volume-return could bring valuable information which can be used for price predictions or trading strategies. Generally speaking, the literature concerning the relationship between volume and returns suggests that there is a positive correlation between them (see, e.g. jain1988dependence and llorente2002dynamic). Concerning cryptocurrencies, there is a growing literature studying the volume-return relation. balcilar2017can employ a non-parametric causality-in-quantiles test to assess the causality relation between trading volumes and bitcoin returns and volatility. They show that volume can predict returns, except during bull and bear periods in the Bitcoin market. zhang2018multifractal investigate the return-volume relationship of the Bitcoin market based on multifractal detrended cross-correlation. They found that Bitcoin exhibits a non-linear dependent relationship in return-volume with cross-correlations of return-volume showing anti-persistent behaviour. Another, naeem2020extreme explore extreme return-volumes dependence among the highest capitalized cryptocurrencies using the Copula approach. They discovered that coefficients of lower tail dependence are significant for Bitcoin, Ripple, and Litecoin, which means that low volumes follow low returns. Lower tail dependence for the return-volume relationship is stronger than the upper tail dependence for Bitcoin, Ripple, and Litecoin. Moreover, for negative return-volume, left tail dependence coefficients are significant for Ripple and Litecoin, which means that low volumes follow high returns for Ripple and Litecoin. Finally, in a recent work, chan2022extreme investigate the extreme dependence and correlation between high-frequency cryptocurrency returns and transaction volumes, at the extreme tails associated with booms and busts in the cryptocurrency markets. Applying an extreme value theory approach, they found a weak positive correlation between return and volume at the tails.

Methods

LASSO-VAR

The LASSO is a method for automatic variable selection and parameters shrinkage. It can be used to select the most informative predictors of a target variable Y from a set of variables and parameters, possibly larger than sample information, virtually making high-dimensional modelling and forecasting feasible for any degree of model dimension and complexity. The LASSO has been initially developed for a single equation setting by tibshirani1996regression. The LASSO approaches curve fitting as a quadratic programming problem, where the objective function penalizes the total size of the regression coefficients based on the value of a tuning parameter, $\lambda$. In doing so, the LASSO can drive the coefficients of irrelevant variables to zero, thus performing the automatic variable selection. The strength of the penalty must be tuned. The stronger the penalty, the higher the number of coefficients that are shrunk to zero. The model is thus forced to select only the most important predictors, i.e. those with the highest contribution to the prediction of the target variable.

Let $\{y_t\}_{t=1}^T$ be a $K$ dimensional multiple time series process generated by VAR process of order p, denoted as VAR(p):

equation[equation omitted — 151 chars of source]

\newline In our analysis, we fix the maximum order of lag p to fourteen days, as suggested by the Bayesian Information Criterion, calculated over the full sample, i.e. including data up to the end of January 2022. Notice that, since we standardize data before modelling, the K-dimensional intercept vector is not considered in the VAR. Each $A_i$ is a $K \times K$ matrix of coefficients for the endogenous variables, and $u_t\stackrel{\text{wn}}{\sim}(0,\mathbf{\Sigma}_u)$ is the vector of reduced-form errors.

For notation convenience we will introduce a compact matrix representation of (ref)\\

equation*[equation* omitted — 403 chars of source]

We can express the VAR as

equation[equation omitted — 38 chars of source]

with $\mathbf{U} \sim\mathcal{N}(0,\mathbf{I_t \otimes \Sigma_u})$. \\The LASSO objective function is minimized as follows:

equation[equation omitted — 161 chars of source]

where $\lambda$ is the shrinkage parameter.

Together with the homoskedastic framework described above, we decide to account for heteroskedasticity estimating the model through Feasible GLS estimator assuming an $AR(1)$ process for the errors. Then $\mathbf{\Omega} = (\mathbf{I_t \otimes \Sigma_u})$ will be a $T \times T$ Toeplix matrix of the auto-correlation structure of the data.

By applying the LASSO procedure, we seek to obtain a sparse structure for the coefficient matrices. The optimization problem is solved by applying a coordinate descent numerical procedure, as explained in kim2007interior and friedman2010regularization.

Calibrating the LASSO-VAR through time series cross-validation

As immediately evident from (ref), lambda ($\lambda$) is the most important parameter in the LASSO framework. The selection of the best predicting model depends on its calibration, which should not be sample-specific. A cross-validation stage is thus employed to get the “optimal" value for $\lambda$.

In this respect, we emply an expanding window (more precisely, an “anchored walk forward") approach to cross-validation, which is the standard practice in many analyses considering time series modelling. In practice, the data is divided into a training and a test sample. The test set is being held for final evaluation, whereas the training set is further split into three subsets.

An example of 3-split time series cross-validation method is depicted in Figure (ref).

figure[figure omitted — 166 chars of source]

Time series cross-validation essentially takes into consideration time dependence, such that the training set is always built considering observations that occurred prior to the test set. The anchored walk forward cross-validation method implies a gradually expanding training set, pushing forward a fixed dimension test set.

Evaluation of the forecasting performances

After estimating the sparse model resulting from the cross-validated LASSO-VAR, we proceed to forecast. We use the sample from $01/01/2018–12/31/2021$ to obtain initial parameter estimates for all models, which are then used to predict outcomes from 01/01/2022 $(h = 1)$ to $01/04/2022$ $(h = 4)$. In the next period, we include data for $01/01/2022$ in the estimation sample and use the resulting estimates to predict the outcomes from $01/02/2022$ to $01/06/2022$. We proceed recursively in this fashion until $01/31/2022$, thus generating a time series of point forecasts. In (ref) we show the standard procedure to obtain out-of-sample forecasts when a VAR is assumed to be the data generating process.

equation[equation omitted — 110 chars of source]

In order to evaluate the forecasting model performances, we adopt the Root Mean Squared Error (RMSE) and the Mean Directional Accuracy (MDA):

equation[equation omitted — 102 chars of source]
equation[equation omitted — 155 chars of source]

We evaluate the performances of our selected models by comparing the results with the two multivariate high-dimensional time series forecasting model alternatives in discrete time. Specifically, we consider the Large Bayesian VAR (LBVAR) introduced by banbura2010large and Factor Augmented VAR (FAVAR) proposed by bernanke2005measuring.\\ Finally, in order to test the statistical significance of differences in point forecasts, we consider pairwise tests of equal predictive accuracy (henceforth, EPA; diebold1995diebold; west1996asymptotic) in terms of RMSE. All EPA tests we conduct are based on a two sided test with the null hypothesis being the LBVAR and FAVAR benchmarks. We use standard normal critical values. Based on simulation evidence in clark2013advances, when computing the variance estimator which enters the test statistic we rely on serial correlation robust standard errors and incorporate the finite sample correction due to harvey1997testing. In Table (ref), we use {\color{blue} ***}, {\color{blue} **} and {\color{blue} *} to denote results which are significant at the 1%, 5% and 10% levels, respectively, in favor of the model listed at the top of each column compared with LBVAR. We use {***},{ **} and {*} when we compare our models with FAVAR. \\

High-dimensional Granger causality test

The concept of Granger causality captures the predictability given a particular information set granger_1969_testing, granger1980testing. If the addition of variable ${I}$ to the given information set $\Xi$ alters the conditional distribution of another variable $J$, and both $I$ and $\Xi$ are observed prior to $J$, then $I$ improves the predictability of $J$ and is said to Granger cause $J$ with respect to $\Xi$. granger_1969_testing considers $\Xi$ in a theoretical and non-practicable way as all the information available in the universe. The choice of the information set plays thus a crucial role in determining (non-)Granger causality. Cases of spurious Granger causality from $I$ to $J$ may arise when both $I$ and $J$ are Granger caused by $Q$, but $Q$ is omitted from $\Xi$. High-dimensional models may avoid possible spurious causality due to omitted variables. Of course, conditioning on so many variables leads to the curse of dimensionality, rendering many standard statistical techniques invalid. To overcome the problem mentioned above, regularized estimation procedures as the LASSO can be used. As described in hecq2019granger, one might be tempted to perform the LASSO as in (ref) on (ref)\footnote{Where $y_J = vec(\mathbf{Y_J})$ denote the $N_J\times1$ stacked vector containing all the observations of the variables in $J$. Similarly $u_J = vec(\mathbf{U}_J)$, $Z^\otimes = \mathbf{I}_{N_J}\otimes\mathbf{Z}$ and $\beta = vec(\mathbf{A})$. $GC$ and $-GC$ stand respectively for chosen possible Granger causing variables and remaining variables.}:

equation[equation omitted — 120 chars of source]

testing the parameter significance of the selected “Granger-causing" variables. However, this procedure does not consider that the final and selected model is random and function of the data. The randomness in the selection step means that post-selection estimators do not converge uniformly to a normal distribution, as the potential omitted variable bias from omitting weak, but still relevant, variables in the selection step is too large to perform uniformly valid inference. Many authors tried to cope with this issue (see hecq2019granger for a comprehensive review). We adopt the procedure proposed by hecq2019granger who specifically implemented a post-double-selection procedure, initially developed by belloni2014high, in a VAR context. The idea behind their approach is that $\Xi$ is made of variables of interest, possible Granger-causing variables and the remaining variables. Their idea is to regress both the variable of interest and possible Granger-causing variables on the remaining variables. These regressions could be high-dimensional and cannot be estimated by least square. The remaining variables retained are those whose parameter is significant in at least one of the regressions mentioned above. In this case, the omitted variable bias will only occur if the LASSO fails to select a relevant variable in both regressions simultaneously. As the probability for this to occur decreases quadratically, this is negligible asymptotically and allows for valid inference.\\ In our application we test the (non-)Granger Causality for all the variables in our dataset considering all the possible combinations. Furthermore, since the time series length of our variables is much higher in magnitude compared to the number of covariates, we do not need to set any bound on the penalty to ensure that in each regression a maximum of variables are selected. In this case, we tune $\lambda$ selecting the one which minimizes the Bayesian information criterion (BIC).

Results and analysis

We now proceed to compare the performance of our methods to the competing models we outlined in Section (ref). Table (ref) provides a summary of the forecasting ability of each model by presenting its MDA statistics for each cryptocurrency's return. The table includes four panels, each one presenting results for a different forecast horizon, with the rows focusing on the specific cryptocurrency. We begin by noting that both the LASSO-VAR are the most accurate in terms of MDA. Moreover, for the most stable variables only (such as USDT),homoscedastic model performance is comparable with the FGLS-VAR which on average performs better. Next, it appears that forecast performances increases with the forecast horizon. Furthermore, we do not see significant differences in performances among cryptocurrenceis belonging to the three tiers defined above.

table[table omitted — 5,160 chars of source]

Table (ref) shows average results of each model considering also the heteroscedastic model without sentiment and search engine data (FGLS LASSO-VAR). We can see an average 10% points improvement in directional accuracy of LASSO-VARs compared to benchmark models and a 37% points increase compared to the model estimated without sentiment and Google trends.

table[table omitted — 1,058 chars of source]

Table (ref) shows the forecast performances in terms of RMSE. In this case LBVAR gives us most precise results in absolute terms but they are not statistically different from those obtained with OLS and FGLS VARs in terms of EPA tests. This result may be linked to the possibility of this bayesian model to define a-priori a general as well as particular shrinkage intensity for each parameter ending up with more accurate estimates. On the contrary, both LASSO regularized models perform significantly better than FAVAR in terms of EPA tests.

table[table omitted — 5,622 chars of source]

Finally, Table (ref) shows how sentiment variables are not contributing in achieving better results in terms of RMSE. This finding may be linked to the nature of sentiment indexes themselves. Being indexes, sentiments are not introducing into the model precise information regarding the out of sample actual value of the returns; they give, instead, information about the direction of our target variables. This is translated in better performance in terms of MDA as shown in Table (ref) but not in RMSE.

table[table omitted — 1,500 chars of source]

Concerning Granger causality, we report in Figures (ref), (ref), and (ref) networks of returns and sentiment and volume variables. Arrows are depicted when the null-hypothesis is rejected with the $\textit{p-values}$ of LM test $<0.01$. The direction of the arrows represents the one of the Granger causality. We report the $\textit{p-values}$ for each combination tested in the Appendix Table (ref)\footnote{For simplicity we did not report all the combinations when the Granger causality is tested from Google trends. However, $\textit{p-values}$ reported are computed considering also search engine data as “other variables" }. From Figure (ref), we can conclude that there is no Granger causality between Twitter sentiments and cryptocurrencies returns. On the contrary, returns seem to cause each other, and most of them are causing the Bitcoin sentiment extracted from Twitter. From this finding, it is reasonable to interpret Bitcoin Twitter sentiment as a general index for all cryptocurrencies market. It is also interesting to note that the biggest and the smallest cryptocurrency in market capitalization are outside the cluster created by all the other currencies.

figure[figure omitted — 308 chars of source]

Same results are obtained focusing on the relation between Reddit sentiments and returns. Figure (ref) shows, in fact, that sentiments obtained from Reddit are not Granger causing their respective cryptocurrency. Also, in this case, Bitcoin, Feathercoin, and the stablecoin Tether are outside the cluster created by the other currencies. It is interesting to focus on the cluster formed by several sentiments around the Bitcoin one. This finding may describe that the euphoria in specific currencies Sub-reddit is linked to the users' feelings expressed in the Bitcoin Sub-reddit, which pushes the others.

figure[figure omitted — 305 chars of source]

Figure (ref) shows the Granger causality network between returns and volume.

figure[figure omitted — 287 chars of source]

In this case, we can see that returns are Granger causing currencies volume. These results suggest that movements in cryptocurrency returns may influence the market of the others, primarily via demand shocks. Finally no causality is found from Google trends and cryptocurrencies return.

Conclusion

We constructed a novel dataset combining cryptocurrencies returns, social media sentiment indexes, Google trends, and volume. We wanted to analyze the forecast performance of regularized high-dimensional VAR models exploiting the novel dataset we created. In a thirty days forecast, we obtain a clear improvement in MDA by comparing our results with the most popular high-dimensional VAR models. Moreover, we observe comparable and precise performance in terms of RMSE considering LBVAR as benchmark. In light of these results, we can conclude that high-dimensional VAR models are good tools to model highly volatile financial time series such as cryptocurrency returns. Furthermore, the analysis of forecast performance metrics suggests a significant contribution of sentiment and attention measures in achieving better results in terms of directional accuracy. This finding can be decisive for portfolio selection strategies or, in general, for investment purposes. The contribution of sentiment and search engine variables is not translated into Granger causality. In most cases, we cannot reject the null hypothesis of (non-)Granger causality. However, we find an interesting connection between volume and cryptocurrency returns.

\spacing{1} \phantomsection \spacing{1.2}