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

NameDescriptionDefaultOptionalChoices
sortsearch sorting typerelevanceTruerelevance, hot, top, new, comments
companyexplicit name of company to search for, will override ticker symbolNoneTrueNone
subredditscomma-separated list of subreddits to searchallTrueNone
limithow many posts to gather from each subreddit10TrueNone
timetime period to get posts from -- all, year, month, week, or day; defaults to weekweekTruehour, day, week, month, year, all
full_searchenable comprehensive searchFalseTrueNone
graphicdisplay graphicTrueTrueNone
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