analyze 2 analyze

This commit is contained in:
olli 2023-11-28 17:18:45 +01:00
parent 3083e75e88
commit 5aa8f63a8e

View File

@ -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