Skip to content

This program goes through a list of subreddits and finds all the mentions of different stocks. It determines the sentiment on these stocks and returns a csv file with the data.

Notifications You must be signed in to change notification settings

WujiMikeChen/Reddit-Sentiment-Scraper

Repository files navigation

Reddit-Sentiment-Scraper

This program goes through a list of subreddits and finds all the mentions of different stocks. It determines the sentiment on these stocks and returns a csv file with the data.

In order to run this program you need to create a reddit account and complete the file login.txt which is inside the folder Credentials.

Learn how to create and get your Client ID and Client secret here: https://praw.readthedocs.io/en/latest/getting_started/quick_start.html

To run the program go to Main.py. You can change the parameters in order to adjust the number of posts, comments and subreddits scraped. You can also adjust the time between each scrape.

Citations: Minqing Hu and Bing Liu. "Mining and Summarizing Customer Reviews." ; Proceedings of the ACM SIGKDD International Conference on Knowledge ; Discovery and Data Mining (KDD-2004), Aug 22-25, 2004, Seattle, ; Washington, USA,

About

This program goes through a list of subreddits and finds all the mentions of different stocks. It determines the sentiment on these stocks and returns a csv file with the data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages