Browse Source

Change logging level for exchange position info in SimplePositionTracker from info to debug to reduce log verbosity while maintaining necessary details for troubleshooting.

Carles Sentis 3 days ago
parent
commit
c8bdc8899c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/monitoring/simple_position_tracker.py
  2. 1 1
      trading_bot.py

+ 1 - 1
src/monitoring/simple_position_tracker.py

@@ -270,7 +270,7 @@ class SimplePositionTracker:
             roe_percentage = None
             margin_used = None
             if 'info' in exchange_pos and isinstance(exchange_pos['info'], dict):
-                logger.info(f"Exchange position info for {symbol}: {exchange_pos['info']}") # Temporary logging
+                logger.debug(f"Exchange position info for {symbol}: {exchange_pos['info']}") # Temporary logging
                 position_info = exchange_pos['info'].get('position', {})
                 if position_info:
                     roe_raw = position_info.get('returnOnEquity')

+ 1 - 1
trading_bot.py

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