Harvesting social media sentiment analysis to enhance stock market prediction using deep learning

Pooja Mehta*, Sharnil Pandya*, Ketan Kotecha

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

89 Citations (Scopus)
28 Downloads (Pure)

Abstract

Information gathering has become an integral part of assessing people’s behaviors and actions. The Internet is used as an online learning site for sharing an ideas. People can actively give their reviews and recommendations for variety of products and services using popular social sites and personal blogs. Socia sites, including Twitter, Facebook, and Google+, are examples of the sites used to share opinion. The stock market (SM) is an essential area of the economy and plays a significant role in trade and industry development. Predicting SM movements is a well-known and area of interest to researchers. Social networking perfectly reflects the public’s views of current affairs. Financial news stories are thought to have an impact on the return of stock trend prices and many data mining techniques are used address fluctuations in the SM. Machine learning can provide a more accurate and robust approach to handle SM-related predictions. We sought to identify how movements in a company’s stock prices correlate with the expressed opinions (sentiments) of the public about that company. We designed and implemented a stock price prediction accuracy tool considering public sentiment apart from other parameters. The proposed algorithm considers public sentiment, opinions, news and historical stock prices to forecast future stock prices. Our experiments were performed using machine-learning and deep-learning methods including Support Vector Machine, MNB classifier, linear regression, Naïve Bayes and Long Short-Term Memory. Our results validate the success of the proposed methodology.

Original languageEnglish
Article numbere476
Pages (from-to)1-21
Number of pages21
JournalPeerJ Computer Science
Volume7
DOIs
Publication statusPublished - 13 Apr 2021
Externally publishedYes

Keywords

  • Deep learning
  • LSTM
  • Machine learning
  • Sentiment analysis
  • Stock prediction

Cite this