fix live updates

This commit is contained in:
Dobromir Popov
2025-12-10 14:39:06 +02:00
parent e200600a0a
commit 732c5b4941
6 changed files with 290 additions and 8 deletions

View File

@@ -3441,10 +3441,10 @@ class TradingOrchestrator:
except Exception as e:
logger.error(f"Error getting trend training stats: {e}")
return {}
def store_model_trend_prediction(self, model_type: str, symbol: str, timeframe: str,
predicted_trend: str, confidence: float,
target_price: float = None, horizon_minutes: int = 60):
def store_model_trend_prediction(self, model_type: str, symbol: str, timeframe: str,
predicted_trend: str, confidence: float,
target_price: float = None, horizon_minutes: int = 60):
"""
Store a trend prediction from a model for later validation