2
0
mirror of https://github.com/miguelmota/cointop synced 2024-11-14 18:12:57 +00:00

Simple documentation for default_chart_range

This commit is contained in:
Simon Roberts 2021-08-19 09:06:16 +10:00
parent b83d15cdc1
commit 142777d965
2 changed files with 7 additions and 0 deletions

View File

@ -39,6 +39,7 @@ You can configure the actions you want for each key in `config.toml`:
```toml ```toml
currency = "USD" currency = "USD"
default_view = "" default_view = ""
default_chart_range = "1Y"
api = "coingecko" api = "coingecko"
colorscheme = "cointop" colorscheme = "cointop"
refresh_rate = 60 refresh_rate = 60

View File

@ -328,6 +328,12 @@ draft: false
In the config file, set `default_view = "default"` In the config file, set `default_view = "default"`
## How do I set the default chart range?
In the config file, set `default_chart_range = "3M"`
Supported date ranges are `All Time`, `YTD`, `1Y`, `6M`, `3M`, `1M`, `7D`, `3D`, `24H`.
## How can use a different config file other than the default? ## How can use a different config file other than the default?
Run cointop with the `--config` flag, eg `cointop --config="/path/to/config.toml"`, to use the specified file as the config. Run cointop with the `--config` flag, eg `cointop --config="/path/to/config.toml"`, to use the specified file as the config.