Skip to main content

redditsent

Determine general Reddit sentiment about a ticker. [Source: Reddit]

Usage

redditsent [-s {relevance,hot,top,new,comments}] [-c COMPANY] [--subreddits SUBREDDITS] [-l LIMIT] [-t {hour,day,week,month,year,all}] [--full] [-g] [-d]

Parameters

NameParameterDescriptionDefaultOptionalChoices
sort-s --sortsearch sorting typerelevanceTruerelevance, hot, top, new, comments
company-c --companyexplicit name of company to search for, will override ticker symbolNoneTrueNone
subreddits--subredditscomma-separated list of subreddits to searchallTrueNone
limit-l --limithow many posts to gather from each subreddit10TrueNone
time-t --timetime period to get posts from -- all, year, month, week, or day; defaults to weekweekTruehour, day, week, month, year, all
full_search--fullenable comprehensive searchFalseTrueNone
graphic-g --graphicdisplay graphicTrueTrueNone
display-d --displayPrint table of sentiment valuesFalseTrueNone

Examples

txt
redditsent -c Google --subreddits tech,stocks --full
Searching through subreddits for posts.
100%|█████████████████████████████████████████████████████████████████████████| 2/2 [00:0100:00, 1.84it/s]
Analyzing each post...
100%|███████████████████████████████████████████████████████████████████████| 10/10 [00:0400:00, 2.07it/s]
Sentiment Analysis for Google is 0.7552