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