- Notifications
You must be signed in to change notification settings - Fork97
This program goes thru reddit, finds the most mentioned tickers and uses Vader SentimentIntensityAnalyzer to calculate the ticker compound value.
License
asad70/reddit-sentiment-analysis
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This program goes through reddit, finds the most mentioned tickers and uses Vader SentimentIntensityAnalyzer to calculate the ticker compound value.
subs = [] sub-reddit to searchpost_flairs = {} posts flairs to search || None flair is automatically consideredgoodAuth = {} authors whom comments are allowed more than onceuniqueCmt = True allow one comment per author per symbolignoreAuthP = {} authors to ignore for postsignoreAuthC = {} authors to ignore for comment upvoteRatio = float upvote ratio for post to be considered, 0.70 = 70%ups = int define # of upvotes, post is considered if upvotes exceed this #limit = int define the limit, comments 'replace more' limitupvotes = int define # of upvotes, comment is considered if upvotes exceed this #picks = int define # of picks here, prints as "Top ## picks are:"picks_ayz = int define # of picks for sentiment analysispip install -r requirements.txtpython3 reddit-sentiment-analysis.pyIt took 1574.61 seconds to analyze 14236 comments in 8 posts in 1 subreddits.
Posts analyzed saved in titles
10 most mentioned picks:
GME: 764
SPCE: 183
PLTR: 89
TSLA: 71
MVIS: 42
NVDA: 34
AMD: 30
F: 29
TLRY: 29
AAPL: 26
Sentiment analysis of top 5 picks:
Bearish Neutral Bullish Total/Compound
GME 0.087 0.707 1.548 0.030
SPCE 0.119 0.645 1.618 0.027
PLTR 0.073 0.649 1.751 0.032
TSLA 0.088 0.650 1.543 0.049
MVIS 0.155 0.698 1.714 -0.020

Includes US stocks with market cap > 100 Million, and price above $3. It doesn't include penny stocks.
You can download data from here:
Source (US stocks):https://www.nasdaq.com/market-activity/stocks/screener?exchange=nasdaq&letter=0&render=download\
This project is licensed under the MIT License - see theLICENSE.md file for details.
About
This program goes thru reddit, finds the most mentioned tickers and uses Vader SentimentIntensityAnalyzer to calculate the ticker compound value.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.