This commit is contained in:
olli 2023-11-01 14:00:28 +01:00
parent b8959cb240
commit 274e87749b

View File

@ -35,7 +35,7 @@ function check_sell_conditions {
f_result=$(g_percentage-diff ${f_BUY_PRICE} ${f_price})
f_BUY_PRICE_LAST_RATE_DIFF=${f_result}
result=${f_BUY_PRICE_LAST_RATE_DIFF}
f_real_result=$(echo "${f_result}-${FEE}" | bc)
f_real_result=$(g_calc "${f_result}-${FEE}")
# analyze
[ -z "${BOT}" ] && echo "INTERIM RESULT: ${f_real_result}%"