merge training system
This commit is contained in:
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user