candle
Shows historic data for an ETF
Usage
candle [-p] [--sort {adjclose,open,close,high,low,volume,returns,logret}] [-r] [-n NUM] [-t] [--ma MOV_AVG]
Parameters
Name | Parameter | Description | Default | Optional | Choices |
---|---|---|---|---|---|
plotly | -p --plotly | Flag to show interactive plotly chart. | True | True | None |
sort | --sort -s | Choose a column to sort by | True | adjclose, open, close, high, low, volume, returns, logret | |
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 |
num | -n --num | Number to show if raw selected | 20 | True | range(1, 100) |
trendlines | -t --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. | True | None |