Skip to main content

Module analytics

Module analytics 

Source
Expand description

Analytics and historical data traits (async, API read path).

These power the public REST API endpoints for trade history, fills, orders, PnL, and theo history. All async because the API layer uses diesel-async with a separate connection pool.

Traitsยง

AnalyticsReader
Read-only analytics queries for the API layer.
AnalyticsWriter
Write operations for analytics tables (snapshots, BBO, etc.).