Jump to content

IdiotProof/research/kalman-2026-11

From MindAttic Docs

Kalman state-space features on low-priced stocks (IP-T405)

Verdict: no Kalman feature is promoted to a DSL condition. The one strong effect found is bid-ask bounce, not a tradeable edge.

Protocol (fixed before the run)

  • Symbols SNDL, PLUG, LCID, TLRY, OPEN, GRAB; leader IWM for the pair residual.
  • 2026-09-01..2026-10-30 regular-session 1-minute bars, from a separate research LocalDB (IdiotProof_Research_T405), read-only market data, no orders.
  • First 67% of sessions: fit the local-linear-trend noise variances by maximum likelihood and learn quintile bucket edges. Last 33%: held-out test.
  • Features: trend slope, innovation z (close vs the filter's prediction), pair-residual z against IWM (time-varying hedge ratio).
  • Outcome: forward 5-minute return > 0.
  • Test: two-sided exact binomial per bucket vs the held-out base rate, Bonferroni across 5 buckets.
  • Promotion rule: a feature becomes a DSL condition only if its corrected p < 0.05 / 18 (6 symbols × 3 features) in at least half the symbols.

Run 1: entry at the signal bar's close

Innovation z and pair-residual z cleared the bar in all 6 symbols. The lowest-innovation quintile rose 47–57% of the time vs a 31–43% base rate (lift 1.14–1.82, corrected p < 0.001). That is short-horizon mean reversion.

Bounce check: entry at the next bar's open

On $1–5 stocks a $0.01 tick is 0.3–0.8% of price. A close printed at the bid "reverts" when the next print is at the ask, and nobody can buy at the bid after seeing the close.

symbol bucket fwd 5m, close entry fwd 5m, next-open entry up%, next-open base up% 1 tick / price
SNDL lowest z +0.229% +0.048% 34.7% 31.3% 0.80%
SNDL highest z −0.222% −0.034% 30.5% 31.3% 0.80%
PLUG lowest z +0.159% −0.023% 36.9% 35.9% 0.71%
LCID lowest z +0.044% +0.005% 42.5% 43.2% 0.30%
TLRY lowest z +0.053% −0.014% 38.2% 37.5% 0.34%
OPEN lowest z +0.073% −0.029% 40.0% 39.2% 0.50%
GRAB lowest z +0.075% −0.006% 38.1% 36.4% 0.35%

Entered at the first price a signal could actually trade at, the effect is gone: up-rates return to the base rate, and the mean move is a small fraction of one tick.

Run 2: next-open entry (now the operation's default)

Only LCID's top slope quintile clears the pre-registered threshold (47.0% vs 42.3%, corrected p = 0.001). That's 1 of 6 symbols, and the slope effect isn't directionally consistent: SNDL's strongest bucket was its lowest slope. Nothing meets the promotion rule.

What shipped

  • IdiotProof.Evidence/StateSpace/: local level, local linear trend and regression (hedge-ratio) Kalman filters, MLE fitting, and causal per-bar features.
  • IdiotProof.Evidence/BucketSignificance.cs: exact two-sided binomial per bucket with Bonferroni.
  • idiotproof evidence kalman: entry at the next bar's open by default (--entry close reproduces Run 1), so bid-ask bounce can't pass for a signal again.

Up = strictly positive return, so flat bars count as not-up; that's why base rates sit below 50% on penny names.

Part of IdiotProof.
From IdiotProof/docs/research/kalman-2026-11.md via MindAttic.Docs; synced automatically, so edit the repo, not this page.