From 2a0489fcc76042022b7de488745dc89e955334d5 Mon Sep 17 00:00:00 2001 From: olli Date: Sun, 26 Nov 2023 17:31:38 +0100 Subject: [PATCH] debug --- dabo/functions/check_sell_conditions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dabo/functions/check_sell_conditions.sh b/dabo/functions/check_sell_conditions.sh index d0cd1be..77ef332 100644 --- a/dabo/functions/check_sell_conditions.sh +++ b/dabo/functions/check_sell_conditions.sh @@ -102,10 +102,11 @@ function check_sell_conditions { # ANALYZE if [ -n "${f_SELL}" ] && [ -z "${BOT}" ] then - echo "SELL: $f_date ${f_SELL}" + echo "SELL: ${f_date} ${f_SELL}" # echo "${csv_headline},Marketperformace #${f_last_line}" | cut -d, -f 2-22 | perl -pe 's/([0-9].[0-9][0-9][0-9][0-9][0-9][0-9])[0-9]+/$1/g' | perl -pe 's/((?<=,)|(?<=^)),/ ,/g;' | column -t -s, # echo "${f_SELL}" + echo "g_percentage-diff ${BUY_PRICE} ${f_price}" >&2 g_percentage-diff ${BUY_PRICE} ${f_price} #result=${g_percentage_diff_result} g_calc "${g_percentage_diff_result}-${FEE}"