merge training system

This commit is contained in:
Dobromir Popov
2025-08-23 16:27:05 +03:00
parent 81749ee18e
commit f86457fc38
8 changed files with 166 additions and 8 deletions

View File

@@ -6894,6 +6894,14 @@ class TradingOrchestrator:
try:
if not self.training_enabled or not self.enhanced_training_system:
logger.warning("Enhanced training system not available")
# Still start enhanced reward system + timeframe coordinator unconditionally
try:
from core.enhanced_reward_system_integration import start_enhanced_rewards_for_orchestrator
import asyncio as _asyncio
_asyncio.create_task(start_enhanced_rewards_for_orchestrator(self, symbols=[self.symbol] + self.ref_symbols))
logger.info("Enhanced reward system started (without enhanced training)")
except Exception as e:
logger.error(f"Error starting enhanced reward system: {e}")
return False
if hasattr(self.enhanced_training_system, "start_training"):