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
Name | Parameter | Description | Default | Optional | Choices |
---|---|---|---|---|---|
sort | -s --sort | search sorting type | relevance | True | relevance, hot, top, new, comments |
company | -c --company | explicit name of company to search for, will override ticker symbol | None | True | None |
subreddits | --subreddits | comma-separated list of subreddits to search | all | True | None |
limit | -l --limit | how many posts to gather from each subreddit | 10 | True | None |
time | -t --time | time period to get posts from -- all, year, month, week, or day; defaults to week | week | True | hour, day, week, month, year, all |
full_search | --full | enable comprehensive search | False | True | None |
graphic | -g --graphic | display graphic | True | True | None |
display | -d --display | Print table of sentiment values | True | True | None |
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