This commit is contained in:
olli 2024-08-27 16:28:34 +02:00
parent ab06193f07
commit 492d9babfa

View File

@ -75,6 +75,7 @@ function get_values {
# add current price and sort
f_levels+=("${v[${f_asset}_price]}")
IFS=$'\n' f_levels_sorted=($(sort -n <<<"${f_levels[*]}"))
unset IFS
# find current price and +- one for upper lower price
for ((i=0; i<${#f_levels_sorted[@]}; i++)); do