analyze 2 analyze

This commit is contained in:
olli 2023-11-28 17:22:46 +01:00
parent 5aa8f63a8e
commit b9115e6879

View File

@ -99,10 +99,9 @@ function analyze {
[ -z "${f_market_performance}" ] && f_market_performance=${f_market_performance_before}
f_market_performance_before=${f_market_performance}
g_num_valid_number "${f_market_performance}" >/dev/null 2>&1 || f_market_performance=0
#echo "MARKET_PERF=$f_market_performance"
#if [ -f "${g_tmp}/open-${tmpfile}" ]
echo "OPEN TRADE: ${f_open_trade}"
echo "=== OPEN TRADE: ${f_open_trade}"
if [ -n "${f_open_trade}" ]
then
if [ "${ANALYZE_VERBOSE}" -eq "0" ]
@ -119,6 +118,7 @@ function analyze {
check_buy_conditions ${g_tmp}/${tmpfile} #| tee -a ${g_tmp}/output-${tmpfile}
fi
fi
echo "=== END "
if [ -n "${f_BUY}" ]
then