From f66df5abd7b7a1a62c0cf08ab00737ad9fcb668d Mon Sep 17 00:00:00 2001 From: Simon Roberts Date: Thu, 26 Aug 2021 11:15:22 +1000 Subject: [PATCH 1/2] Document table column selection --- docs/content/faq.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/content/faq.md b/docs/content/faq.md index 605e2f3..84f9a8d 100644 --- a/docs/content/faq.md +++ b/docs/content/faq.md @@ -334,6 +334,20 @@ draft: false Supported date ranges are `All Time`, `YTD`, `1Y`, `6M`, `3M`, `1M`, `7D`, `3D`, `24H`. +## How do I set the table columns? + + In the config file, set `columns` value in one of the favorites, portfolio, table sections. The list of available columns can be seen on the help menu - look for "sort_column_XXX". + + For example: + ``` + [table] + columns = ["rank", "name", "symbol", "price", "1h_change", "24h_change", "7d_change", "24h_volume", "market_cap", "available_supply", "total_supply", "last_updated"] + ``` + +## What price-change columns are available? + + Supported columns relating to price change are `1h_change`, `24h_change`, `7d_change`, `30d_change` + ## 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. From 7467eb4e1d71b197f7d29e4c6b4f78eb3849dc4b Mon Sep 17 00:00:00 2001 From: Simon Roberts Date: Thu, 26 Aug 2021 11:19:36 +1000 Subject: [PATCH 2/2] Use TOML markdown --- docs/content/faq.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/content/faq.md b/docs/content/faq.md index 84f9a8d..691d1b8 100644 --- a/docs/content/faq.md +++ b/docs/content/faq.md @@ -339,7 +339,8 @@ draft: false In the config file, set `columns` value in one of the favorites, portfolio, table sections. The list of available columns can be seen on the help menu - look for "sort_column_XXX". For example: - ``` + + ```toml [table] columns = ["rank", "name", "symbol", "price", "1h_change", "24h_change", "7d_change", "24h_volume", "market_cap", "available_supply", "total_supply", "last_updated"] ```