candle
Shows historic data for a stock
Usage
candle [-t TICKER] [-p] [--sort {open,high,low,close,adjclose,volume,dividends,stock_splits}] [-r] [--raw] [--trend] [--ma MOV_AVG] [--log]
Parameters
Name | Parameter | Description | Default | Optional | Choices |
---|---|---|---|---|---|
ticker | -t --ticker | Ticker to analyze | None | True | None |
prepost | -p --prepost | Pre/After market hours. Only works for 'yf' source, and intraday data | False | True | None |
sort | --sort | Choose a column to sort by. Only works when raw data is displayed. | True | open, high, low, close, adjclose, volume, dividends, stock_splits | |
reverse | -r --reverse | Data is sorted in descending order by default. Reverse flag will sort it in an ascending way. Only works when raw data is displayed. | False | True | None |
raw | --raw | Shows raw data instead of chart. | False | True | None |
trendlines | --trend | Flag to add high and low trends to candle | False | True | None |
mov_avg | --ma | Add moving average in number of days to plot and separate by a comma. Value for ma (moving average) keyword needs to be greater than 1. | None | True | None |
logy | --log | Plot with y axis on log scale | False | True | None |