Bladeren bron

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 dagen geleden
bovenliggende
commit
1233092bf4
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  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"))