From 3083e75e88fab890bd49a9cc3ff3ef4c99883e20 Mon Sep 17 00:00:00 2001 From: olli Date: Tue, 28 Nov 2023 17:16:46 +0100 Subject: [PATCH] analyze 2 analyze --- dabo/functions/check_sell_conditions.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/dabo/functions/check_sell_conditions.sh b/dabo/functions/check_sell_conditions.sh index 0d28bc0..75c7c45 100644 --- a/dabo/functions/check_sell_conditions.sh +++ b/dabo/functions/check_sell_conditions.sh @@ -70,16 +70,16 @@ function check_sell_conditions { fi done - if [ -n "$f_SELL" ] - then - # Check for filled buy conditions - if filled don't sell - echo " ${f_echo_prefix}Checking for filled buy conditions" - if ! check_buy_conditions ${f_ASSET_HIST_FILE} SELL - then - echo " ${f_echo_prefix}Buy-Conditions met - dont sell" - return 0 - fi - fi + #if [ -n "$f_SELL" ] + #then + # # Check for filled buy conditions - if filled don't sell + # echo " ${f_echo_prefix}Checking for filled buy conditions" + # if ! check_buy_conditions ${f_ASSET_HIST_FILE} SELL + # then + # echo " ${f_echo_prefix}Buy-Conditions met - dont sell" + # return 0 + # fi + #fi ### Sell or not sell?