Bot auto-update: src/main_ml.py

This commit is contained in:
Marc Blatter 2026-07-04 15:10:01 +02:00
parent 0b41ba1657
commit 524c52ccf6
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class Bot:
qty_usdt = usdt * 0.5
if qty_usdt < 10:
return None
qty = qty_usdt / price
qty = round(qty_usdt / price, 4)
order = self.binance.order_market_buy(symbol=pair, quantity=qty)
logger.info(f"Buy: {pair} x{qty:.4f} @ ${price:.2f}")
self.current_trades[pair] = {