From 7a97734bc2fcea73ed7d39974f9d57a7f1ac306e Mon Sep 17 00:00:00 2001 From: olli Date: Wed, 1 Nov 2023 15:12:22 +0100 Subject: [PATCH] score --- dabo/functions/check_buy_conditions.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dabo/functions/check_buy_conditions.sh b/dabo/functions/check_buy_conditions.sh index b6c2b5d..f0e08c7 100644 --- a/dabo/functions/check_buy_conditions.sh +++ b/dabo/functions/check_buy_conditions.sh @@ -125,9 +125,8 @@ function check_buy_conditions_strategy { echo " ${f_echo_prefix} Strategy buy signal: ${f_do_buy}" return 0 fi + return 1 - return 0 - # Check market-performance if [ $(echo "${f_market_performance} > ${GOOD_MARKET_PERFORMANCE_INDEX}" | bc -l) -eq 0 ] then echo " ${f_echo_prefix}BUY market performance ${f_market_performance}% looks bad - Dont buy anything"