Compare commits

...

3 Commits

Author SHA1 Message Date
e5fd834a9d values 2024-09-02 14:51:46 +02:00
563c63b57b example-values 2024-09-02 14:50:15 +02:00
33f71bb4f6 reset ccxt 2024-09-01 14:42:50 +02:00
4 changed files with 7465 additions and 8 deletions

View File

@ -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]}

View File

@ -32,6 +32,7 @@ function get_balance {
printf -v CURRENCY_BALANCE %.2f ${f_CURRENCY_BALANCE}
else
g_echo_warn "Could not determine CURRENCY_BALANCE (${f_CURRENCY_BALANCE} ${CURRENCY}) from file CCXT_BALANCE $(tail -n 10 CCXT_BALANCE)"
unset f_ccxt_initialized
return 3
fi

View File

@ -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

7461
example-values Normal file

File diff suppressed because it is too large Load Diff