diff --git a/dabo/functions/check_sell_conditions.sh b/dabo/functions/check_sell_conditions.sh index 2b138bd..6887483 100644 --- a/dabo/functions/check_sell_conditions.sh +++ b/dabo/functions/check_sell_conditions.sh @@ -110,6 +110,7 @@ function check_sell_conditions { echo "${result}" >>${g_tmp}/result-${tmpfile} rm -f "${f_TRADE_HIST_FILE}" rm -f "${f_TRADE_HIST_FILE_INTERIM}" + unset f_open_trade #echo "RESULT: ${result}% (${BUY_PRICE} -> ${current})" echo "RESULT: ${result}% (${BUY_PRICE} -> ${f_price})" fi @@ -138,7 +139,6 @@ function check_sell_conditions_strategy { # [ -n "${BOT}" ] && local f_strategy_name=$(echo ${f_strategy} | cut -d. -f6) # #if grep -q "buy.${f_strategy_name}.conf" ${f_TRADE_HIST_FILE} # #then - echo "SELL running ${f_strategy}" . "${f_strategy}" || return 0 # #fi # else