From 0b41ba165729d2bfdbf232f3726da4a4d62a5504 Mon Sep 17 00:00:00 2001 From: Marc Blatter Date: Sat, 4 Jul 2026 15:05:01 +0200 Subject: [PATCH] Bot auto-update: src/main_ml.py --- src/main_ml.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main_ml.py b/src/main_ml.py index 240d7fa..daa83d7 100644 --- a/src/main_ml.py +++ b/src/main_ml.py @@ -7,11 +7,11 @@ import logging logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s') logger = logging.getLogger(__name__) -load_dotenv() +load_dotenv("/home/marc/bot-deploy/.env") class Bot: def __init__(self): - self.binance = Client(os.getenv("BINANCE_API_KEY"), os.getenv("BINANCE_API_SECRET")) + self.binance = Client(os.getenv("BINANCE_API_KEY_LIVE"), os.getenv("BINANCE_API_SECRET_LIVE")) self.pairs = ["BTCUSDT","ETHUSDT","SOLUSDT","BNBUSDT","XRPUSDT"] self.current_trades = {} self.completed_trades = []