better pivots and CNN wip training

This commit is contained in:
Dobromir Popov
2025-05-30 17:14:06 +03:00
parent 2a148b0ac6
commit 774debbf75
8 changed files with 314 additions and 32 deletions

View File

@ -282,6 +282,9 @@ def run_web_dashboard():
try:
logger.info("Starting Web Dashboard Mode with REAL LIVE DATA...")
# Get configuration
config = get_config()
# Initialize core components with enhanced RL support
from core.tick_aggregator import RealTimeTickAggregator
from core.data_provider import DataProvider
@ -308,8 +311,13 @@ def run_web_dashboard():
logger.error("[ERROR] Data connection failed - no real data available")
return
# Load model registry
model_registry = get_model_registry()
# Load model registry - create simple fallback
try:
from core.model_registry import get_model_registry
model_registry = get_model_registry()
except ImportError:
model_registry = {} # Fallback empty registry
logger.warning("Model registry not available, using empty registry")
# Create ENHANCED trading orchestrator for RL training
orchestrator = EnhancedTradingOrchestrator(
@ -339,6 +347,7 @@ def run_web_dashboard():
logger.info("Enhanced RL Training: ENABLED")
logger.info("Real Market Data: ENABLED")
logger.info("MEXC Integration: ENABLED")
logger.info("CNN Training: ENABLED at Williams pivot points")
dashboard.run(host=host, port=port, debug=False)