Skip to main content

Predicting Stock Market Movement Based on Twitter Data and News Articles Using Sentiment Analysis and Fuzzy Logic

  • Conference paper
  • First Online:
Second International Conference on Computer Networks and Communication Technologies (ICCNCT 2019)

Abstract

Social media has become an integral part of everyone’s life. Twitter is the most prevalent social networking service where millions of users share information astronomically everyday. Aggregation of these tweets provides a reflection of public sentiment which has a notable impact on the Stock Market. The objective of the proposed method is to predict the impact of Tweets and News Articles on Stock Market and provide insights to the investors to help them decide whether or not to invest in a company. The paper proposes a method to improve the efficiency of the existing methodologies by including news articles and adding specific weights to each tweet based on authenticity, followers of the twitterer and it’s retweet count for scrutinizing the public sentiment. It also considers sentiments expressed via emoticons and converts prolonged words into their normal form to increase the efficiency of sentiment analysis. Further, it uses N-gram representation for Feature Extraction and performs sentiment analysis on the collected tweets and news articles using Natural Language Processing and classifies the result into negative, positive or neutral using Naive Bayes classifier. The empirical results displayed in graphical format show that the proposed system can predict the fluctuations in the stock prices based on the sentiment analysis performed on previous day’s collected tweets and news articles.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Kaushal, A., Chaudhary, P.: News and events aware stock price forecasting technique (2017). https://doi.org/10.1109/BID.2017.8336565

  2. Hawley, A.: Fuzzy nets: fuzzy logic and neural networks (2002). https://doi.org/10.1109/IJCNN.2001.939079

  3. Wang, H., Castanon, J.A.: Sentiment expression via emoticons on social media (2015). https://doi.org/10.1109/BigData.2015.7364034

  4. Parveen, H., Pandey, S.: Sentiment analysis on Twitter data-set using Naive Bayes algorithm (2016). https://doi.org/10.1109/ICATCCT.2016.7912034

  5. Chou, J.S., Nguyen, T.K.: Forward forecast of stock price using sliding-window metaheuristic-optimized machine-learning regression (2018). https://doi.org/10.1109/TII.2018.2794389

  6. Yap, K.S., Wong, S.Y., Tiong, S.K: Compressing and improving fuzzy rules using genetic algorithm and its application to fault detection (2013). https://doi.org/10.1109/etfa.2013.6648106

  7. Dang, M., Duong, D.: Improvement methods for stock market prediction using financial news articles (2016). https://doi.org/10.1109/NICS.2016.7725636

  8. Elfajr, N.M., Sarno, R.: Sentiment analysis using weighted emoticons and SentiWordNet for Indonesian language (2018). https://doi.org/10.1109/ISEMANTIC.2018.8549703

  9. Im, T.L., San, P.W., On, C.K., Alfred, R., Anthony, P.: Analysing Market Sentiment in Financial News using Lexical Approach (2014). https://doi.org/10.1109/icos.2013.6735064

  10. Pagolu, V.S., Reddy, K.N., Panda, G., Majhi, B.: Sentiment analysis of Twitter data for predicting stock market movements (2016). https://doi.org/10.1109/SCOPES.2016.7955659

  11. Cakra, Y.E., Trisedya, B.D.: Stock price prediction using linear regression based on sentiment analysis (2015). https://doi.org/10.1109/ICACSIS.2015.7415179

  12. Wang, Z., Ho, S.B., Lin, Z.: Stock market prediction analysis by incorporating social and news opinion and sentiment (2018). https://doi.org/10.1109/ICDMW.2018.00195

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Roshni Pal .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Pal, R., Pawar, U., Zambare, K., Hole, V. (2020). Predicting Stock Market Movement Based on Twitter Data and News Articles Using Sentiment Analysis and Fuzzy Logic. In: Smys, S., Senjyu, T., Lafata, P. (eds) Second International Conference on Computer Networks and Communication Technologies. ICCNCT 2019. Lecture Notes on Data Engineering and Communications Technologies, vol 44. Springer, Cham. https://doi.org/10.1007/978-3-030-37051-0_63

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-37051-0_63

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-37050-3

  • Online ISBN: 978-3-030-37051-0

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics