Compare commits
3 Commits
cc413f69a1
...
e5fd834a9d
Author | SHA1 | Date | |
---|---|---|---|
e5fd834a9d | |||
563c63b57b | |||
33f71bb4f6 |
@ -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]}
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
7461
example-values
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user