analyze 2 analyze
This commit is contained in:
parent
8b5ffad49c
commit
1423fdbe71
@ -119,6 +119,16 @@ function analyze {
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -n "$f_BUY" ]
|
||||
then
|
||||
set -x
|
||||
echo "BUY: ${f_BUY}"
|
||||
f_open_trade=1
|
||||
BUY_PRICE=$f_price
|
||||
f_BUY=""
|
||||
set +x
|
||||
fi
|
||||
|
||||
if [ -n "${f_SELL}" ]
|
||||
then
|
||||
set -x
|
||||
|
@ -105,17 +105,17 @@ function check_buy_conditions {
|
||||
f_BUY=""
|
||||
fi
|
||||
|
||||
# ANALYZE
|
||||
if [ -n "$f_BUY" ] && [ -z "${BOT}" ]
|
||||
then
|
||||
echo "BUY: ${f_BUY}"
|
||||
#echo "${csv_headline},Marketperformance
|
||||
#${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_open_trade=1
|
||||
#echo "${f_echo_prefix}${f_BUY}" >${g_tmp}/open-${tmpfile}
|
||||
BUY_PRICE=$f_price
|
||||
f_BUY=""
|
||||
fi
|
||||
# # ANALYZE
|
||||
# if [ -n "$f_BUY" ] && [ -z "${BOT}" ]
|
||||
# then
|
||||
# echo "BUY: ${f_BUY}"
|
||||
##echo "${csv_headline},Marketperformance
|
||||
##${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_open_trade=1
|
||||
# #echo "${f_echo_prefix}${f_BUY}" >${g_tmp}/open-${tmpfile}
|
||||
# BUY_PRICE=$f_price
|
||||
# f_BUY=""
|
||||
# fi
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user