small fixes
This commit is contained in:
parent
c1d571555c
commit
e9f4a07ff0
@ -30,8 +30,7 @@ function check_buy_conditions {
|
|||||||
f_echo_prefix="BUY ${f_ASSET}@${CURRENCY}:${f_price}:${f_strategy} - "
|
f_echo_prefix="BUY ${f_ASSET}@${CURRENCY}:${f_price}:${f_strategy} - "
|
||||||
if check_buy_conditions_strategy ${f_ASSET_HIST_FILE} ${f_strategy}
|
if check_buy_conditions_strategy ${f_ASSET_HIST_FILE} ${f_strategy}
|
||||||
then
|
then
|
||||||
f_BUY="${f_echo_prefix} All BUY conditions met!!!
|
f_BUY="${f_echo_prefix} All BUY conditions met!!!"
|
||||||
${f_last_line}"
|
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -9,14 +9,7 @@ function get_vars_from_csv {
|
|||||||
|
|
||||||
if [ -z "${f_market_performance}" ]
|
if [ -z "${f_market_performance}" ]
|
||||||
then
|
then
|
||||||
#if [ -z "${BOT}" ]
|
f_market_performance="-50"
|
||||||
#then
|
|
||||||
# g_echo_note "Analyze: No market performanvce data found - forcing good market (-100)"
|
|
||||||
# f_market_performance=100
|
|
||||||
#else
|
|
||||||
# g_echo_note "Bot: No market performanvce data found - forcing bad market (-100)"
|
|
||||||
f_market_performance=-100
|
|
||||||
#fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user