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.

2 Comments
 

Velit ea ex qui velit culpa adipisci. Itaque quas voluptate enim et. Dignissimos eaque quis quo consequuntur accusantium nemo tempore hic. Doloribus facilis minima blanditiis et hic esse.

Tenetur corporis pariatur praesentium non. Assumenda aut illo velit fugiat repudiandae necessitatibus.

When in doubt, use more peanut butter

Career Advancement Opportunities

August 2026 Investment Banking

  • Evercore 01 99.5%
  • Moelis & Company 01 98.9%
  • JPMorgan 01 98.4%
  • Morgan Stanley 08 97.8%
  • Goldman Sachs 02 97.3%

Overall Employee Satisfaction

August 2026 Investment Banking

  • Moelis & Company No 99.5%
  • Evercore No 98.9%
  • Morgan Stanley 01 98.4%
  • Banco Santander 02 97.8%
  • BMO Capital Markets 12 97.3%

Professional Growth Opportunities

August 2026 Investment Banking

  • Evercore 01 99.5%
  • Moelis & Company 01 98.9%
  • Morgan Stanley 07 98.4%
  • Goldman Sachs 01 97.8%
  • JPMorgan No 97.3%

Total Avg Compensation

August 2026 Investment Banking

  • Vice President (16) $429
  • Associates (50) $259
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (25) $178
  • Intern/Summer Associate (14) $159
  • 1st Year Analyst (84) $151
  • Intern/Summer Analyst (75) $101
notes
16 IB Interviews Notes

“... there’s no excuse to not take advantage of the resources out there available to you. Best value for your $ are the...”

Leaderboard

success
From 10 rejections to 1 dream investment banking internship

“... I believe it was the single biggest reason why I ended up with an offer...”