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
 

Voluptatem reprehenderit ratione inventore libero eum. Animi maxime nam dolores et. Repellat autem a quae et.

Voluptas quibusdam occaecati quis. Nihil id voluptas voluptates in ut.

Qui dolorum numquam magnam tempore ipsa facere veniam. Omnis ea consectetur harum earum. Explicabo laboriosam rem blanditiis et eveniet et voluptatem. Accusantium voluptates iure incidunt officiis nam rerum dolorem.

When in doubt, use more peanut butter

Career Advancement Opportunities

October 2026 Investment Banking

  • Evercore 01 99.5%
  • Moelis & Company 01 99.0%
  • JPMorgan 01 98.4%
  • Guggenheim Partners 02 97.9%
  • Morgan Stanley 06 97.4%

Overall Employee Satisfaction

October 2026 Investment Banking

  • Moelis & Company No 99.5%
  • Morgan Stanley 02 99.0%
  • Evercore 01 98.4%
  • Banco Santander 02 97.9%
  • BMO Capital Markets 13 97.4%

Professional Growth Opportunities

October 2026 Investment Banking

  • Evercore 01 99.5%
  • Moelis & Company 01 99.0%
  • Morgan Stanley 05 98.4%
  • Goldman Sachs 01 97.9%
  • JPMorgan No 97.4%

Total Avg Compensation

October 2026 Investment Banking

  • Vice President (16) $429
  • Associates (57) $264
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (28) $184
  • Intern/Summer Associate (16) $161
  • 1st Year Analyst (84) $151
  • Intern/Summer Analyst (76) $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

1
redever's picture
redever
99.2
2
Secyh62's picture
Secyh62
99.0
3
kanon's picture
kanon
99.0
4
BankonBanking's picture
BankonBanking
99.0
5
GameTheory's picture
GameTheory
98.9
6
DrApeman's picture
DrApeman
98.9
7
dosk17's picture
dosk17
98.9
8
CompBanker's picture
CompBanker
98.9
9
Betsy Massar's picture
Betsy Massar
98.9
10
Jamoldo's picture
Jamoldo
98.8
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...”