From 98c8dabf1abf648992e0fc6fd7b3a3f8bd9f0788 Mon Sep 17 00:00:00 2001 From: olli Date: Fri, 1 Dec 2023 14:27:54 +0100 Subject: [PATCH] trade iterations --- dabo/functions/check_sell_conditions.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dabo/functions/check_sell_conditions.sh b/dabo/functions/check_sell_conditions.sh index e5ff25e..cbdb30a 100644 --- a/dabo/functions/check_sell_conditions.sh +++ b/dabo/functions/check_sell_conditions.sh @@ -128,6 +128,9 @@ function check_sell_conditions_strategy { f_do_sell="" + # get iteration of current trade + f_trade_iterations=$(cat ${f_TRADE_HIST_FILE_INTERIM} | wc -l) + [ -n "${BOT}" ] && g_echo_note "${f_echo_prefix}Running SELL checks" # run strategy