Abstract
In the following paper, we seek to evaluate the predictive capabilities of internet search data. While past studies have proposed using Google Trends as an effective proxy for investor attention, we re-evaluate this idea in the context of a Granger causal framework. We apply the Kaplan–Meier estimator to quantify the level of persistence in lagged correlations between the search volume series and the directional movements in the S&P 500. We find that the directional movement of the S&P 500 from changes in the search volume series is dependent on the specific term being searched for, and by extension, the sentiment of the term itself. We hypothesize that while Google Trends is a valid measure of investor attention, the signals derived from changes in search volume is conditional upon the sentiment inherent to the search terms. Using the terms that are persistently found to be Granger causal with the index, we propose several generalized linear models for forecasting the probability of positive or negative directional movements, and propose a trade strategy from the generated forecasts, resulting in a 40% outperformance of a traditional buy-and-hold strategy in our testing period.
Similar content being viewed by others
References
Ackert LF, Jiang L, Lee HS (2016) Influential investors in online stock forums. Int Rev Financ Anal 45:39–46
Albuquerque R, Vega C (2009) Economic news and international stock market co-movement. Rev Finance 13:401–465
Askitas N, Zimmermann KF (2009) Google econometrics and unemployment forecasting. Appl Econ Q 55(2):107–120
Atkins A, Niranjan M, Gerding E (2018) Financial news predicts stock market volatility better than close price. J Finance Data Sci 4:120–137
Bank M, Larch M, Peter G (2011) Google search volume and its influence on liquidity and returns of German stocks. Financ Mark Portf Manag 25:239
Barber BM, Odean T (2008) All that glitters: the effect of attention and news on the buying behavior of individual and institutional investors. Rev Financ Stud 21:786–818
Biaias B, Bossaerts P, Spatt C (2003) Equilibrium asset pricing under heterogeneous information. Mimeo
Bollen J, Mao H, Zeng X (2011) Twitter mood predicts the stock market. J Comput Sci 2:1–8
Borgan Ø (1998) Kaplan-Meier estimator. In: Armitage P, Colton T (eds) Encyclopedia of biostatistics, vol 3. Wiley, Chichester, pp 2154–2160
Boswijk HP, Hommes CH, Manzan S (2007) Behavioral heterogeneity in stock prices. J Econ Dyn Control 31(6):1938–1970
Chan WS (2003) Stock price reaction to news and no-news: drift and reversal after headlines. J Financ Econ 70(2):223–260
Choi H, Varian H (2012) Predicting the present with Google Trends. Econ Rec 88(S1):2–9
Curme C, Preis T, Stanley HE, Moat HS (2014) Quantifying the semantics of search behavior before stock market moves. PNAS 111:11600–11605
Curme C, Zhuo YD, Moat HS, Preis T (2017) Quantifying the diversity of news around stock market moves. J Netw Theory Finance 3:1–20
Da Z, Engelberg J, Gao P (2011) In search of attention. J Finance 66:1461–1499
Deng S, Liu P (2018) The impact of attention heterogeneity on stock market in the era of big data. Clust Comput 21:1–14
Engelberg JE, Parsons CA (2011) Causal impact of media in financial markets. J Finance 66(1):67–97
Fang L, Peress J (2009) Media coverage and the cross-section of stock returns. J Finance 64(5):2023–2052
Friedman J, Hastie T, Tibshirani R (2010) Regularization paths for generalized linear models via coordinate descent. J Stat Softw 33(1):1
Gervais S, Kaniel R, Mingelgrin DH (2001) The high-volume return premium. J Finance 56:877–919
Gilbert E, Karahalios K (2009) Widespread worry and the stock market. In: Proceedings of the fourth international AAI conference on weblogs and social media
Goonatilake R, Herath S (2007) The volatility of the stock market and news. Int Res J Finance Econ 3(11):53–65
Grundy BD, Kim Y (2002) Stock market volatility in an heterogeneous information economy. J Financ Quant Anal 37:1–27
Han L, Xu Y, Yin L (2018) Does investor attention matter? The attention-return relationship in FX markets. Econ Model 68:660–664
Hautsch N, Hess D, Veredas D (2011) Impact of macroeconomic news on quote adjustments, noise, and informational volatility. J Bank Finance 35(10):2733–2746
Hisano R, Sornette D, Mizuno T, Ohnishi T (2013) High quality topic extraction from business news explains abnormal financial market volatility. PLoS ONE 8(6):e64846
Hou K, Peng L, Xiong W (2008) A tale of two anomalies: the implications of investor attention for price and earnings momentum. Working paper, Ohio State University and Princeton University
Ingle V, Deshmukh S (2016) Live new streams extraction for visualization of stock market trends. In: Lecture notes in electrical engineering, vol 395
Jiang C, Liang K, Chen H, Ding Y (2014) Analyzing market performance via social media: a case study of a banking industry crisis. Sci China Inf Sci 57(5):1–18
Jin X, Shen D, Zhang W (2016) Has microblogging changed stock market behavior? Evidence from China. Phys A Stat Mech Appl 452:151–156
Joseph K, Wintoki MB, Zhang Z (2011) Forecasting abnormal stock returns and trading volume using investor sentiment: evidence from online search. Int J Forecast 27:1116–1127
Li Q, Wang T, Li P, Liu L, Gong Q, Chen Y (2014) The effect of news and public mood on stock movements. Inf Sci 278:826–840
Luo X, Zhang J, Duan W (2013) Social media and firm equity value. Inf Syst Res 24(1):146–163
Merton RC (1987) A simple model of capital market equilibrium and incomplete information. J Finance 42(3):483–510
Moat HS, Curme C, Avakian A, Kenett DY, Stanley HE, Preis T (2013) Quantifying Wikipedia usage patterns before stock market moves. Sci Rep 3, Article no 1801
Nofer M, Hinz O (2015) Using Twitter to predict the stock market. Bus Inf Syst Eng 57:229–242
Peng L, Xiong W (2006) Investor attention, overconfidence, and category learning. J Financ Econ 90(3):563–602
Preis T, Moat HS, Stanley HE (2013) Quantifying trading behavior in financial market using Google Trends. Sci Rep 3, Article no 1684
Rubin A, Rubin E (2010) Informed investors and the internet. J Bus Financ Acc 37(7/8):841–865
Seasholes MS, Wu G (2007) Predictable behavior, profits, and attention. J Empir Finance 14:590–610
Sehgal V, Song C (2007) SOPS: stock prediction using web sentiment. In: Proceedings 7th IEEE international conference of data mining workshops
Sims CA (2003) Implications of rational inattention. J Monet Econ 50(3):665–690
Vlastiakis N, Markellos RN (2010) Information demand and stock market volatility. SSRN, eLibrary
Vosen S, Schmidt T (2011) Forecasting private consumption: survey-based indicators vs. Google Trends. J Forecast 30:565–578
Vozlyublennaia N (2014) Investor attention, index performance, and return predictability. J Bank Finance 41:17–35
Wu DD, Zheng L, Olson DL (2014) A decision support approach for online stock forum sentiment analysis. IEEE Trans Syst Man Cybern Syst 44:1077–1087
Yuan X (2008) Attention and trading. Working paper, University of Iowa
Zheludev IN (2015) When can social media lead financial markets?. University College London, London
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
All authors that are affiliated with this article declare no conflict of interest.
Human and animal rights
This article does not contain any studies with human participants or animals performed by any of the authors.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Huang, M.Y., Rojas, R.R. & Convery, P.D. Forecasting stock market movements using Google Trend searches. Empir Econ 59, 2821–2839 (2020). https://doi.org/10.1007/s00181-019-01725-1
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00181-019-01725-1