analyze 2 analyze
This commit is contained in:
parent
3083e75e88
commit
5aa8f63a8e
@ -102,6 +102,7 @@ function analyze {
|
||||
#echo "MARKET_PERF=$f_market_performance"
|
||||
|
||||
#if [ -f "${g_tmp}/open-${tmpfile}" ]
|
||||
echo "OPEN TRADE: ${f_open_trade}"
|
||||
if [ -n "${f_open_trade}" ]
|
||||
then
|
||||
if [ "${ANALYZE_VERBOSE}" -eq "0" ]
|
||||
@ -119,14 +120,12 @@ function analyze {
|
||||
fi
|
||||
fi
|
||||
|
||||
set -x
|
||||
if [ -n "${f_BUY}" ]
|
||||
then
|
||||
echo "BUY: ${f_BUY}"
|
||||
f_open_trade=1
|
||||
BUY_PRICE=$f_price
|
||||
fi
|
||||
set +x
|
||||
|
||||
# if [ -n "${f_SELL}" ]
|
||||
# then
|
||||
|
Loading…
Reference in New Issue
Block a user