Skip to content

Primitives

The composable building blocks shared across analytics. Every primitive is allocation-free in steady state, single-writer per cell, and replay-deterministic.

PrimitivePurpose
Rolling windowBounded ring used by every windowed statistic.
PercentileP²-quantile sketch — constant memory, online updates.
Baseline comparisonDistribution-comparison helpers shared by the alert analytics.
Alert predicateZ-score / ratio / threshold predicate vocabulary.
Technical indicatorsEMA / WMA / VWAP — the operators used inside windowed analytics.

Proprietary. All rights reserved. Documentation styled per DESIGN.md ("Terminal Ledger").