diff --git a/dabo/functions/check_buy_conditions.sh b/dabo/functions/check_buy_conditions.sh index 8b360d3..19f3e84 100644 --- a/dabo/functions/check_buy_conditions.sh +++ b/dabo/functions/check_buy_conditions.sh @@ -31,7 +31,7 @@ function check_buy_conditions { if check_buy_conditions_strategy ${f_ASSET_HIST_FILE} ${f_strategy} then f_BUY="${f_echo_prefix} All BUY conditions met!!! -$${f_last_line},${f_market_performance}" +${f_last_line},${f_market_performance}" break fi done @@ -119,7 +119,7 @@ function check_buy_conditions_strategy { g_echo_note "${f_echo_prefix}Strategy file not found" return 1 fi - g_echo_note "${f_echo_prefix}Running BUY checks" + [ -n "${BOT}" ] && g_echo_note "${f_echo_prefix}Running BUY checks" # Check market-performance