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
 

Molestiae natus sed dicta corrupti ipsam. Pariatur ab voluptatem pariatur consequatur quidem.

Ducimus beatae at distinctio ea et. Et ullam libero voluptas libero eius doloribus corrupti labore. Voluptatem officia illum laborum. Est est culpa ad occaecati magnam eaque delectus. Dolor dolore aut eos aut.

Eveniet consequatur dolores placeat facilis maiores. Odio magnam quidem esse eius maxime voluptatem autem. Amet quasi iste sed quas minus dolor ex. Perspiciatis consequuntur doloribus quod beatae.

When in doubt, use more peanut butter

Career Advancement Opportunities

May 2026 Investment Banking

  • Evercore 01 99.4%
  • Moelis & Company 01 98.8%
  • JPMorgan 01 98.2%
  • Guggenheim Partners 01 97.7%
  • Morgan Stanley 07 97.1%

Overall Employee Satisfaction

May 2026 Investment Banking

  • Moelis & Company No 99.4%
  • Morgan Stanley 01 98.8%
  • Evercore 01 98.2%
  • BMO Capital Markets 12 97.6%
  • Banco Santander 01 97.1%

Professional Growth Opportunities

June 2026 Investment Banking

  • Moelis & Company No 99.4%
  • Evercore No 98.8%
  • Morgan Stanley 05 98.2%
  • JPMorgan No 97.7%
  • BMO Capital Markets 12 97.1%

Total Avg Compensation

May 2026 Investment Banking

  • Vice President (14) $434
  • Associates (43) $259
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (22) $179
  • Intern/Summer Associate (13) $156
  • 1st Year Analyst (75) $151
  • Intern/Summer Analyst (65) $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
kanon's picture
kanon
99.0
3
BankonBanking's picture
BankonBanking
99.0
4
Secyh62's picture
Secyh62
99.0
5
Betsy Massar's picture
Betsy Massar
98.9
6
DrApeman's picture
DrApeman
98.9
7
GameTheory's picture
GameTheory
98.9
8
CompBanker's picture
CompBanker
98.9
9
dosk17's picture
dosk17
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...”