Social Market: Stock Market and Twitter Correlation

The text shared on social networks and interactions resulting from all virtual activities have been gaining a great impact on society. In this work, we investigate if Twitter data can be used to predict or describe stock market prices by using sentiment polarity (positive or negative). Using a Bayesian classifier and making two causality models (one with the Stock Market and another with the Twitter sentiment as dependent variable) we could relate the data from Twitter with intra-day and day-to-day stock prices. We reached four significant conclusions. First, the relationship between twitter and the stock market is, in both cases, strongly dependent on the time grouping of the twitter data. Second, using Granger Causality Analysis, we found some companies where we can use tweets to predict the stock price, and others where we can’t. Amongst those where we can, there are some where the delay between tweets and changes in price are small (Cisco, American Airlines and Microsoft), and others where those changes take a longer time (LinkedIn). Third, companies with a high number of tweets show a weaker relationship amongst the two variables. Forth, in some cases (British Petroleum), we can predict changes in Twitter sentiment using stock prices.

[1]  Isabell M. Welpe,et al.  Predicting Elections with Twitter: What 140 Characters Reveal about Political Sentiment , 2010, ICWSM.

[2]  John Elder,et al.  Practical Text Mining and Statistical Analysis for Non-structured Text Data Applications , 2012 .

[3]  Hsinchun Chen,et al.  Textual analysis of stock market prediction using breaking financial news: The AZFin text system , 2009, TOIS.

[4]  Hsinchun Chen,et al.  Evaluating sentiment in financial news articles , 2012, Decis. Support Syst..

[5]  R. Shiller From Ef cient Markets Theory to Behavioral Finance , 2004 .

[6]  Xue Bai,et al.  Predicting consumer sentiments from online text , 2011, Decis. Support Syst..

[7]  Hosung Park,et al.  What is Twitter, a social network or a news media? , 2010, WWW '10.

[8]  David A. Shamma,et al.  Characterizing debate performance via aggregated twitter sentiment , 2010, CHI.

[9]  Patrick Paroubek,et al.  Twitter as a Corpus for Sentiment Analysis and Opinion Mining , 2010, LREC.

[10]  Lillian Lee,et al.  Opinion Mining and Sentiment Analysis , 2008, Found. Trends Inf. Retr..

[11]  Stefan Stieglitz,et al.  Political Communication and Influence through Microblogging--An Empirical Analysis of Sentiment in Twitter Messages and Retweet Behavior , 2012, 2012 45th Hawaii International Conference on System Sciences.

[12]  Bernard J. Jansen,et al.  Twitter power: Tweets as electronic word of mouth , 2009 .

[13]  Guillermo Sapiro,et al.  If you are happy and you know it... tweet , 2012, CIKM '12.

[14]  Johan Bollen,et al.  Twitter mood predicts the stock market , 2010, J. Comput. Sci..

[15]  Gulden Uchyigit,et al.  Sentimentor: Sentiment Analysis of Twitter Data , 2012, SDAD@ECML/PKDD.

[16]  Bing Liu,et al.  Mining and summarizing customer reviews , 2004, KDD.

[17]  Owen Rambow,et al.  Sentiment Analysis of Twitter Data , 2011 .

[18]  E. Fama EFFICIENT CAPITAL MARKETS: A REVIEW OF THEORY AND EMPIRICAL WORK* , 1970 .

[19]  Khaled Rasheed,et al.  Stock market prediction with multiple classifiers , 2007, Applied Intelligence.

[20]  N. Prasath,et al.  Opinion mining and sentiment analysis on a Twitter data stream , 2012, International Conference on Advances in ICT for Emerging Regions (ICTer2012).

[21]  Daniel Dajun Zeng,et al.  Twitter Sentiment Analysis: A Bootstrap Ensemble Framework , 2013, 2013 International Conference on Social Computing.

[22]  Estevam R. Hruschka,et al.  Tweet sentiment analysis with classifier ensembles , 2014, Decis. Support Syst..

[23]  C. Granger Investigating Causal Relations by Econometric Models and Cross-Spectral Methods , 1969 .

[24]  Fei Song,et al.  Feature Selection for Sentiment Analysis Based on Content and Syntax Models , 2011, Decis. Support Syst..

[25]  Mohammad Salehan,et al.  Predicting the performance of online consumer reviews: A sentiment mining approach to big data analytics , 2014, Decis. Support Syst..

[26]  Seung Woo Cho,et al.  Investigating Temporal and Spatial Trends of Brand Images Using Twitter Opinion Mining , 2014, 2014 International Conference on Information Science & Applications (ICISA).

[27]  Kerstin Denecke,et al.  Using SentiWordNet for multilingual sentiment analysis , 2008, 2008 IEEE 24th International Conference on Data Engineering Workshop.