From bcb85ebed26e4bdb1a8b68afe5b361d665bbb91d Mon Sep 17 00:00:00 2001 From: olli Date: Thu, 23 Nov 2023 10:43:05 +0100 Subject: [PATCH] more pure bash to speed up things --- dabo/functions/check_buy_conditions.sh | 1 - dabo/functions/score.sh | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dabo/functions/check_buy_conditions.sh b/dabo/functions/check_buy_conditions.sh index 5569c21..0a2805c 100644 --- a/dabo/functions/check_buy_conditions.sh +++ b/dabo/functions/check_buy_conditions.sh @@ -122,7 +122,6 @@ function check_buy_conditions_strategy { #if [ -s "${f_strategy}" ] #then - #echo XXX . "${f_strategy}" || return 1 #else # g_echo_note "${f_echo_prefix}Strategy file not found" diff --git a/dabo/functions/score.sh b/dabo/functions/score.sh index 90b3788..ff109c0 100644 --- a/dabo/functions/score.sh +++ b/dabo/functions/score.sh @@ -2,6 +2,6 @@ function score { #s_score=$((s_score${1})) s_score=$(g_calc "${s_score} + ${1}") #echo " SCORE: s_score=${s_score} ($1) $2" - s_score_hist="$s_score_hist -s_score=${s_score} ($1) $2" +# s_score_hist="${s_score_hist} +#s_score=${s_score} (${1}) ${2}" }