csv headline in buy/sell message

This commit is contained in:
2023-05-13 20:35:13 +02:00
parent 2bf22dfee8
commit 5fbce3269b
5 changed files with 13 additions and 6 deletions

View File

@@ -127,8 +127,6 @@ function check_buy_conditions {
fi
fi
### Buy or not buy?
# BOT
if [ -n "$f_BUY" ] && [ -n "${BOT}" ]
@@ -180,7 +178,9 @@ ${f_BUY}"
# ANALYZE
if [ -n "$f_BUY" ] && [ -z "${BOT}" ]
then
echo "BUY: ${f_echo_prefix} All BUY conditions met!!! $f_BUY"
echo "BUY: ${f_echo_prefix} All BUY conditions met!!!
${csv_headline}
${f_BUY}"
echo "$f_BUY" >${g_tmp}/open-${tmpfile}
BUY_PRICE=$current
fi