diff --git a/docs/research/orderflow_notes.md b/docs/research/orderflow_notes.md index c510b74..783e5da 100644 --- a/docs/research/orderflow_notes.md +++ b/docs/research/orderflow_notes.md @@ -5,6 +5,28 @@ to data the system actually has (1-min SIP bars, 15s quote snapshots) and fenced hypotheses, register as pre-registered experiments (experiments/*.json), let nightly adjudication decide. --> + +> **VERDICTS (2026-07-17, first adjudication under deployed exit config, n=2044 v1 fires):** +> - **H1 trigger-erasure: FAIL, mechanism INVERTED here.** 76% of all fires close back below +> the trigger within 5 bars — on $2-20 gappers the recross is NORMAL price action, not a +> death signature. The rule clipped 46% of eventual winners (kill bar: 15%); delta −0.87R. +> Fast recross-invalidation is proven HARMFUL on this population. This also pre-kills H5's +> stall-tightening leg unless it behaves fundamentally differently. +> - **H2 flow-persistence: formal PASS (+0.107R) — REFUTED IN SUBSTANCE by its own +> pre-registered checks.** The kept population still loses (−0.19R/fire vs zeroed −0.24 — +> barely separated), and within BOTH gap strata the sign INVERTS (choppy beats persistent: +> 10-20% −0.03 vs −0.09; 20%+ −0.06 vs −0.26). The pooled tercile gradient is composition, +> not signal (Simpson's). Do not promote. STRUCTURAL LESSON: on a −0.21R baseline, ANY gate +> that zeroes ~44% of fires clears the +0.05 bar mechanically (908/2069 x 0.24 = +0.105); +> keep-or-zero experiments need a random-gate null, not just expR_delta_min. +> - **H4 volume-spike: FAIL clean** (−0.008R; concentration gate separates nothing). +> - **H3 spread-expansion: INCONCLUSIVE (n=29), accruing ~30 fires/day by design** — the +> skip-on-no-coverage guard is working; decisive in ~2 weeks. +> Running tally: conversion levers tested 12, surviving 0 (the regime gate remains the only +> OOS survivor, and it is session-level, not conversion). The transitory-impact mechanism +> (convergent mechanism #1) is looking less like a filterable signature and more like the +> population's base nature. + # Microstructure Shelf → ORB Entry-Conversion: Synthesis Note The bot's proven #1 problem is entry conversion: triggers fire but only ~35-48% of breakouts reach +1R before -1R, and eight selection-side levers have been refuted — the population is fine, what happens AT and AFTER the breakout is the bottleneck. This shelf (Hasbrouck, Bouchaud et al., Cartea et al., Cont-Kukanov-Stoikov, Dalton, Bellafiore, Neill, Cetin-Danilova) is unusually well-matched to that problem, because market microstructure is precisely the study of which price moves stick (permanent, information-driven impact) and which revert (transitory, liquidity-driven impact). The academic and practitioner books converge, from opposite directions, on the same handful of observable signatures — and critically, most are computable from 1-min bars and 15s quote snapshots without tick data. Everything below is either a conditioning gate on already-fired entries or an exit-config variant; nothing re-opens the refuted selection axis. diff --git a/plans/README.md b/plans/README.md index f2a1581..7c0ea52 100644 --- a/plans/README.md +++ b/plans/README.md @@ -66,6 +66,8 @@ plan in this series (check the status table above). - **GET /api/attribution 500s when DATABASE_URL unset** — `research/attribution.py:_connect()` hardcodes `os.environ["DATABASE_URL"]`, bypassing the storage facade's fallback chain everything else uses. Read-side, small. - **Nightly scheduler's `regime build-features` step silently produced no row two nights running** (07-15 full-outage, 07-16 step-level: setups+SPY landed, regime row didn't — backfilled supervised both times). Pull the scheduler container's stdout at 20:00 ET tonight; suspect the `python -m research.regime` CLI's store bootstrap (`WATCHER_EVENT_DB_PATH` default) diverging from DATABASE_URL in-container. +- **Adjudicator gap (2026-07-17, from orderflow H2): the keep-or-zero expR_delta bar is mechanically beatable on a negative-baseline population** — zeroing ANY ~44% of −0.21R/fire fires yields ~+0.09 delta. Add a random-gate null (delta must beat flagged_share x |baseline| by the margin) or a kept-vs-zeroed separation bar before trusting future keep-or-zero PASSes. regime_meta_v1's PASS is unaffected (its evidence was the session-level walk-forward OOS, not just the fire bar). + ## Findings considered and rejected (do not re-audit) - **Retest/pullback entry logic, scale-out partials, close-above-trigger confirmation from folklore** — refuted in `docs/research/entry_conversion_research.md` (external evidence + in-house tests); the research doc's "explicit do-nots".