more pure bash to speed up things

This commit is contained in:
olli 2023-11-12 17:57:52 +01:00
parent 4d2ac36310
commit d2dbdea830

View File

@ -17,8 +17,10 @@ function check_buy_conditions {
fi
# get asset vars
#[ -n "${BOT}" ] &&
get_vars_from_csv "${f_ASSET_HIST_FILE}" || return 1
if [ -n "${BOT}" ]
then
get_vars_from_csv "${f_ASSET_HIST_FILE}" || return 1
fi
### from here: check for defined state to buy
f_BUY=""