analyze 2 analyze
This commit is contained in:
parent
60ec6f8189
commit
a37646b353
@ -109,6 +109,7 @@ function analyze {
|
||||
else
|
||||
check_sell_conditions ${g_tmp}/${tmpfile} #| tee -a ${g_tmp}/output-${tmpfile}
|
||||
fi
|
||||
echo "INTERIM RESULT: ${f_real_result}%"
|
||||
else
|
||||
if [ "${ANALYZE_VERBOSE}" -eq "0" ]
|
||||
then
|
||||
@ -135,7 +136,7 @@ function analyze {
|
||||
echo "${result}" >>${g_tmp}/result-${tmpfile}
|
||||
rm -f "${f_TRADE_HIST_FILE}"
|
||||
rm -f "${f_TRADE_HIST_FILE_INTERIM}"
|
||||
echo "RESULT: ${result}% (${BUY_PRICE} -> ${f_price})"
|
||||
echo "RESULT: ${result}% (${BUY_PRICE} -> ${f_price})" >>${g_tmp}/output-${tmpfile}
|
||||
unset f_open_trade
|
||||
unset f_SELL
|
||||
fi
|
||||
|
@ -43,7 +43,7 @@ function check_sell_conditions {
|
||||
f_real_result=${g_calc_result}
|
||||
|
||||
# analyze
|
||||
[ -z "${BOT}" ] && echo "INTERIM RESULT: ${f_real_result}%"
|
||||
#[ -z "${BOT}" ] && echo "INTERIM RESULT: ${f_real_result}%"
|
||||
|
||||
|
||||
# store new interim result
|
||||
|
Loading…
Reference in New Issue
Block a user