From 142777d965b3ecd12b96b31dede13323195efcc8 Mon Sep 17 00:00:00 2001 From: Simon Roberts Date: Thu, 19 Aug 2021 09:06:16 +1000 Subject: [PATCH] Simple documentation for default_chart_range --- docs/content/config.md | 1 + docs/content/faq.md | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/docs/content/config.md b/docs/content/config.md index 275aea0..6c6dac2 100644 --- a/docs/content/config.md +++ b/docs/content/config.md @@ -39,6 +39,7 @@ You can configure the actions you want for each key in `config.toml`: ```toml currency = "USD" default_view = "" +default_chart_range = "1Y" api = "coingecko" colorscheme = "cointop" refresh_rate = 60 diff --git a/docs/content/faq.md b/docs/content/faq.md index 65c42bc..605e2f3 100644 --- a/docs/content/faq.md +++ b/docs/content/faq.md @@ -328,6 +328,12 @@ draft: false 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? Run cointop with the `--config` flag, eg `cointop --config="/path/to/config.toml"`, to use the specified file as the config.