orchestrator uses BaseDataInput
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user