added chart

This commit is contained in:
olli 2023-10-28 16:45:55 +02:00
parent f61f52e1ea
commit 72dd82d0cb

View File

@ -67,7 +67,6 @@ function analyze {
else else
check_sell_conditions ${g_tmp}/${tmpfile} check_sell_conditions ${g_tmp}/${tmpfile}
fi fi
#f_buy_score="0"
fi fi
if ! [ -f "${g_tmp}/open-${tmpfile}" ] if ! [ -f "${g_tmp}/open-${tmpfile}" ]
then then
@ -77,9 +76,10 @@ function analyze {
else else
check_buy_conditions ${g_tmp}/${tmpfile} check_buy_conditions ${g_tmp}/${tmpfile}
fi fi
#f_sell_score="0"
fi fi
# Chart Part # Chart Part
[ -z "${f_sell_score}" ] && f_sell_score=0
[ -z "${f_buy_score}" ] && f_buy_score=0
echo "$line,${f_market_performance},${f_buy_score},${f_sell_score}" >>analyze-${analyzedate}/chart-${tmpfile} echo "$line,${f_market_performance},${f_buy_score},${f_sell_score}" >>analyze-${analyzedate}/chart-${tmpfile}
# Chart Part End # Chart Part End
done done