Available templates
The following strategy templates are available in Veridex. Each is a separate, deterministic, proposer-only agent: it proposes anAgentAction; the deterministic law recomputes edge and CLV from sealed evidence. No template self-certifies its own score.
- momentum (Sharp Momentum v2)
- cumulative-drift
- value
- llm
- baseline
Template key:
Class:
File:
Proof mode:
momentumClass:
SharpMomentumStrategy / SharpMomentumAgent (v2)File:
veridex/strategies/momentum.pyProof mode:
reproducibleA false-positive-controlled line-movement detector grounded in the line-movement literature (Simon 2024, Management Science). It does not predict outcomes — it detects sustained, statistically significant TxLINE repricing and proposes the side the market is confirming.The detection pipeline, in order:- Logit-space movements — probabilities are converted to log-odds before measurement, so a 2%→3% and a 50%→51% move are correctly treated as different-sized events.
- EWMA smoothing (
alpha) — denoises single-tick spikes before the robust-z gate. - Robust z-score (median/MAD,
scale_floor-floored) of the latest smoothed movement vs its recent window — immune to a lone outlier. Thescale_floorprevents a flat market from dividing by a near-zero MAD when it suddenly reprices. - Directional Page-Hinkley change-point (
ph_delta,ph_lambda) — confirms the move is sustained and in the same direction as the shock. A downward change-point cannot confirm an upward move. - Persistence confirmation — at least 2 of the last 3 smoothed movements must share the shock’s direction AND their cumulative logit move must clear
persistence_logit. - Per-market cooldown (
cooldown_ticks) — suppresses a refire forcooldown_ticksticks after the market fires.
alpha, z_threshold, ph_delta, ph_lambda, cooldown_ticks, warmup_ticks, min_movements, lookback, scale_floor, persistence_logit — 10 parameters total, all folded into config_hash.Key configurable parameters
The following parameters appear across templates and insample_agent.toml. All strategy-affecting parameters are folded into the config_hash.
The config_hash
Every strategy parameter you set is folded into a deterministicconfig_hash at deploy time. Changing any strategy parameter creates a new pinned config hash and therefore a new AgentInstance.
This is intentional. Because each config produces a unique sealed identity, Veridex can replay exactly which config caused which actions. Two agents on the same template with different configs are different instances with different hashes — and the leaderboard reflects that.