I got into stock trading last summer and found a stock subreddit call wallstreetbets that I visit often. I got curious to know how the sentiment reflects the market performance

Scrapes the daily discussion threads of r/wallstreetbet and uses keywords in comments to estimate the sentiment for that day. The sentiment goes from -1 to 1, where -1 is extremely bearish, and 1 is extremely bullish (0 is neutral). Uploads the data to a google spreadsheet

Code made in python and run on the google cloud compute engine

Challenges:

  • Was hard to figure out how to get google spreadsheets to work (a bunch of issues with authentication)
  • I'm inexperienced in python so I had to learn

Accomplishments that I'm proud of

  • Successfully able to convert reddit posts into data!

What I learned

  • a little python
  • how to make a reddit bot
  • google cloud compute, google sheets api

What's next for wallstreetbets sentiment indicator

  • considers emojis, buy, sell, moon/drill w/o spy, also use QQQ and DIA.
  • maybe use natural language (could be an issue with reddit)
Share this project:

Updates