more models wireup
This commit is contained in:
28
main.py
28
main.py
@ -89,16 +89,20 @@ async def run_web_dashboard():
|
||||
training_integration = get_training_integration()
|
||||
logger.info("Checkpoint management initialized for training pipeline")
|
||||
|
||||
# Create basic orchestrator for stability
|
||||
orchestrator = TradingOrchestrator(data_provider)
|
||||
logger.info("Basic Trading Orchestrator initialized for stability")
|
||||
logger.info("Using Basic orchestrator - stable and efficient")
|
||||
# Create unified orchestrator with full ML pipeline
|
||||
orchestrator = TradingOrchestrator(
|
||||
data_provider=data_provider,
|
||||
enhanced_rl_training=True,
|
||||
model_registry={}
|
||||
)
|
||||
logger.info("Unified Trading Orchestrator initialized with full ML pipeline")
|
||||
logger.info("Data Bus -> Models (DQN + CNN + COB) -> Decision Model -> Trading Signals")
|
||||
|
||||
# Checkpoint management will be handled in the training loop
|
||||
logger.info("Checkpoint management will be initialized in training loop")
|
||||
|
||||
# COB integration not available in Basic orchestrator
|
||||
logger.info("COB Integration not available - using Basic orchestrator")
|
||||
# Unified orchestrator includes COB integration as part of data bus
|
||||
logger.info("COB Integration available - feeds into unified data bus")
|
||||
|
||||
# Create trading executor for live execution
|
||||
trading_executor = TradingExecutor()
|
||||
@ -168,8 +172,12 @@ def start_web_ui(port=8051):
|
||||
dashboard_checkpoint_manager = get_checkpoint_manager()
|
||||
dashboard_training_integration = get_training_integration()
|
||||
|
||||
# Create basic orchestrator for the dashboard
|
||||
dashboard_orchestrator = TradingOrchestrator(data_provider)
|
||||
# Create unified orchestrator for the dashboard
|
||||
dashboard_orchestrator = TradingOrchestrator(
|
||||
data_provider=data_provider,
|
||||
enhanced_rl_training=True,
|
||||
model_registry={}
|
||||
)
|
||||
|
||||
trading_executor = TradingExecutor("config.yaml")
|
||||
|
||||
@ -181,8 +189,8 @@ def start_web_ui(port=8051):
|
||||
)
|
||||
|
||||
logger.info("Clean Trading Dashboard created successfully")
|
||||
logger.info("Features: Live trading, COB visualization, RL training monitoring, Position management")
|
||||
logger.info("✅ Checkpoint management integrated for training persistence")
|
||||
logger.info("Features: Live trading, COB visualization, ML pipeline monitoring, Position management")
|
||||
logger.info("✅ Unified orchestrator with decision-making model and checkpoint management")
|
||||
|
||||
# Run the dashboard server (COB integration will start automatically)
|
||||
dashboard.run_server(host='127.0.0.1', port=port, debug=False)
|
||||
|
Reference in New Issue
Block a user