From e5fd834a9d6a9b4bf41a9d7ae74cd76e99d7e761 Mon Sep 17 00:00:00 2001 From: olli Date: Mon, 2 Sep 2024 14:51:46 +0200 Subject: [PATCH] values --- README.md | 9 ++------- dabo/functions/get_values.sh | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 8cd2c11..12572f5 100644 --- a/README.md +++ b/README.md @@ -351,14 +351,9 @@ ${v[ETHUSDT_1w_macd_histogram_signal_1]} ${v[SOLUSDT_levels_1d]} $v[$[SOLUSDT_levels_1d_next_up]} $v[$[ETHUSDT_levels_1w_next_down]} - ``` - -Show all available: -``` -for x in "${!v[@]}"; do printf "[%q]=%q\n" "$x" "${v[$x]}" ; done -``` - +You can find a complete list of available values in the file `data/botdata/values` whic is creates in the runtime of the bot. +An example you can find in example-values. #### Current price from exchange ${f_tickers_array[SYMBOL]} diff --git a/dabo/functions/get_values.sh b/dabo/functions/get_values.sh index be2ea6a..5950b8e 100644 --- a/dabo/functions/get_values.sh +++ b/dabo/functions/get_values.sh @@ -96,7 +96,7 @@ function get_values { for i in "${!v[@]}" do - echo "\${v[$i]}" + echo "\${v[$i]} = ${v[$i]}" done | sort >values.new mv values.new values