more pure bash to speed up things
This commit is contained in:
parent
839680820e
commit
411b4ee940
@ -127,10 +127,10 @@ function check_sell_conditions_strategy {
|
||||
then
|
||||
[ -z "${BOT}" ] && local f_strategy_name=$(echo ${f_strategy} | cut -d. -f2)
|
||||
[ -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
|
||||
. "${f_strategy}" || return 0
|
||||
fi
|
||||
#if grep -q "buy.${f_strategy_name}.conf" ${f_TRADE_HIST_FILE}
|
||||
#then
|
||||
# . "${f_strategy}" || return 0
|
||||
#fi
|
||||
else
|
||||
g_echo_note "${f_echo_prefix}Strategy file not found"
|
||||
return 1
|
||||
|
Loading…
Reference in New Issue
Block a user