Research Paper

Do stock markets care about ESG and sentiments? Impact of ESG and investors' sentiment on share price prediction using machine learning

  • By Divya Aggarwal
    Assistant Professor
    Co-Authors
    Sougata Banerjee, Indian Institute Of Management, Ranchi
    Pooja Sengupta, University Of Auckland, Auckland, New Zealand
    Journal : Springer International Publishing
    Publisher : Annals of Operations Research

Article citation: Banerjee, S., Aggarwal, D., & Sengupta, P. (2025). Do stock markets care about ESG and sentiments? Impact of ESG and investors' sentiment on share price prediction using machine learning. Annals of Operations Research, 1-40.

Abstract
This paper explores the impact of Environmental, Social, and Governance (ESG) related news sentiment and investors' sentiment (IS) on forecasting stock prices by applying machine learning (ML). X (formerly Twitter) data is used to analyze IS using Natural Language Processing (NLP). While ESG sentiment is sourced from the Amenity Analytics dataset, which uses several news sources from LexisNexis to understand the ESG-related sentiment, and both these sentiments are used to forecast stock prices. Several ML models, such as Long Short-Term Memory (LSTM), Random Forest (RF), and Bayesian Ridge Regression (BRR), were employed to predict stock prices for all thirty Dow Jones Industrial Average (DJIA) constituent companies, the top ten companies of S&P 500 ESG Index, and the DJIA index price as a proxy for the US stock market, for the period between January 2018 and December 2020. The results validate the success of the proposed framework. They suggest that adding ESG news sentiment and investors' sentiment to historical stock prices improves the forecast accuracy as measured by MAPE by as much as 1516bps over the base of a 10-day moving average model. Based on the results from the model, we can categorize the stocks into separate groups driven by the predisposition of investors toward the company and ESG news.