diff --git a/dabo/functions/check_sell_conditions.sh b/dabo/functions/check_sell_conditions.sh index db2cf1c..428af5f 100644 --- a/dabo/functions/check_sell_conditions.sh +++ b/dabo/functions/check_sell_conditions.sh @@ -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}%"