orchestrator uses BaseDataInput

This commit is contained in:
Dobromir Popov
2025-08-08 17:58:24 +03:00
parent f8d3e1c999
commit b15ea82be8
4 changed files with 310 additions and 76 deletions

View File

@ -2315,7 +2315,11 @@ class TradingOrchestrator:
current_time = datetime.now()
# Get the standard model input data once for all models
base_data = self.data_provider.build_base_data_input(symbol)
# Prefer standardized input if available; fallback to legacy builder
if hasattr(self.data_provider, "get_base_data_input"):
base_data = self.data_provider.get_base_data_input(symbol)
else:
base_data = self.data_provider.build_base_data_input(symbol)
if not base_data:
logger.warning(f"Cannot build BaseDataInput for predictions: {symbol}")
return predictions