Files
OpenBB/website/old_content/terminal/ba/hist/_index.md
jose-donato e1962252ad Docs fixes (#3530)
* fix(docs): added margin between sections

* fix: images

* readd old content for examples/images

* fix: codespell

* fix: codespell

* fix: ga

* fix: remove temp lorem ipsum

* fix: docu config for edit page

Co-authored-by: teh_coderer <me@tehcoderer.com>
2022-11-22 14:56:17 -05:00

1.9 KiB
Vendored

usage: hist [-s START] [-e END] [-n NUMBER] [-h] [--export {csv,json,xlsx,png,jpg,pdf,svg}] [--raw] [-l LIMIT]

Plot historical sentiment data of RHI and AHI by hour. Source: [Sentiment Investor]

AHI (Absolute Hype Index)

AHI is a measure of how much people are talking about a stock on social media. It is calculated by dividing the total number of mentions for the chosen stock on a social network by the mean number of mentions any stock receives on that social medium.

RHI (Relative Hype Index)

RHI is a measure of whether people are talking about a stock more or less than usual, calculated by dividing the mean AHI for the past day by the mean AHI for for the past week for that stock.

optional arguments:
  -s START, --start START
                        The starting date (format YYYY-MM-DD) of the stock. Default: 7 days ago (default: 2022-02-09)
  -e END, --end END     The ending date (format YYYY-MM-DD) of the stock. Default: today (default: 2022-02-16)
  -n NUMBER, --number NUMBER
                        Number of results returned from Sentiment Investor. Default: 100 (default: 100)
  -h, --help            show this help message (default: False)
  --export {csv,json,xlsx,png,jpg,pdf,svg}
                        Export raw data into csv, json, xlsx and figure into png, jpg, pdf, svg (default: )
  --raw                 Flag to display raw data (default: False)
  -l LIMIT, --limit LIMIT
                        Number of entries to show in data. (default: 10)

Example:

2022 Feb 16, 10:23 (🦋) /stocks/ba/ $ load TSLA

Loading Daily TSLA stock with starting period 2019-02-11 for analysis.

Datetime: 2022 Feb 16 10:23
Timezone: America/New_York
Currency: USD
Market:   CLOSED

2022 Feb 16, 10:23 (🦋) /stocks/ba/ $ hist

hist