diff --git a/dabo/analyze.sh b/dabo/analyze.sh index 289e8c1..8bfe372 100755 --- a/dabo/analyze.sh +++ b/dabo/analyze.sh @@ -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 diff --git a/dabo/functions/get_vars_from_csv.sh b/dabo/functions/get_vars_from_csv.sh index cfe480c..f3731b1 100644 --- a/dabo/functions/get_vars_from_csv.sh +++ b/dabo/functions/get_vars_from_csv.sh @@ -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 }