Prediction of stock values changes using sentiment analysis of stock news headlines

ABSTRACT The prediction and speculation about the values of the stock market especially the values of the worldwide companies are a really interesting and attractive topic. In this article, we cover the topic of the stock value changes and predictions of the stock values using fresh scraped economic news about the companies. We are focussing on the headlines of economic news. We use numerous different tools to the sentiment analysis of the headlines. We consider BERT as the baseline and compare the results with three other tools, VADER, TextBlob, and a Recurrent Neural Network, and compare the sentiment results to the stock changes of the same period. The BERT and RNN were much more accurate, these tools were able to determine the emotional values without neutral sections, in contrast to the other two tools. Comparing these results with the movement of stock market values in the same time periods, we can establish the moment of the change occurred in the stock values with sentiment analysis of economic news headlines. Also we discovered a significant difference between the different models in terms of the effect of emotional values on the change in the value of the stock market by the correlation matrices.

[1]  Nirmalie Wiratunga,et al.  Contextual sentiment analysis for social media genres , 2016, Knowl. Based Syst..

[2]  H. N. Bharathi,et al.  Stock trend prediction using news sentiment analysis , 2016, ArXiv.

[3]  Lukás Burget,et al.  Extensions of recurrent neural network language model , 2011, 2011 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP).

[4]  Alexandra Balahur,et al.  Sentiment Analysis in Social Media Texts , 2013, WASSA@NAACL-HLT.

[5]  Bowen Zhou,et al.  SummaRuNNer: A Recurrent Neural Network Based Sequence Model for Extractive Summarization of Documents , 2016, AAAI.

[6]  Klaus-Robert Müller,et al.  Explaining Recurrent Neural Network Predictions in Sentiment Analysis , 2017, WASSA@EMNLP.

[7]  Hee Soo Lee Exploring the Initial Impact of COVID-19 Sentiment on US Stock Market Using Big Data , 2020 .

[8]  Xuanjing Huang,et al.  Recurrent Neural Network for Text Classification with Multi-Task Learning , 2016, IJCAI.

[9]  Ayman E. Khedr,et al.  Predicting Stock Market Behavior using Data Mining Technique and News Sentiment Analysis , 2017 .

[10]  Ming-Wei Chang,et al.  BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding , 2019, NAACL.

[11]  Sajjad Waheed,et al.  Stock market prediction using an improved training algorithm of neural network , 2016, 2016 2nd International Conference on Electrical, Computer & Telecommunication Engineering (ICECTE).

[12]  Ranjan Kumar Behera,et al.  Real-Time Sentiment Analysis of Twitter Streaming data for Stock Prediction , 2018 .

[13]  Victor Chang,et al.  An innovative neural network approach for stock market prediction , 2018, The Journal of Supercomputing.

[14]  Qing Zhu,et al.  COVID-19 Sensing: Negative Sentiment Analysis on Social Media in China via BERT Model , 2020, IEEE Access.