From 411b4ee94076d50b70f6ca99c88364c7643ec5d8 Mon Sep 17 00:00:00 2001 From: olli Date: Wed, 15 Nov 2023 17:13:22 +0100 Subject: [PATCH] more pure bash to speed up things --- dabo/functions/check_sell_conditions.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dabo/functions/check_sell_conditions.sh b/dabo/functions/check_sell_conditions.sh index 535b296..19140b6 100644 --- a/dabo/functions/check_sell_conditions.sh +++ b/dabo/functions/check_sell_conditions.sh @@ -127,10 +127,10 @@ function check_sell_conditions_strategy { then [ -z "${BOT}" ] && local f_strategy_name=$(echo ${f_strategy} | cut -d. -f2) [ -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 - . "${f_strategy}" || return 0 - fi + #if grep -q "buy.${f_strategy_name}.conf" ${f_TRADE_HIST_FILE} + #then + # . "${f_strategy}" || return 0 + #fi else g_echo_note "${f_echo_prefix}Strategy file not found" return 1