debug
This commit is contained in:
parent
f0abb1f63c
commit
6f312c5f30
@ -97,23 +97,23 @@ function analyze {
|
||||
#if [ -f "${g_tmp}/open-${tmpfile}" ]
|
||||
if [ -n "${f_open_trade}" ]
|
||||
then
|
||||
# if [ "${ANALYZE_VERBOSE}" -eq "0" ]
|
||||
# then
|
||||
# check_sell_conditions ${g_tmp}/${tmpfile} >>${g_tmp}/output-${tmpfile}
|
||||
# else
|
||||
if [ "${ANALYZE_VERBOSE}" -eq "0" ]
|
||||
then
|
||||
check_sell_conditions ${g_tmp}/${tmpfile} >>${g_tmp}/output-${tmpfile}
|
||||
else
|
||||
#echo "SELL Checks"
|
||||
check_sell_conditions ${g_tmp}/${tmpfile}
|
||||
# fi
|
||||
fi
|
||||
# fi
|
||||
# if ! [ -f "${g_tmp}/open-${tmpfile}" ]
|
||||
else
|
||||
# then
|
||||
# if [ "${ANALYZE_VERBOSE}" -eq "0" ]
|
||||
# then
|
||||
# check_buy_conditions ${g_tmp}/${tmpfile} >>${g_tmp}/output-${tmpfile}
|
||||
# else
|
||||
check_buy_conditions ${g_tmp}/${tmpfile}
|
||||
# fi
|
||||
if [ "${ANALYZE_VERBOSE}" -eq "0" ]
|
||||
then
|
||||
check_buy_conditions ${g_tmp}/${tmpfile} >>${g_tmp}/output-${tmpfile}
|
||||
else
|
||||
check_buy_conditions ${g_tmp}/${tmpfile}
|
||||
fi
|
||||
fi
|
||||
## Chart Part
|
||||
local f_intrade=0
|
||||
|
@ -106,7 +106,6 @@ function check_sell_conditions {
|
||||
# echo "${csv_headline},Marketperformace
|
||||
#${f_last_line}" | cut -d, -f 2-22 | perl -pe 's/([0-9].[0-9][0-9][0-9][0-9][0-9][0-9])[0-9]+/$1/g' | perl -pe 's/((?<=,)|(?<=^)),/ ,/g;' | column -t -s,
|
||||
# echo "${f_SELL}"
|
||||
echo "g_percentage-diff ${BUY_PRICE} ${f_price}"
|
||||
g_percentage-diff ${BUY_PRICE} ${f_price}
|
||||
#result=${g_percentage_diff_result}
|
||||
g_calc "${g_percentage_diff_result}-${FEE}"
|
||||
|
Loading…
Reference in New Issue
Block a user