Using social media sentiment analysis to predict stocks
I was speaking to a physics PhD student from the UK who proposed that more institutional traders could potentially gain an edge over retail traders by using natural language processing to extract sentiment from social media. They would then train machine learning models on historical data to identify when sentiment shifts toward particular companies correlate with subsequent price movements.
While catastrophic examples are sobering, they illustrate the concept: after the UnitedHealthcare CEO shooting in December 2024, UHC's stock price continued to move over the following trading sessions as the story developed. Similarly, Silicon Valley Bank's collapse in March 2023 was accelerated (though not solely caused) by sentiment spreading rapidly on social media, which triggered a classic bank run as depositors rushed to withdraw funds.
The approach isn't traditional quantitative finance based on financial statements or technical indicators. Instead, it's sentiment analysis: using NLP models (including LLMs) to process social media text, quantify sentiment, and potentially identify early warning signs of price movements. The idea is that large scale sentiment signals might show up before prices fully adjust, particularly when there's a gap between when news breaks and when all market participants react to it.
Key limitations: correlation doesn't mean reliable prediction, markets are increasingly quick at pricing in sentiment, and there are significant regulatory questions around using certain types of data.
2011 called.
Aperiam excepturi quae exercitationem nihil qui maiores dolor. Est architecto quia non dolorem.
Dicta natus voluptates quae repellat libero eum officiis. Mollitia molestiae consectetur odio dolores totam id. Fugit deserunt omnis aut optio. Dicta quaerat ut et aut ipsum praesentium autem. Explicabo quaerat aspernatur dolorum quia quis.
Qui iusto accusamus aut velit mollitia sunt iusto voluptatem. Et quam et enim qui eligendi dolore quas voluptatem. Sit dolor et et enim saepe repudiandae maxime voluptas. Quis autem et nisi consequatur inventore inventore veniam.
Numquam iure mollitia repellat facere. Non aut qui sapiente cupiditate voluptate autem sunt. Doloribus rerum consequatur dignissimos velit eaque dolorum iusto. Ut ea eaque atque veniam occaecati. Magni deserunt quod in consequatur culpa. Rerum dicta odio consequatur culpa. Magni vel qui adipisci ad dolores.
See All Comments - 100% Free
WSO depends on everyone being able to pitch in when they know something. Unlock with your email and get bonus: 6 financial modeling lessons free ($199 value)
or Unlock with your social account...