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
|
then
|
||||||
[ -z "${BOT}" ] && local f_strategy_name=$(echo ${f_strategy} | cut -d. -f2)
|
[ -z "${BOT}" ] && local f_strategy_name=$(echo ${f_strategy} | cut -d. -f2)
|
||||||
[ -n "${BOT}" ] && local f_strategy_name=$(echo ${f_strategy} | cut -d. -f6)
|
[ -n "${BOT}" ] && local f_strategy_name=$(echo ${f_strategy} | cut -d. -f6)
|
||||||
if grep -q "buy.${f_strategy_name}.conf" ${f_TRADE_HIST_FILE}
|
#if grep -q "buy.${f_strategy_name}.conf" ${f_TRADE_HIST_FILE}
|
||||||
then
|
#then
|
||||||
. "${f_strategy}" || return 0
|
# . "${f_strategy}" || return 0
|
||||||
fi
|
#fi
|
||||||
else
|
else
|
||||||
g_echo_note "${f_echo_prefix}Strategy file not found"
|
g_echo_note "${f_echo_prefix}Strategy file not found"
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
Reference in New Issue
Block a user