This commit is contained in:
olli 2023-11-26 17:31:38 +01:00
parent db7ba20416
commit 2a0489fcc7

View File

@ -102,10 +102,11 @@ function check_sell_conditions {
# ANALYZE
if [ -n "${f_SELL}" ] && [ -z "${BOT}" ]
then
echo "SELL: $f_date ${f_SELL}"
echo "SELL: ${f_date} ${f_SELL}"
# echo "${csv_headline},Marketperformace
#${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,
# echo "${f_SELL}"
echo "g_percentage-diff ${BUY_PRICE} ${f_price}" >&2
g_percentage-diff ${BUY_PRICE} ${f_price}
#result=${g_percentage_diff_result}
g_calc "${g_percentage_diff_result}-${FEE}"