Преглед на файлове

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 преди 6 дни
родител
ревизия
1233092bf4
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  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"))