Procházet zdrojové kódy

Change logging level from INFO to DEBUG in RiskCleanupManager for open positions check. This adjustment improves the granularity of log messages without cluttering the info logs.

Carles Sentis před 6 dny
rodič
revize
1233092bf4
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1 1
      src/monitoring/risk_cleanup_manager.py
  2. 1 1
      trading_bot.py

+ 1 - 1
src/monitoring/risk_cleanup_manager.py

@@ -132,7 +132,7 @@ class RiskCleanupManager:
             stats = self.trading_engine.get_stats()
             positions = stats.get_open_positions() if stats else []
             if not positions:
-                logger.info("No open positions found in DB for risk management check.")
+                logger.debug("No open positions found in DB for risk management check.")
                 await self._cleanup_orphaned_stop_losses() # Call within class
                 return
 

+ 1 - 1
trading_bot.py

@@ -14,7 +14,7 @@ from datetime import datetime
 from pathlib import Path
 
 # Bot version
-BOT_VERSION = "2.4.218"
+BOT_VERSION = "2.4.219"
 
 # Add src directory to Python path
 sys.path.insert(0, str(Path(__file__).parent / "src"))