debug
This commit is contained in:
parent
f0abb1f63c
commit
6f312c5f30
@ -97,23 +97,23 @@ function analyze {
|
|||||||
#if [ -f "${g_tmp}/open-${tmpfile}" ]
|
#if [ -f "${g_tmp}/open-${tmpfile}" ]
|
||||||
if [ -n "${f_open_trade}" ]
|
if [ -n "${f_open_trade}" ]
|
||||||
then
|
then
|
||||||
# if [ "${ANALYZE_VERBOSE}" -eq "0" ]
|
if [ "${ANALYZE_VERBOSE}" -eq "0" ]
|
||||||
# then
|
then
|
||||||
# check_sell_conditions ${g_tmp}/${tmpfile} >>${g_tmp}/output-${tmpfile}
|
check_sell_conditions ${g_tmp}/${tmpfile} >>${g_tmp}/output-${tmpfile}
|
||||||
# else
|
else
|
||||||
#echo "SELL Checks"
|
#echo "SELL Checks"
|
||||||
check_sell_conditions ${g_tmp}/${tmpfile}
|
check_sell_conditions ${g_tmp}/${tmpfile}
|
||||||
# fi
|
fi
|
||||||
# fi
|
# fi
|
||||||
# if ! [ -f "${g_tmp}/open-${tmpfile}" ]
|
# if ! [ -f "${g_tmp}/open-${tmpfile}" ]
|
||||||
else
|
else
|
||||||
# then
|
# then
|
||||||
# if [ "${ANALYZE_VERBOSE}" -eq "0" ]
|
if [ "${ANALYZE_VERBOSE}" -eq "0" ]
|
||||||
# then
|
then
|
||||||
# check_buy_conditions ${g_tmp}/${tmpfile} >>${g_tmp}/output-${tmpfile}
|
check_buy_conditions ${g_tmp}/${tmpfile} >>${g_tmp}/output-${tmpfile}
|
||||||
# else
|
else
|
||||||
check_buy_conditions ${g_tmp}/${tmpfile}
|
check_buy_conditions ${g_tmp}/${tmpfile}
|
||||||
# fi
|
fi
|
||||||
fi
|
fi
|
||||||
## Chart Part
|
## Chart Part
|
||||||
local f_intrade=0
|
local f_intrade=0
|
||||||
|
@ -106,7 +106,6 @@ function check_sell_conditions {
|
|||||||
# echo "${csv_headline},Marketperformace
|
# 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,
|
#${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 "${f_SELL}"
|
||||||
echo "g_percentage-diff ${BUY_PRICE} ${f_price}"
|
|
||||||
g_percentage-diff ${BUY_PRICE} ${f_price}
|
g_percentage-diff ${BUY_PRICE} ${f_price}
|
||||||
#result=${g_percentage_diff_result}
|
#result=${g_percentage_diff_result}
|
||||||
g_calc "${g_percentage_diff_result}-${FEE}"
|
g_calc "${g_percentage_diff_result}-${FEE}"
|
||||||
|
Loading…
Reference in New Issue
Block a user