refactoring. inference real data triggers
This commit is contained in:
@@ -513,6 +513,21 @@ class TradingOrchestrator:
|
||||
self.inference_logger = None # Will be initialized later if needed
|
||||
self.db_manager = None # Will be initialized later if needed
|
||||
|
||||
# Inference Training Coordinator - manages inference frame references and training events
|
||||
# Integrated into orchestrator to reduce duplication and centralize coordination
|
||||
self.inference_training_coordinator = None
|
||||
try:
|
||||
from ANNOTATE.core.inference_training_system import InferenceTrainingCoordinator
|
||||
duckdb_storage = getattr(self.data_provider, 'duckdb_storage', None)
|
||||
self.inference_training_coordinator = InferenceTrainingCoordinator(
|
||||
data_provider=self.data_provider,
|
||||
duckdb_storage=duckdb_storage
|
||||
)
|
||||
logger.info("InferenceTrainingCoordinator initialized in orchestrator")
|
||||
except Exception as e:
|
||||
logger.warning(f"Could not initialize InferenceTrainingCoordinator: {e}")
|
||||
self.inference_training_coordinator = None
|
||||
|
||||
# CRITICAL: Initialize model_states dictionary to track model performance
|
||||
self.model_states: Dict[str, Dict[str, Any]] = {
|
||||
"dqn": {
|
||||
|
||||
Reference in New Issue
Block a user