more detailed messages
This commit is contained in:
@ -194,7 +194,11 @@ class COBDashboardServer:
|
||||
|
||||
# Get latest data from cache or COB integration
|
||||
if symbol in self.latest_cob_data:
|
||||
data = self.latest_cob_data[symbol]
|
||||
data = self.latest_cob_data[symbol].copy()
|
||||
# Add OHLCV data to REST response
|
||||
if symbol in self.ohlcv_data:
|
||||
data['ohlcv'] = list(self.ohlcv_data[symbol])
|
||||
logger.debug(f"REST API: Added {len(data['ohlcv'])} OHLCV candles for {symbol}")
|
||||
elif self.cob_integration:
|
||||
data = await self._generate_dashboard_data(symbol)
|
||||
else:
|
||||
|
Reference in New Issue
Block a user