Skip to main content
A Veridex deploy is a pinned strategy instance built from a template and a config. The AgentTemplate is the strategy family — the signal logic, decision algorithm, and market regime it targets. The AgentConfig is the concrete deployed instance: the specific thresholds, lookback windows, market universe, sizing rules, and execution mode you set. Two users can deploy the same template with different configs and get different CLV, PnL, hit rate, and drawdown — that is the point of Agent Studio.

Available templates

The following strategy templates are available in Veridex. Each is a separate, deterministic, proposer-only agent: it proposes an AgentAction; the deterministic law recomputes edge and CLV from sealed evidence. No template self-certifies its own score.
Template key: momentum
Class: SharpMomentumStrategy / SharpMomentumAgent (v2)
File: veridex/strategies/momentum.py
Proof mode: reproducible
A 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:
  1. 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.
  2. EWMA smoothing (alpha) — denoises single-tick spikes before the robust-z gate.
  3. Robust z-score (median/MAD, scale_floor-floored) of the latest smoothed movement vs its recent window — immune to a lone outlier. The scale_floor prevents a flat market from dividing by a near-zero MAD when it suddenly reprices.
  4. 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.
  5. 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.
  6. Per-market cooldown (cooldown_ticks) — suppresses a refire for cooldown_ticks ticks after the market fires.
A side is flagged only when all gates pass (AND, not OR). A lone Page-Hinkley trip or lone persistence run does not fire — the false-positive reduction is the point. Operates on 1X2 and totals market families only (props are deferred).Configurable parameters: 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 in sample_agent.toml. All strategy-affecting parameters are folded into the config_hash.

The config_hash

Every strategy parameter you set is folded into a deterministic config_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.

Extend with your own strategy

You can add a custom strategy through three documented extension seams:
Test new configs through replay or backtest mode before promoting to paper or live runs. This gives you a visible performance and policy record before your config reaches real venue submission.