Bir sürü ticaret denemesi yaptım. Tam oldu diyorsun bir sıkıntı çıkıyor. Fakat aşağıdaki fonksiyonla işi çözmüştüm. math import etmeyi unutma.

Girintileri sen halledersin.
def get_precise_quantity(symbol,quantity):
info = binance_client.futures_exchange_info()
for item in info['symbols']:
if(item['symbol'] == symbol):
for f in item['filters']:
if f['filterType'] == 'LOT_SIZE':
step_size = float(f['stepSize'])
break
precision = int(round(-math.log(step_size, 10), 0))
quantity = float(round(quantity, precision))
return quantity

order_amount = 10
kaldirac = 20

guncel_price = binance_client.get_symbol_ticker(symbol=sembol)
quantity = float(order_amount/float(guncel_price['price']))*kaldirac
quantity = get_precise_quantity(symbol = str(sembol),quantity = quantity)

#gibi