diff --git a/dabo/functions/check_buy_conditions.sh b/dabo/functions/check_buy_conditions.sh index b290c46..daa77e2 100644 --- a/dabo/functions/check_buy_conditions.sh +++ b/dabo/functions/check_buy_conditions.sh @@ -36,7 +36,7 @@ function check_buy_conditions { for f_strategy in "${f_buy_strategies_array[@]}" do f_echo_prefix="BUY ${f_ASSET}@${CURRENCY}:${f_price}:${f_strategy} - " - if check_buy_conditions_strategy ${f_ASSET_HIST_FILE} ${f_strategy} + if time check_buy_conditions_strategy ${f_ASSET_HIST_FILE} ${f_strategy} then f_BUY="${f_echo_prefix} All BUY conditions met!!!" break @@ -123,7 +123,7 @@ function check_buy_conditions_strategy { #if [ -s "${f_strategy}" ] #then echo "${f_strategy}" - time . "${f_strategy}" || return 1 + . "${f_strategy}" || return 1 #else # g_echo_note "${f_echo_prefix}Strategy file not found" # return 1