more pure bash to speed up things
This commit is contained in:
parent
2a0fca0541
commit
ed03be671e
@ -100,7 +100,7 @@ function analyze {
|
||||
# check_sell_conditions ${g_tmp}/${tmpfile} >>${g_tmp}/output-${tmpfile}
|
||||
# else
|
||||
#echo "SELL Checks"
|
||||
check_sell_conditions ${g_tmp}/${tmpfile}
|
||||
time check_sell_conditions ${g_tmp}/${tmpfile}
|
||||
# fi
|
||||
# fi
|
||||
# if ! [ -f "${g_tmp}/open-${tmpfile}" ]
|
||||
@ -110,7 +110,7 @@ function analyze {
|
||||
# then
|
||||
# check_buy_conditions ${g_tmp}/${tmpfile} >>${g_tmp}/output-${tmpfile}
|
||||
# else
|
||||
check_buy_conditions ${g_tmp}/${tmpfile}
|
||||
time check_buy_conditions ${g_tmp}/${tmpfile}
|
||||
# fi
|
||||
fi
|
||||
## Chart Part
|
||||
|
@ -1,7 +1,5 @@
|
||||
function get_vars_from_csv {
|
||||
|
||||
set -x
|
||||
|
||||
f_ASSET_HIST_FILE="$1"
|
||||
if ! [ -s "${f_ASSET_HIST_FILE}" ]
|
||||
then
|
||||
@ -126,7 +124,6 @@ f_macd_histogram_signal=${f_macd_histogram_signal}"
|
||||
# Coingecko price
|
||||
get_var_from_line coingecko_price 40
|
||||
|
||||
set +x
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user