diff --git a/dabo/functions/binance_convert.sh b/dabo/functions/binance_convert.sh index 7159e72..9013fce 100644 --- a/dabo/functions/binance_convert.sh +++ b/dabo/functions/binance_convert.sh @@ -61,7 +61,7 @@ ${FUNCNAME} $@" fi local f_price_diff=$(g_percentage-diff ${f_market_price} ${f_convert_price}) - if [ $(echo "${f_price_diff} > ${FEE}" | bc -l) -eq 0 ] + if [ $(echo "${f_price_diff} > ${FEE}" | bc -l) -eq 1 ] then local f_note="Price difference between Market Price (${f_market_price}) and Binance Convert Price (${f_convert_price}) is higher then Trading Fee (${f_price_diff} > ${FEE}), so I will better use trade then convert" g_echo_note "$f_note"