• P-ISSN 0974-6846 E-ISSN 0974-5645

Indian Journal of Science and Technology


Indian Journal of Science and Technology

Year: 2024, Volume: 17, Issue: 21, Pages: 2240-2249

Original Article

Discovering Untapped Potential in Finance Markets Using NLP-Driven Sentiment Analysis

Received Date:20 November 2023, Accepted Date:03 May 2024, Published Date:29 May 2024


Objectives: The main objective in Sentiment Analysis, and financial data is to decode sentiments through the use of Natural Language Processing (NLP) and Machine Learning (ML). This provides insights into market trends that are essential for risk management and well-informed financial decisions. By removing emotion from financial writing, gives stakeholders practical advice for wise investments in dynamic markets. The main objective is to increase the accuracy of Multinomial Naïve Bayes (Multinomial NB). In this work, we used purely ML models to get the accuracy more than the previous works, which got 74%, and in this work, we can see the accuracy increased to approximately 82%. Methods: This specific Research Work employs Machine Learning approaches to extract sentiment polarity (positive, negative, and neutral) from financial text data. The used ML models are- Multinomial Naïve Bayes (Multinomial NB), Logistic Regression (LR), KNeighbors, Decision Tree, and Random Forest algorithms are used for Sentiment Analysis. Findings: Studies conducted in the financial sector have shown that sentiment and informational substance in stock news have a big impact on market factors such as trading volume, volatility, stock prices, and corporate earnings. This study involves approximately 6000 newspaper articles to extract the polarity from financial text data. The incorporation of Multinomial NB of Natural Language Processing techniques results in a marginal improvement in the sentiment classification model performance among all the models used, where the previous works got the lowest accuracy of 74%. Novelty: This research introduces advanced ML models for extracting financial sentiment from text, including Random Forest, LR, KNeighbors, Decision Tree, and Multinomial NB previously unexplored in similar studies. Notably, the Multinomial NB model accuracy rose significantly from 65% to 82%. The study also presents sentiment segregation (positive, negative, neutral) visualized in a donut chart.

Keywords: Sentiment Analysis, Machine Learning, Natural Language Processing, Financial data, Stock market prediction


  1. Yadav A, Jha CK, Sharan A, Vaish V. Sentiment analysis of financial news using unsupervised approach. Procedia Computer Science. 2020;167:589–598. Available from: https://dx.doi.org/10.1016/j.procs.2020.03.325
  2. Deveikyte J, Geman H, Piccari C, Provetti A. A sentiment analysis approach to the prediction of market volatility. Frontiers in Artificial Intelligence. 2022;5:1–10. Available from: https://dx.doi.org/10.3389/frai.2022.836809
  3. Kalbande A. Summarization and Sentiment Analysis for Financial News. International Journal for Research in Applied Science and Engineering Technology. 2021;9(10):88–90. Available from: https://dx.doi.org/10.22214/ijraset.2021.38345
  4. Fazlija B, Harder P. Using Financial News Sentiment for Stock Price Direction Prediction. Mathematics. 2022;10(13):1–20. Available from: https://dx.doi.org/10.3390/math10132156
  5. Chan SWK, Chong MWC. Sentiment analysis in financial texts. Decision Support Systems. 2017;94:53–64. Available from: https://dx.doi.org/10.1016/j.dss.2016.10.006
  6. Arratia A, Avalos G, Cabaña A, Duarte-López A, Renedo-Mirambell M. Sentiment Analysis of Financial News: Mechanics and Statistics. In: Data Science for Economics and Finance. (pp. 195-216) Springer, Cham..
  7. Gupta A, Dengre V, Kheruwala HA, Shah M. Comprehensive review of text-mining applications in finance. Financial Innovation. 2020;6(1):1–25. Available from: https://dx.doi.org/10.1186/s40854-020-00205-1


© 2024 Shahapur et al. This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Published By Indian Society for Education and Environment (iSee)


Subscribe now for latest articles and news.