TZ fix again - wip
This commit is contained in:
@ -366,6 +366,15 @@ class DashboardComponentManager:
|
||||
'bid_levels': len(bids),
|
||||
'ask_levels': len(asks)
|
||||
}
|
||||
# Show staleness if provided via provider (age_ms)
|
||||
try:
|
||||
age_ms = None
|
||||
if hasattr(cob_snapshot, 'stats') and isinstance(cob_snapshot.stats, dict):
|
||||
age_ms = cob_snapshot.stats.get('age_ms')
|
||||
if age_ms is not None:
|
||||
stats['age_ms'] = age_ms
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
# --- Left Panel: Overview and Stats ---
|
||||
# Prepend update info to overview
|
||||
|
Reference in New Issue
Block a user