From af5e92422aec2d7bba927bea335479a07c99c629 Mon Sep 17 00:00:00 2001 From: olli Date: Wed, 22 Nov 2023 17:55:59 +0100 Subject: [PATCH] more pure bash to speed up things --- dabo/analyze.sh | 2 +- dabo/functions/check_sell_conditions.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dabo/analyze.sh b/dabo/analyze.sh index 62b6087..103f004 100755 --- a/dabo/analyze.sh +++ b/dabo/analyze.sh @@ -99,7 +99,7 @@ function analyze { # then # check_sell_conditions ${g_tmp}/${tmpfile} >>${g_tmp}/output-${tmpfile} # else - echo "SELL Checks" + #echo "SELL Checks" check_sell_conditions ${g_tmp}/${tmpfile} # fi # fi diff --git a/dabo/functions/check_sell_conditions.sh b/dabo/functions/check_sell_conditions.sh index 0fb719e..4eb3620 100644 --- a/dabo/functions/check_sell_conditions.sh +++ b/dabo/functions/check_sell_conditions.sh @@ -138,6 +138,7 @@ function check_sell_conditions_strategy { # [ -n "${BOT}" ] && local f_strategy_name=$(echo ${f_strategy} | cut -d. -f6) # #if grep -q "buy.${f_strategy_name}.conf" ${f_TRADE_HIST_FILE} # #then + echo "SELL running ${f_strategy}" . "${f_strategy}" || return 0 # #fi # else