+1
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user