Refresh rates and SLOs
QuantDesk treats the Postgres hub as the canonical cache boundary. APIs read the latest written state, and websockets fan out incremental updates as they arrive.Expected cadences
Staleness thresholds
When a symbol exceeds its freshness threshold,
/api/v2/data-health reports it as stale instead of hiding the condition. For TradFi index synthetics, stale evaluation is session-aware: off-hours US500-PERP / US100-PERP rows are not flagged stale by age alone when the cash session is closed.
Client pattern
- Load a snapshot with REST.
- Subscribe to
market_stats_updateover Socket.IO. - Reconcile on reconnect by refetching the REST snapshot.
Operational notes
- Collectors write heartbeats into
hub_collector_status. - Backend health summaries aggregate collector status plus latest market-stat timestamps.
- Dataset exports capture
storage_format,storage_path,checksum_sha256, row count, and export timestamp for reproducibility.