This commit is contained in:
Dobromir Popov
2025-06-27 03:30:21 +03:00
parent d791ab8b14
commit 601e44de25
5 changed files with 1025 additions and 346 deletions

View File

@ -51,15 +51,17 @@ async def start_training_pipeline(orchestrator, trading_executor):
}
try:
# Start real-time processing (if available in Basic orchestrator)
# Start real-time processing (available in Enhanced orchestrator)
if hasattr(orchestrator, 'start_realtime_processing'):
await orchestrator.start_realtime_processing()
logger.info("Real-time processing started")
else:
logger.info("Real-time processing not available in Basic orchestrator")
# COB integration not available in Basic orchestrator
logger.info("COB integration not available - using Basic orchestrator")
# Start COB integration (available in Enhanced orchestrator)
if hasattr(orchestrator, 'start_cob_integration'):
await orchestrator.start_cob_integration()
logger.info("COB integration started - 5-minute data matrix active")
else:
logger.info("COB integration not available")
# Main training loop
iteration = 0
@ -146,9 +148,9 @@ def start_clean_dashboard_with_training():
# Create data provider
data_provider = DataProvider()
# Create basic orchestrator - stable and efficient
orchestrator = TradingOrchestrator(data_provider)
logger.info("Basic Trading Orchestrator created for stability")
# Create enhanced orchestrator with COB integration - stable and efficient
orchestrator = TradingOrchestrator(data_provider, enhanced_rl_training=True)
logger.info("Enhanced Trading Orchestrator created with COB integration")
# Create trading executor
trading_executor = TradingExecutor()