From 468ddbe198e4ef254d4c34932b14c396d67dd5d1 Mon Sep 17 00:00:00 2001 From: wvr Date: Mon, 30 Nov 2026 11:35:34 -0600 Subject: [PATCH] asdf --- ...0K_Our_Positive-EV_Strategies_Explained.md | 8 +- Prop Account Tracker.xlsx | Bin 23218 -> 23218 bytes handoffs/HANDOFF-2026-11-27.md | 825 ++++++++++++++++++ ...K Our Positive-EV Strategies, Explained.md | 389 +++++++++ ... Our Positive-EV Strategies, Explained.pdf | Bin 0 -> 707818 bytes ...andoff_v4.4.zip => lucid_handoff_v6.0.zip} | Bin 415701 -> 518424 bytes handoffs/lucid_v4.4_docs.zip | Bin 68747 -> 0 bytes research/math_concepts.txt | 26 - .../papers_on_direction_not_magnitude.txt | 31 - 9 files changed, 1221 insertions(+), 58 deletions(-) create mode 100644 handoffs/HANDOFF-2026-11-27.md create mode 100644 handoffs/Lucid 50K Our Positive-EV Strategies, Explained.md create mode 100644 handoffs/Lucid 50K Our Positive-EV Strategies, Explained.pdf rename handoffs/{lucid_handoff_v4.4.zip => lucid_handoff_v6.0.zip} (61%) delete mode 100644 handoffs/lucid_v4.4_docs.zip delete mode 100644 research/math_concepts.txt delete mode 100644 research/papers_on_direction_not_magnitude.txt diff --git a/! overview/Lucid_50K_Our_Positive-EV_Strategies_Explained.md b/! overview/Lucid_50K_Our_Positive-EV_Strategies_Explained.md index 3c84978..a1392ce 100644 --- a/! overview/Lucid_50K_Our_Positive-EV_Strategies_Explained.md +++ b/! overview/Lucid_50K_Our_Positive-EV_Strategies_Explained.md @@ -254,7 +254,7 @@ The main limits of the simulation: ## What we tested that doesn't work -About 245 variants have been tested. Apart from Drive, the noise-area breakout and the crude settlement fade, none beat a coin flip reliably. They're listed so nobody retests them by accident. +About 257 variants have been tested. Apart from Drive, the noise-area breakout and the crude settlement fade, none beat a coin flip reliably. They're listed so nobody retests them by accident. | Idea | Result | | --- | --- | @@ -285,6 +285,12 @@ About 245 variants have been tested. Apart from Drive, the noise-area breakout a | First-minute order flow (buying vs selling volume, NQ) | No information beyond the 09:30 candle itself | | One model combining 13 weak signals (refitted yearly) | Worse than Drive alone; one model across markets just rediscovers Drive | | Multi-market Drive accounts across a whole book (Strategy 4) | Higher ruin at every bankroll; at $5k up to 37–55% in 2020–26 instead of 4–8% | +| Spreading accounts over related markets (RTY and YM beside NQ, HG beside GC) to make outcomes less correlated | Not worth buying the data: even perfectly uncorrelated stand-ins added only $0–14k a year (enough in 2020–24 only) and moved ruin by 2 points or less; real markets would do worse | +| Tighter brackets on Drive days (more contracts) | No gain: most Drive days already trade the 4-contract maximum. Drive's move is front-loaded (over half in the first 30 minutes), but a $5k bracket can't resolve faster | +| Other markets' moves before the open (gold, crude, euro) to set NQ's or CL's direction on non-Drive days | Nothing | +| Fading a failed noise-area breakout | Slightly positive in all four markets tested, not significant | +| A machine-learning model (gradient boosting) on 31 signals: price, volume, volatility, calendar and other markets | Nothing on non-Drive days, and worse than Drive on Drive days; with the earlier linear model, this exhausts direction from this kind of data | +| Smaller targets after the lock on Drive days, to cash in Drive's early move | Worse by $6–43k a year in 2015–24: smaller targets need more days per payout, and slower payouts cost more than the extra edge earns | | Profiting from fills past the floor on news | Not a source of value: a fill past the floor is Lucid's loss, and price jumps are already in the measured pass rates | ## Risks and caveats diff --git a/Prop Account Tracker.xlsx b/Prop Account Tracker.xlsx index 2aeb0d41500b187ff564bb94dcaf6fa0f59c80be..ee49bcf56455f649545a4a0a13b25658d8bebac8 100644 GIT binary patch delta 6916 zcmcgx2~-p3+E&3zMbW<~s0dV1p=b!oCWPgxMWHOwT4i5UcG<-QWSLf~{)!TDEQk@f z6$BLp43Gc`L`Y?e0U-)P2$5YN3lIo|E&pUfz1q{>+n&?=pEKwEzIo@F=X>7w{ocvs z454&6p>+A$qjqxg8=lj`i##{N13E_A^Hig`qL)~0fTcIX?sy@xDhx~L?smeX`uV3Ov;?77 zi2SRf#jlgJF9$9tvlp(0nzra^ZxOzC+TX&-dY`7u=3g}~1boV@_Pt8sxA?SK?d#U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td#avBE_E(FC8L3oj@jVduxYrY3;( zoD<1CNfRU=Z*QOESgCYMurDlSFO`=($RlxQV-gY`Og#k>r9f$0y$1G*{6 zGaMTFQ6sm__l=gRDHo{EGVSA_uxX`OB3s7np^TD9-n^tusZ(S67%tXFMi)m`ShR!} zwN2P^I%HF8Xmc9U7%3i?mkD?@cBM@De@`&GKi54k6YTKmdz6{d@mb?T*fV$9skIuu z(*BreDYkExKl~33JO<-~A1)gjWX(sMo_H9ZV!LRJBV?dxb;P=Mo~bF$rHzEg%`@+1 z($J_Lsxz+5N2q6x?&9H}kIjJh^xMoeNTkMwWF{(q_L_5ntR@~n`f%o+EXJ}#!kjk) zq@Lh;_uhDmceyw$SJ)-aJ+r&@I^q}GP*UH#B$U=brSeTVXeNU`H!|Ne12Qs3IV>Iq z&wIY6+`?2efvIbF&0sM|J7rSQdj?yaTMHBdoZi{F3B&n_8tXa2Z6F~rVKj{qW**zy z#R}ZZ4hND(N9G2*7+tL_hQO_WM4hJNO?_l<*kod+Mf=b_&_W+brp(PIq)ZKS1Tz*h z4fWI>uV?9#L6d$V+$Q_6cVlxbu}d8-gX26%6fc5PZ4#w{z?k<7maX jiHEsj4D>)LuX`XBW50(g-qS`C`q|7|es3_u)8T&rSa|yr diff --git a/handoffs/HANDOFF-2026-11-27.md b/handoffs/HANDOFF-2026-11-27.md new file mode 100644 index 0000000..ee0a5d9 --- /dev/null +++ b/handoffs/HANDOFF-2026-11-27.md @@ -0,0 +1,825 @@ +# Handoff: Prop-firm fee mispricing project (Lucid Trading, LucidPro 50K) + +Snapshot v6.0: 27 Nov 2026 (session #005). **v6.0: G ADOPTED (#276–278, section 8.24; user's decision on Claude's recommendation). New adopted play = H(7.5k) with G in normal mode: on non-Drive days with cash ≥ $7.5k, if the fresh $5,000 bracket fits within 0.7 × the forecast range with ≤ 4 contracts (cap not binding), take the noise-area breakout at its first two marks (NQ 10:00/10:30, CL 09:30/10:00, GC 09:00/09:30), else a coin at the second mark; otherwise a coin at open+3 as before. Survival mode unchanged. vs the previous play: never significantly worse in any cell; at half edge +$4.6k / +$7.6k a year (2020–24) and +$8.1k / +$10.0k (2025–26) at $10k / $20k, about 0 in 2015–19; ruin unchanged. Half-edge planning figures at $10k: 11% ruin $46k / 2.4% $105k / 4.1% $104k a year (2015–19 / 2020–24 / 2025–26). It is the REF for future book tests.** v5.9: break of structure (#266–268, section 8.23): both readings FAIL; no follow-up. A (reversal, the user's original idea): CL+GC −0.31 [−1.16, +0.54]; on NQ (in-sample) significantly negative, −1.24, so fading a decisive move on a counter-break loses. B (pullback continuation): CL+GC +0.97 [+0.09, +1.87], z 2.22 vs the 2.24 bar (Bonferroni over the two readings); replication consistent but n.s.; it takes the noise-area breakout's direction on 89–93% of shared days, so it is mostly NA re-timed, and no stronger. Neither has a short-term burst: drift is ~0 for the first hour. Tweaks (#269–272, data-suggested, bar z ≥ 3): all four FAIL. Fading gets worse the more decisive the move (A at D 0.40: CL+GC −1.30, NQ −1.92); every continuation form measures +1 to +1.5 with z ≈ 2.2 (B before the NA breach +1.25; B with θ 0.20 +1.45 but NQ −0.01 and 2020+ +0.46). Idea closed; two forward-only leads. Then Claude's pick (user asked what to test): **early noise-area breakout on normal-mode coin days** (#273–275, `book_naearly.py`, `RUN_NAEARLY.md`): in normal mode (cash ≥ $7.5k), non-Drive days take NA if it fires at one of the first two marks, else a coin at the second mark, so NA's edge is used at $10–20k without losing trading days. Pre-registered decision: value per account up in ≥ 2/3 samples and no significantly higher ruin at $10k / $20k (full and half edge). Synthetic smoke test: all checks 0; later entries cost $27–72 per evaluation on random-walk markets, so NA has to beat a timing cost. **Result: ADOPT E by the rule, with a profit flag** (section 8.24): value per account flat (+$8 / −$2 / +$26 per evaluation, all CIs include 0), ruin never higher, but book profit regime-dependent: at $10k −$7.3k (full) / −$17.8k (half edge) in 2015–19, +$20.1k / +$4.3k in 2020–24, +$30.7k / +$16.5k in 2025–26. User asked to test a volatility switch first: gate G (#276–278, `book_nagate.py`, `RUN_NAGATE.md`) = E only on days the fresh $5,000 bracket fits within 0.7 × forecast with ≤ 4 contracts (cap not binding), else REF; parameter-free, data-suggested. Awaiting the user's run; E-or-REF decision on hold until then.** v5.8: how new strategies are judged (user decision, 27 Nov; section 5). While the bankroll is small ($10–20k assumed) and ruin is not yet low, value per account (net per $150 evaluation bought) is the primary objective; total book ROI becomes primary once ruin is low (threshold: user's call as the bankroll grows). A new strategy is adopted on value per account only if book ruin at $10k and $20k (adopted play H(7.5k), at half edge as well as full) is not significantly higher. Explainer doc (Docs artifact 'Lucid 50K: Our Positive-EV Strategies, Explained') was several versions behind the v5.7 markdown; now synced, with four fixes: the half-edge book gain at $10k is +$11k / +$23k / +$33k (8.22), not the linear-scaled +$11–13k / +$17–21k / +$13–16k (8.20); the Holm family is 84 direction tests, not "~260 ideas"; Drive's expected edge is about +1.5–2 pts, not "+2–3 at best"; the "exhausts direction" line is limited to one direction call at the open. Next: the user's strategies, one at a time (translate the description → confirm with the user → pre-register → test). First one: break of structure after a decisive move, readings A (reversal, the user's original idea) and B (pullback continuation), pre-registered as #266–268 and scripted (`bos_test.py`, `RUN_BOS.md`); awaiting the user's run. The user has watched it on NQ only, so NQ is in-sample and CL+GC 2010–26 is the clean primary; decisiveness D = 0.15 / 0.20 / 0.25 ATR14 is a pre-registered grid (the user's request), with the grid average as the primary statistic.** v5.7: edge-stress test done (#263–265, section 8.22). At the realistic (half) edge the adopted play makes about $47k / $101k / $96k a year at $10k with 11% / 2% / 4% ruin (2015–19 / 2020–24 / 2025–26); at $5k ruin is 12–31%. Plan on these, not the full-edge figures; $10k is the realistic minimum bankroll.** v5.6: edge-stress test pre-registered as #263–265; wording correction (user, 27 Nov): 'direction is exhausted' applies only to one direction call at the open from price / volume / volatility / calendar / cross-market features (Drive-style); other entry times, structures and ideas on the same data remain open, and the user expects many.** v5.5: anti-correlated coin days FAIL (#260–262, section 8.21). Outcome correlations barely moved (with independent coins they are already about 0), and the profit differences came from an unintended cross-market signal (coin days followed or faded other markets' Drive directions), whose sign flips by regime. Avenue closed.** v5.4: anti-correlated coin days across hedging groups pre-registered as #260–262 and scripted (`book_anticorr.py`, `RUN_ANTICORR.md`). From a discussion of quant concepts specific to the payoff structure (section 9). User: a 'probability of 5/5 payouts' objective is not useful (reaching 5/5 implies making money; not yet consistent enough to matter); dropped.** v5.3: multiple-testing correction and empirical-Bayes shrinkage of all 84 logged direction tests (#257–259, section 8.20). Drive, the noise-area breakout and the crude settlement fade survive Holm correction; their true edges are probably about +1.4–2.0, +1.5 and +1.6–1.7 pts (about half of what was measured for Drive). Plan on roughly half of Drive's simulated book gain. The single 'passes' (pre-holiday, first-10-second order flow, 15-min squeeze) shrink to +0.2–1.5.** v5.2: smaller post-lock brackets on Drive days FAIL (#254–256, section 8.19): halving the target costs $6–19k/yr in 2015–24, and the tight-stop version $9–43k/yr. Slower payouts outweigh the extra edge harvested. Bold, fast post-lock play stays; the shelved idea is closed.** v5.1: smaller post-lock brackets on Drive days pre-registered as #254–256 and scripted (`book_postlock.py`, `RUN_POSTLOCK.md`). User (27 Nov): their discretionary ideas are hard to turn into rules; they will describe them, and the job is to translate each description into a testable rule (confirm the translation with the user before testing).** v5.0: gradient-boosting model FAILS (#251–253, section 8.18): +0.35 [−0.51, +1.25] on non-Drive days, control valid; it is worse than Drive on Drive days. With the ridge (#233–235) and cross-market (#249) tests, direction at the open beyond Drive is exhausted for price, volume, VIX and calendar data, linear or not.** v4.9: gradient-boosting walk-forward model pre-registered as #251–253 and scripted (`gbm_model.py`, `RUN_GBM.md`). User (27 Nov): exhaust cheap checks like this, since the downside is small and the upside large.** v4.8: slate 5 (#248–250, section 8.17): all three FAIL. Tighter Drive brackets don't help (the 4-contract cap binds), though Drive's drift is front-loaded (57% within 30 min, 95% within 2 h); cross-market moves before the open carry no direction; the failed-breakout fade is slightly positive in all four markets but not significant.** v4.7: user wants alternatives beyond Drive; slate 5 pre-registered and scripted (`slate5.py`, `RUN_SLATE5.md`). Agreed next: a nonlinear walk-forward model (gradient boosting, one primary test, user's Threadripper), after slate 5.** v4.6: decorrelation upper bound done (#245–247, section 8.16): don't buy HG / RTY / YM data. Even perfectly uncorrelated stand-ins for RTY, YM and HG add only +$0–14k/yr (gain only in 2020–24 clears $10k), with ruin within 1–2 pts; real markets would deliver less. Avenue 3 closed.** v4.5: decorrelation upper bound pre-registered as #245–247 and scripted (`book_twin.py`, `RUN_TWIN.md`). User (27 Nov): forward-test pre-registration not wanted yet ('still hypothetical').** v4.4: multi-market Drive accounts FAIL at book level (#242–244, section 8.15): keep fixed 4 NQ / 3 GC / 3 CL slots with the $7.5k cash switch. All three variants raise ruin, most at small banks (at $5k, M10 +11 / +33 / +47 pts), because the one evaluation a small book runs moves off NQ. Multi-market slots do raise profit at $20k (lead only).** v4.3: multi-market Drive accounts at book level pre-registered as #242–244 and scripted (`book_mdrive.py`, `RUN_MDRIVE.md`). `sim/portfolio.py` gained pseudo-slots ('M') and a per-session hedging group `grp` (verified unchanged without them).** v4.2: cash-switched hybrid ADOPTED (#239–241, section 8.14): H(7.5k) = D3s on sessions with cash < $7.5k, else D1i. At $5k it cuts ruin from 32 / 15 / 18% to 14 / 4 / 8% with equal or higher profit; at $20k it is effectively D1i. It replaces D1i as the baseline for future book tests.** v4.1: cash-switched hybrid pre-registered as #239–241 and scripted (`book_hybrid.py`, `RUN_HYBRID.md`). `sim/portfolio.py` gained an optional `alt` argument (verified unchanged without it). Log row #233–235 result filled in; 6E commission set to $2.40. User: agriculture is its own hedging group but isn't traded; HG/RTY/YM data would cost money (see section 9 for a free upper-bound test first); Pine check and live status/bankroll are on hold: strategy research only.** v4.0: direction research beyond Drive looks exhausted. Slate 2–4, volatility, market choice, order flow and a combined 13-feature walk-forward model (#215–235) found nothing that beats D1i at book level (crude settlement fade = optional free option on CL coin days). Structural avenue #1, the end-of-day ratchet rescue (R30), was ADOPTED by its rule but is worth only ≈ +$1k/yr (#236–238). Avenue #2 (liquidation fills past the floor) was withdrawn as a reasoning error (4.6). Lucid product list checked: no Treasuries; BZ not approved; 6E commission $2.40. Next open avenue: decorrelating the book within hedging groups (needs HG/RTY/YM data).** v3.9: implementable re-test done (#210–212): keep D1i (Drive, else coin at open+3); D3s (Drive, else NA, else skip) is the best small-bankroll survival mode; the 09:30 coin look-ahead overstated D1's 2025–26 book figures by ~$22–26k/yr (section 8.12).** v3.8: look-ahead found in how no-signal days were simulated (#207–209, mildly #193–201); D3 adoption SUSPENDED; implementable re-test `book_na2.py` (#210–212) pre-registered; TradingView indicator `tradingview/lucid_signals.pine` written (not yet compiled).** v3.7: D3 adopted (#207–209, section 8.11). **v3.6: slate 1 results (#202–206, section 8.10): noise-area breakout PASSES and replicates on CL+GC; opening relative volume strengthens Drive (filter not adopted); FOMC fade, time-series momentum and last-half-hour momentum fail.** v3.5: slate 1 pre-registered and scripted (`RUN_SLATE1.md`). **v3.4: Drive adopted at book level (Drive where it fires, coin otherwise; 8.9c); survival settings re-checked with 15 seeds, nothing changed.** v3.3 added `book_next.py`. **v3.2: lock-day overshoot dropped (aim exactly at the lock), and all book figures redone with 15 seeds; the earlier 3-seed book numbers were badly understated (8.4, 8.9b).** v3.1 added the closed indicator idea (8.9a), `ind_*.py`, and roll-adjusted pre-2015 files. New in v3.0 (replacing v2.9): +- **First user strategy tested** (opening "Drive" rule, section 8.8): the only direction rule so far to pass a pre-registered test. It replicates on CL/GC 2015–24 but is not confirmed in 2010–14 or the 2025–26 holdout. Holdout now **spent** (section 5). +- Cost model: **2.0 ticks on 09:30 entries**, 1.5 elsewhere (section 3). Measured from the user's trade prints. +- Dealer-gamma / DIX test (8.6), pre-2015 data (6), new instruments in the sim, per-session instrument support, all scripts honour `LUCID_DATA` (7). + +How to start the next session: +- Give it this file, the `RUN_*.md` files, the `code/` folder and the `scripts/` folder. +- Session #005 environment: pyarrow had to be installed (`pip install --break-system-packages pyarrow`); everything compiles and `mt_shrink.py` reproduces `results/` exactly. `scripts/make_synth.py` writes only 2015–18 (pre 2013–14), so `build_sessions.py` and the regression checks can't run on synthetic data; they need the real data (user's Mac). +- `bos_test.py` (#266–268, session #005) run on the user's Mac: **A and B both fail** (8.23); check 0 mismatches. (Synthetic NQ barely retraces, so it almost never fires on `make_synth.py` data: a generator artefact.) +- `bos_tweaks.py` (#269–272) run on the user's Mac: **all four fail** (8.23); check 0 mismatches on 2,400 session-variants. +- `book_naearly.py` (#273–275) run on the user's Mac (1.5 min): **ADOPT E by the rule with a 2015–19 profit flag** (8.24); all checks 0. +- `book_nagate.py` (#276–278) run on the user's Mac (2.2 min): rule left G vs E to the user; **user adopted G** (8.24); all checks 0. +- **Baseline for future book tests = the G play:** `sG, cG, _ = book_nagate.play_g(cal, sess, coin, DC, NC, CAP, O3)` (with `DC, NC, O3, CAP` from `book_naearly.ctx`), survival `(sB, cB)` from `book_hybrid.plays(...)[bh.SURV]`, then `run_book_multi(cal, sG, BASE, cG, POL, bank, N, t0, alt=(sB, cB, 7500), **bh.KW)`. Its results are the `G` rows of `/book_nagate.csv`, so a new test can check its REF against them. Smoke-tested on 2015–26 synthetic data made with `scripts/make_synth_long.py` (NQ/CL/GC/NG 2015–26 + VIX to 2026), on which `build_sessions.py`, `book_hybrid.py --quick` and `book_na2.py --quick` also run. +- `book_overshoot.py` (#192) was run on the user's machine: 16 cores, 0.6 min. +- `book_next.py` (#193–201) was run on the user's machine (2.4 min): D1 adopted by the rule; Part 1 changed nothing (8.9c). +- `book_na.py` (#207–209) was run on the user's Mac (1.3 min): D3 passed the rule, but the comparison used hindsight on no-signal days, so the adoption is suspended. +- `book_na2.py` (#210–212) was run on the user's Mac (1.8 min): **keep D1i**; D3s = survival mode (8.12). +- `slate2.py` (#215–218) run on the user's Mac: **crude settlement fade STRONG** (CL +2.12, z = 3.65; NG replication +1.88, z = 2.96); gold–silver gap and basket fail. +- `book_crude.py` (#219–220) run on the user's Mac (1.0 min): **keep D1i**. C1 (crude fade on CL's coin days) ≈ D1i (+$4–6k/yr in two periods, n.s.); C2 (crude fade replacing Drive on CL) worse in 2015–19. Crude fade on CL coin days = optional free option. +- `slate3.py` (#221–222) run on the user's Mac: daily reversal is **energy-only** (pooled ES+SI+PL+6E +0.00; NQ/GC n.s.); Drive/reversal agreement on CL +3.4 (n.s., matches additivity); post-lock sizing idea stays shelved. +- `slate4.py` (#223–226) run on the user's Mac: overnight / Asia / London confluence **doesn't help** (London and overnight lean the opposite way); 4 bars no better than 3; R3 on non-Drive NQ days adds nothing. +- `vol_diag.py` (#227) run: pass rate 35% (quiet) → 39% (volatile), then flat; day filter not worth it (+1.3 pts within year); **market choice by forecast range +1.27 pts → book test candidate**; undershoot bound $300–360 but likely artefact (needs user's real stop-out fills). +- `book_mchoice.py` (#228–229) run: **keep D1i**. All accounts on the top market (M1) raises ruin everywhere; rotating the 4/3/3 blocks daily (M2) helps only in quiet 2015–19. Market choice pays at regime level; NQ-heavy 4/3/3 already captures it now. Lead: in a quiet regime, move the 4-account block to the liveliest market (monthly). +- `of_test.py` (#230–232) run: **first-minute order flow adds nothing beyond the 09:30 candle** (OFI +0.84 n.s.; on disagreement days −1.53). First-10-second imbalance +1.45 (z 2.4, mostly 2022–26): forward lead only. +- `combo_model.py` (#233–235) run: **combined model fails and is significantly worse than D1i** (NQ+CL+GC −0.85 [−1.57, −0.11]); the pooled-coefficient version ≈ D1i (+0.08). The 13 features (Drive, 3-bar, RVOL, overnight, London, gap, yesterday's move, 1/5/21/63-day returns, VIX) carry no linear directional information beyond Drive (8.13). NG (+1.77) and PL (+1.44) model cells are forward leads only. +- `book_rescue.py` (#236–238) run on the user's Mac (1.2 min): **R30 rescue ADOPTED by the rule, but worth only ≈ +$0.6–1.2k/yr (≈1%)**, ruin never higher; 2025–26 −$0.2–0.8k n.s. Per account no measurable change: k=0.7 already resolves most brackets, so profitable-unresolved late days are rare. Avenue #1 closed; the ratchet leak is small in practice. +- `slate5.py` (#248–250) run on the user's Mac: **all three fail** (8.17); checks 0 / 0. +- `book_edgestress.py` (#263–265) run on the user's Mac (1.0 min): planning figures at full / half / zero edge (8.22); checks 0. +- `book_anticorr.py` (#260–262) run on the user's Mac (0.7 min): **keep REF**; checks 0 (8.21). +- `mt_shrink.py` (#257–259) run here (no data needed): Drive / NA / crude fade survive Holm; shrunk edges about +1.4–2.0 / +1.5 / +1.6–1.7 pts (8.20). Family table and posteriors in `results/`. +- `book_postlock.py` (#254–256) run on the user's Mac (1.0 min): **keep REF**; both variants fail; checks 0 (8.19). +- `gbm_model.py` (#251–253) run on the user's Mac: **fails**; control valid (8.18). +- `book_twin.py` (#245–247) run on the user's Mac (1.2 min): **don't buy HG / RTY / YM data**; checks all 0 (8.16). +- `book_mdrive.py` (#242–244) run on the user's Mac (1.2 min): **keep REF**; M10, MCN and MIX all fail on ruin; checks all 0 (8.15). +- `book_hybrid.py` (#239–241) run on the user's Mac (1.7 min): **ADOPT H(7.5k)**; H(15k) also passed, H(10k) narrowly failed on n.s. profit; checks all 0 (8.14). +- **New ideas proposed 27 Nov (user wants more than Drive):** (1) one walk-forward combined model of ~15 weak features per market; (2) opening order flow (running); (3) Drive on untouched deep markets (ZN, ZB, HG, RTY, YM, 6J, 6B) + a fourth hedging group (needs data, and Lucid's product groups); (4) overnight-inventory correction at the open (primary CL+GC); (5) anti-correlated account pairs across groups to cut ruin (check Lucid's stance). +- `book_timing.py` (#213–214): (a) model costs → **keep open+3**; (b) open+3 at 2.5 t → **move to open+15** (open+5 also passes). Decision hinges on measured fill cost at open+3 vs open+15 (break-even ≈ 0.7 tick in 2015–19, ≈ 0.1 in 2020–24). +- `tradingview/lucid_signals.pine`: **not yet compiled on TradingView**; ask whether it compiled and whether `scripts/signal_list.py` matched the chart labels. +- `run_slate1.py` (#202–206) was run on the user's Mac (16 cores, a few minutes). 2010–14 parquet was converted here 27 Nov and now sits in the Mac's `/pre/`. +- Upload the data separately (section 6), then run `python -I code/build_sessions.py` (~30 s) and the checks in section 7. + +--- + +## 1. Project and how to work with this user + +**Goal.** Find out whether Lucid's $150 evaluation fee is mispriced. That is, does it produce more than $150 of expected value across the account lifecycle (evaluation → funded → payouts → live/buyout)? Then find how to play it best. **Current focus (user, 27 Nov): finding strategies that raise value per account.** Value per account is the priority while the bankroll is small and ruin is not low (assume a $10–20k starting bankroll); total book ROI takes over once ruin is low. Book tests stay as the ruin check before adoption (section 5, "Judging new strategies"). + +**User.** +- An aspiring algorithmic trader with a background in programming and finance. +- Wants objective, concise answers with no flattery. +- Has a lot of local compute and can run heavy jobs. +- This environment had **2 cores and 7 GB RAM**. **Give a runtime estimate before any run over ~1 minute.** +- Trades Lucid accounts live now, without much luck so far. +- Open to trading any instrument and adopting any strategy. +- Plans to research **dozens of strategies**, so multiple testing is the main statistical risk (section 5). + +**Why the fresh-start rule still applies.** Earlier chats kept "reaffirming" an edge the user doubted. +- Treat every edge claim as a hypothesis to test against a random-direction (coin) baseline. +- Only what's in this document carries over. + +**User's strategies so far.** +- 27 Nov (later): crude settlement fade and gold–silver gap (#215–219). Close relatives appear in the 23 Nov pre-fresh-start doc, so all years count as seen; strong = z ≥ 3. +- 27 Nov: four opening rules from a screenshot. R1 is discretionary and was left out on purpose. R2–R4 were tested (section 8.8). +- They're not all mean-reversion. All use the full drawdown as the stop and aim for the whole target ("bold play"). +- The user designed R2–R4 using **every NQ year available, 2015–2026**. The user had **never looked at CL, GC or the other markets** with these rules. +- Whether the user looked at 2010–14 while designing: not confirmed. The user warns that pre-2015 markets were very different, so weigh that period lightly. +- Earlier, 26 Nov: an NQ long-overnight / short-day idea, rejected (8.5). + +**Prior research the user has already done** (don't repeat it): +- **LucidPro 50K is the best plan.** They compared other sizes, plans and firms. +- **DLL on vs off:** DLL-on gives more value per account; DLL-off gives more value over time because accounts cycle faster. They use **DLL off**. +- **NG and currencies don't have enough volatility to close brackets reliably.** Confirmed here: NG and 6E leave 51–59% of brackets unresolved (8.8). +- **Rule changes are out of scope.** If Lucid penalises the approach, the user will move to another firm. +- **Live-account valuation is deferred (27 Nov):** the user counts the project a success if accounts reach 5/5 payouts regularly; payout-5 timing and live value come later. +- **Agriculture is its own hedging group (user-confirmed 27 Nov) but isn't traded:** volatility is too low to close brackets, as with NG and FX. +- **Workflow (user, 27 Nov):** scripts are written here with a `--quick` mode and run on the user's Mac; the user pastes back the output. Live status and bankroll are out of scope for now: strategy research only. +- **Smaller post-lock targets with a real edge:** tested on Drive days 27 Nov (#254–256) and rejected: slower payouts outweigh the edge (8.19). Closed. + +--- + +## 2. Account rules: LucidPro 50K, daily loss limit OFF + +Sources: Lucid's help pages (articles 12890029 evaluation, 12890069 funded, 12890092 payouts, 12890109 consistency, 12890136 drawdown, 11508978 commissions), plus points the user confirmed directly with Lucid. + +| Item | Rule | +|---|---| +| Fee | About $150. **Resets cost the same as a new account**, so a fail means a new purchase. | +| Start | $50,000, floor $48,000. The evaluation and the funded account both start fresh this way. | +| Evaluation target | Balance reaches $53,000. No minimum days, no consistency rule. Passing becomes funded the next session. | +| Drawdown | $2,000 end-of-day trailing: floor = max(floor, EOD balance − $2,000). **Locks at $50,100 for good once an EOD close is above $52,100**; it stays locked after payouts. | +| Intraday enforcement | Breach if the balance (including open P&L) touches the floor intraday. The floor used is the previous evening's (user confirmed). | +| Max size | 4 minis or 40 micros. | +| Flat time | 16:45 ET (auto-close, not a breach). On holiday early closes, flat before the market's actual close. | +| Payout conditions (checked per cycle; all reset after each payout) | Cycle profit ≥ $500; largest day ≤ 40% of cycle profit; withdrawal only from above the $52,100 buffer. | +| Caps | Payout 1: $2,000 (needs balance $54,100). Payouts 2–5: $2,500 (needs $54,600). Minimum request $500. 90/10 split. Paid 2 business days after approval. | +| **Payout 5 → move to live** | See below. | +| **Hedging (user-confirmed)** | You may not be long and short at the same time **within an instrument group**: equities, metals, energies, currencies. Long GC + short NQ is allowed. Long ES + short NQ is not, and long GC + short SI is not. So all NQ accounts share one direction, all GC accounts one, and **CL and NG share one** (same group). One account may trade different markets on different days. | +| Other prohibitions | Copying trades between different people; microscalping (>50% of profit from trades held ≤5 s); HFT. Copiers across your own accounts are allowed. | +| Limits | 10 accounts per household (evaluations + funded + passed-in-reserve), at most 5 funded. | + +**What happens at payout 5 (from Lucid's FAQ and the user):** +- Hitting payout 5 on **any** funded account moves the trader to live, or offers a buyout. +- Every funded account with **at least 1 payout** gets one live account or a buyout. The buyout is 50% of the drawdown = $1,000, at 90/10 = **$900** to the trader. +- **All evaluations are closed** (forfeited). **Passed accounts waiting in reserve for a funded slot are also forfeited** (user-confirmed 27 Nov; the sim already does this). +- Funded accounts with 0 payouts close. Their fee is refunded only if ≥50% of the drawdown remains (from the user's notes). +- **Then a 14-day lock with no evaluation purchases.** Modelled as 10 trading sessions. +- The trader chooses when to request a payout. **Requesting payout 5 is the trigger**, so its timing is a decision, not something automatic. + +Unverified, not modelled: the live account rules themselves (start $0, $2k EOD drawdown, daily payouts, live bonus), LucidMaxx, and the 14-day cooldown after blowing a live account. + +--- + +## 3. Cost model (user-specified) + +Market orders only (limit fills on the sim are poor), plus Lucid's per-side commissions. Slippage: +- **2.0 ticks on any entry at 09:30 ET** (user's decision, 27 Nov); +- **1.5 ticks on every other entry and every exit.** + +In code: `sim/bracket.py` `entry_slip()` reads the session's `entry_min`. The table below uses 1.5 ticks; a 09:30 NQ round trip costs $2.50 more per contract. + +| Instrument | Tick (value per contract) | Commission per side | Round trip, 1 contract | Round trip, 4 contracts | +|---|---|---|---|---| +| NQ | 0.25 ($5) | $1.75 | $18.50 | $74 | +| GC | 0.10 ($10) | $2.30 | $34.60 | $138 | +| CL | 0.01 ($10) | $2.00 | $34.00 | $136 | +| NG | 0.001 ($10) | $2.00 | $34.00 | $136 | +| ES | 0.25 ($12.50) | $1.75 *assumed* | $44.00 | $176 | +| SI / PL | 0.005 ($25) / 0.10 ($5) | $2.30 *assumed* | – | – | +| BZ / 6E | 0.01 ($10) / 0.00005 ($6.25) | $2.00 *assumed* / **$2.40** (Lucid list) | – | – | +| MNQ (×10 = one NQ) | 0.25 ($0.50) | $0.50 | – | $25 per NQ-equivalent, so worse than NQ | + +SI/PL ($2.30 metals) and 6E ($2.40 FX) match Lucid's product list (27 Nov); the code uses $2.40 for 6E from v4.1, so 6E results before #239 used $2.00. ES's $1.75 is still unverified (BZ is not approved). Uplift-vs-coin tests are insensitive to cost, because both directions pay it; absolute account values are not. + +When the floor is the stop, slippage past the floor costs nothing: the account is gone and Lucid absorbs the loss. + +**Measured and user-confirmed (27 Nov):** +- The user's real market-order slippage averages about **1.2–1.3 ticks** per side. 1.5 is kept deliberately conservative ("rather assume harsh"). +- **09:30 open, measured from the user's NQ trade prints:** + - first-second half-spread plus the cost of sweeping several levels with a 4-lot; + - about 0.9–1.6 ticks per side in 2022–25 and about **2.5 in 2026** (high volatility); + - from 5 to 60 seconds after the open, the half-spread is 0.5–0.9 ticks (1.3 in 2026). + - The user chose 2.0 at 09:30 as the compromise. +- Effect of the 09:30 change: NQ net per funded $535 → $522 (2020–24) and $328 → $312 (2015–19). Book profit is unchanged in 2020–24 and about −$3k/yr in 2015–19. **Results in 8.1–8.5 predate it** (1.5 everywhere); from 8.6 on, the new rule applies. +- Opens of CL (09:00) and GC (08:20) are also market opens, but weren't measured and stay at 1.5. +- **Unrealised P&L never counts** for the evaluation target or the lock; the trade must be closed. The sim already requires this. +- **Liquidations do fill past the floor.** Undershoot is real and absorbed by Lucid. The sim books stops at exactly −room, which is conservative. +- Other firms: later, once there's more startup capital. Live-account valuation: later; for now the goal is reaching live consistently. + +--- + +## 4. Theory established + +1. **Martingale identity** (zero edge, no costs): E[total withdrawals] = starting balance − E[balance when the account ends]. + - Payout size and the consistency rule change variance and the number of trading days, not expected value. + - Example: from the locked state, $500 withdrawals and $2,500 withdrawals both give $2,000 expected. + - **Corollary used in 8.8:** with zero edge, any direction rule costs nothing against a coin flip, and skipping days changes time but not expected value per account. A direction rule with a plausible prior is therefore a free option. +2. **Evaluation: bold, one-day play is right because of the trailing floor, not because the game is unfavourable.** Costs are only about 1 percentage point of pass rate. + - P(pass) = (50,000 − E[balance at failure]) / (53,000 − E[balance at failure]). + - Fair-game P(pass) is 40%; about 39% after costs. +3. **Funded, before the lock:** fair-game P(lock) = 2,000/4,100 = 48.8%. + - The $2,100 gap between the $48k floor and the $50,100 lock is the "price of locking". + - Aiming above the lock level on lock day dilutes that price: +$100 per funded account (8.2). **But at book level aiming exactly at the lock is better** (more payouts, faster slot turnover; 8.9b), so the overshoot is dropped. +4. **Costs make bold play right after the lock too.** With zero edge, total cost scales with 1/size, and the consistency rule needs at least 3 days per payout. + - **With a real edge this reverses:** smaller sizing and more trades. + - So validate the edge before choosing a sizing policy. +5. **Break-even edge** for a bracket with target T, stop R and round-trip cost c: a win-rate uplift greater than c/(T+R). + - On 4 NQ: about 1.5 percentage points for a $5,000 bracket, about 4.4 for $1,700, about 18.5 for $400. + - **Measure edges as pass-rate and lock-rate uplift against a random-direction baseline, not Sharpe.** + - 10 years ≈ 2,500 sessions, so a 95% CI is about ±2.5 points; about ±3–4 points for a rule that fires on 35–40% of days. Two years of data gives about ±6 points, so short samples can't confirm a 2–4 point edge. +6. **Jumps and gaps help.** If the account ends with an undershoot u past the floor and an overshoot o past the target: P(pass) = (2,000 + u)/(5,000 + o + u). + - Big jumps push P(pass) towards 50%, because the 3:2 target/stop imbalance stops mattering. + - This describes the **price path** (how far the first trade beyond a level lands), so it is already inside the hit frequencies the sim measures on real bars. **Correction 27 Nov:** the trader's outcome depends only on which level is reached first and what was withdrawn before; how far Lucid's liquidation fills past the floor (slippage, latency) is Lucid's loss and adds nothing to the trader's value. Measuring real stop-out fills is therefore not useful; the only residual is the sim's same-bar rule (stop assumed first when both levels sit in one 1-min bar, e.g. 10% of NFP bars in #1–8), which tick data could resolve and which can only help. + - Entries just before scheduled releases showed no pass-rate gain (8.5). +7. **Fewer contracts mean lower costs**, because the same dollar bracket becomes wider in points. The limit is resolving the bracket within the day. + - In the evaluation and before the lock, an unresolved day lets the floor ratchet, so high resolution matters there. + - After the lock, an unresolved day only costs time and one round trip. +8. **Skew:** NQ's negative skew should favour long-only, since down-jumps past the floor are free. **Tested 26 Nov and rejected:** always long +0.6 / −0.2 pts (log #46–60). + +--- + +## 5. Research protocol + +- **Samples:** development 2020–2024; stress 2015–2019 (low NQ volatility); **extra 2010–14** (NQ, CL, GC, SI only; regime caveat). +- **Holdout 2025–26: SPENT 27 Nov** on the Drive rule (8.8). The user decided holding out made little sense with dozens of strategies to come. NQ 2025–26 had already been seen by the user while designing. +- **Validation now rests on:** + 1. Pre-registering each test (spec and pass criteria in the script docstring and a log row) **before** running. + 2. **Logging every variant** in `code/RESEARCH_LOG.md` (rows #1–278 as of 27 Nov). Direction rules tested: 5 on 26 Nov (#46–61), the user's overnight idea (#62–65), 9 flow rules (#107–115), 2 gamma/DIX rules (#116–120), and the user's R2–R4 across 9 markets and 3 periods (#122–156). + 3. **Replication on markets the rule wasn't designed on**, and on 2010–14. + 4. **A higher bar for anything chosen out of many tries:** z ≥ 3 pooled, or a significant replication in an untouched market. + 5. **Forward data from December 2026 onward is the new holdout.** Ask the user for monthly data updates and a log of live fills per signal. +- **Don't tune a rule after seeing its results** (thresholds, market order, entry minute). Any tweak is a new variant: log it and count it. +- **Re-test top results on fresh random seeds; compare variants only on shared, date-keyed coins.** Coins indexed by position in a session list are not paired across lists (log #66). +- **Book-level tests need ≥ 15 coin seeds.** One seed fixes the direction sequence for a whole period and the 12-month windows overlap, so per-seed ruin ranges from 4% to 69% (2015–19, $5k). Three seeds understated ruin by up to 3–4×. +- **Confidence intervals must respect overlapping accounts.** + - Use a moving-block bootstrap (≥21 sessions), month clusters (bracket tests) or year clusters, and always show a by-year breakdown. + - Pool markets with **joint calendar-month clusters**, because CL and GC share macro days. +- **Score direction signals per bracket first, then over the full lifecycle.** Report net per funded account **and** net per session (including skipped days), against both the coin-every-day baseline and a coin on the same days (to separate direction from day selection). +- **Check every feature's "known at" time against every entry time** (log #106: a daily forecast leaked into pre-open entries). +- **Judging new strategies (user decision, 27 Nov, session #005).** Assume a $10–20k starting bankroll; ruin there is not yet low (half-edge ruin 2–11% at $10k, 0.3–3.7% at $20k, 8.22). + 1. **Primary objective: value per account** = net per $150 evaluation bought (pass rate × net per funded), with net per funded and net per session alongside, vs the adopted play on the same purchase dates and vs a coin on the same days. + 2. **Ruin guard:** adopt only if book ruin at $10k and $20k against the adopted play (from v6.0: H(7.5k) with G in normal mode), 15 seeds, is not significantly higher, at full and at half edge. Per-account gains have failed at book level three times (resolution sizing 8.5, multi-market Drive 8.15, post-lock brackets 8.19), so the book run is not skipped. + 3. **Book profit (total ROI)** is reported but secondary until ruin is low; then it becomes primary. The switch-over level is the user's call. + 4. $5k is no longer a decision bank (still reported where cheap). + 5. Discretionary ideas: translate the user's description into a rule, confirm the translation with the user, then pre-register and test (v5.1). + +--- + +## 6. Data + +Set `LUCID_DATA` to the data root (default `/home/claude/data`; **every script honours it now**). Layout: +``` +/nq_raw/NQ/{2015..2026}_1min_bars_data0.parquet (NQ.tar) +/raw_//{year}_1min_bars_data*.parquet CL GC NG ES BZ SI PL 6E (.tar) +/vix/VIX.csv VIX9D.csv VXN.csv (DATE,OPEN,HIGH,LOW,CLOSE; MM/DD/YYYY) <- vix_data.tar *_History.csv, renamed +/vix/OVX.csv GVZ.csv (DATE,) (latest files run to 25 Nov 2026) +/extra/gex/option_gex_dix_data/DIX.csv date,price,dix,gex (SqueezeMetrics; 2011-05-02..2026-11-19, clean) +/extra/of/order_flow_data/NQ_trades_0929-0932_2010-2014.csv.gz, NQ_trades_0930-0931_2022-2026.csv.gz + trade prints: price,size,side (B/A aggressor),instrument_id,ts_et +/pre/{NQ,CL,GC,SI}/{2010..2014}_1min_bars_data0.parquet from pre-2015_raw_tar.lz4 via scripts/convert_pre2015.py +``` +**User's Mac layout (27 Nov):** `nq_raw/NQ`, `raw_CL`, `raw_GC`, `raw_NG`, but `es_raw`, `bz_raw`, `pl_raw`, `si_raw`, `6e_raw` (lowercase), and `pre/` (added 27 Nov). `slate_lib.find_dir()` handles both layouts; older scripts (`strat_more.py`, `event_drive.py`, `ind_*.py`, `strat_pre2015.py`) still hard-code `raw_/` and `pre/`. + +Run `python -I code/build_sessions.py` once (~30 s). It builds `sessions_multi.pkl` (NQ/CL/GC/NG, 2015–24, with forecasts and `entry_min`). **Rebuild after updating the code**: old caches lack `entry_min`, and the resolvers raise without it. + +**Environment used 27 Nov:** Python 3.13, pandas 3.0.5, numpy 2.5, pyarrow 26 (install it), scikit-learn 1.9. All regression checks reproduce on these versions. + +**Parquet columns:** `ts` (UTC), `ts_et` (naive ET, correct across daylight saving), `session_date` (Python `date`; bars from 18:00 ET belong to the next day's session), OHLC, `volume`, `instrument_id`, `is_roll`, `roll_gap`, `adj_add`, `adj_mult`. Prices are raw contract prices. **Bars are start-labelled:** the 09:30 bar covers 09:30:00–09:30:59, verified against trade prints. + +**Data quality:** all instruments and years, 2010–2026: no NaNs, no duplicates, no malformed bars, every price on its tick grid. + +**Quirks the loader handles:** +- Files aren't sorted, so the loader sorts by `ts`. +- Rolls happen mid-session on Sundays; the loader keeps only the new contract's bars. +- Holiday early closes: the loader exits one bar early. +- Exit is at the close of the 16:43 bar. +- Sessions with no US cash-session hours are skipped. +- Truncated final sessions are dropped (NQ and GC 2026 end 12 Nov 04:17 ET; data otherwise runs to mid-Nov 2026). +- CL never goes negative in April 2020, because the series rolled before the May contract expired. +- **Split years:** PL and SI split some years into `{y}_1min_bars_data0/1/2.parquet`. Always load with `sim.data.year_files(root, years)`. + +**Pre-2015 files (June 2010 – Dec 2014):** converted from the user's CSVs. Additive roll adjustment computed from the price jump at each contract switch (`adjusted = raw + adj_add`, as in the 2015+ files; GC switches are about 12 minutes apart, so its gaps include a little market move). NQ's median session range then was 31–42 points, so a $5,000 bracket at 4 NQ leaves about 68% of brackets unresolved. + +**Market opens** (volume spikes in the data; used as the "open" for opening rules): + +| Market | Open (ET) | Prior "cash close" used by R4 | +|---|---|---| +| NQ, ES | 09:30 | 16:00 | +| GC | 08:20 | 13:30 | +| CL, NG, BZ | 09:00 | 14:30 | +| SI | 08:25 | 13:25 | +| PL | 08:20 | 13:05 | +| 6E | 08:20 (US open; London 03:00 is larger) | 15:00 | + +**Instrument notes:** +- Hedging groups: ES with NQ (equities); SI and PL with GC (metals); BZ with CL (energies); 6E is its own group (currencies). +- **BZ and PL are thin on CME.** 7–8% of 09:30–16:00 minutes have no trade, so 1.5 ticks is doubtful at 4 lots. +- **BZ's continuous series flips between two contracts** (gaps up to about $6). Any cross-session price feature must use `adj_add` / `adj_mult`, or a same-contract check as `strat_test.py` does. +- NQ/ES miss about 15 minutes between 16:00 and 16:43: the 16:15–16:30 equity halt. Expected. + +**Volatility indices:** daily CBOE data. Only the previous day's close is used, to avoid look-ahead. VIX9D starts January 2011 and is missing 33 US holidays after 2022; the code uses the latest date where both indices exist. GEX/DIX likewise: the latest date strictly before the session. + +**Price level:** NQ was about 1,800 in mid-2010, 4,400 in 2015 and about 28,000 in 2026. Its median session range in 2020–24 was 210–340 points (60 points in 2015). + +--- + +## 7. Code + +### `code/` + +**Core simulator (`sim/`)** + +| File | Purpose | +|---|---| +| `sim/data.py` | Loads and cleans bars. `year_files(root, years)` loads all chunks per year. `session_list(df, entry_min)` returns bars from the entry bar, plus `entry_min`. | +| `sim/bracket.py` | (27 Nov: `entry_slip()` honours an optional per-session `entry_slip_ticks`.) `Instrument` specs (`slip_ticks` 1.5, `open_slip_ticks` 2.0). `INST` holds NQ, GC, CL, NG, ES, SI, PL, BZ, 6E, with a tick-value guard. `entry_slip(inst, s)` charges 2.0 at 09:30 and 1.5 otherwise, and raises if `entry_min` is missing. The reference bar-loop `resolve()` needs bars starting at the entry bar. | +| `sim/fast.py` | `resolve_fast()` (**verified identical to `resolve()`** on 40k cases at 09:30 and on 10k at 09:30/10:00). `n_contracts`, and the parametric `run_eval` / `run_funded`. **A session dict may carry `inst`, overriding the instrument per day** (multi-market accounts). `prep()` copies `entry_min`. | +| `sim/lucid.py` | Rule constants, `eod_floor`, and the original reference lifecycle. | +| `sim/forecast.py` | Session-range forecast known at entry. Walk-forward (each year fitted on the previous 3) or a single fixed fit. `INST_COLS`; `REAL` = realised-range features only. | +| `sim/portfolio.py` | (27 Nov: Eval / Funded honour an optional per-session `inst`; absent = unchanged, verified. v4.1: `run_book_multi(..., alt=(sess_alt, coins_alt, x))` switches every account to the alternative sessions and directions on sessions with cash < x, and returns `alt_days`; absent = unchanged, 0 mismatches vs v4.0 on 120 synthetic windows. v4.3: a slot name not in `INST` (e.g. 'M') is a pseudo-slot whose sessions carry `inst` and `grp`; a session's `grp` picks the direction array, so one direction per group still holds; absent = unchanged, 0 mismatches vs v4.1.) Book simulator: `Eval` / `Funded` classes and `run_book` / `run_book_multi`, with purchase rules, lock days, payout-5 closure and gating. Single instrument per slot. | +| `sim/volsize.py` | Resolution-target sizer (rejected, 8.5). Uses `entry_slip`. | + +**Checks (all pass as of 27 Nov)** + +| File | What it checks | +|---|---| +| `t_base.py` | NQ baselines: **+$337 / +$419** at the 2.0-tick 09:30 cost (+$343 / +$430 before). | +| `verify_fast.py`, `check_multi.py`, `verify_book.py`, `diag_book.py` | Consistency checks: 0 mismatches; the book example still burns $10k in 21 days. | + +**Sessions, policy and book scripts (zero-edge work, 26 Nov)** + +| File | Purpose | +|---|---| +| `build_sessions.py` | Builds the multi-instrument cache. Entries: NQ 09:30, CL/NG 09:00, GC 08:20 ET. | +| `policy_lib.py` | NQ single-account helpers. | +| `search.py`, `confirm.py` | Policy search and fresh-seed re-test. | +| `per_instrument.py`, `book_*.py`, `funded_cap.py` | Zero-edge per-instrument and book work. `funded_cap.py dev\|stress` (~30 s) is the quickest final-model book run. | +| `vol_*.py`, `event_probe.py`, `probe_*.py`, `path_*.py`, `persist.py` (+ `RUN_PERSIST.md`), `night_size.py` | Earlier tests (8.1, 8.5). The closed path/persist/event scripts compute bracket distances by hand at 1.5 ticks and were not updated to the 09:30 rule. | + +**New, 27 Nov (all pre-registered in their docstrings)** + +| File | Purpose | +|---|---| +| `probe_gamma.py`, `gex_forecast.py` | Dealer-gamma / DIX tests and GEX as a range-forecast feature (8.6). ~35 s and ~10 s. | +| **`strat_test.py`** | **Strategy harness, NQ.** `features(df, open_min, cash_close)` builds bars at open−1..open+2, ATR14 and the prior cash close. `rules(F)` computes R1 (placeholder) to R4 and the cascade. `test_A` gives bracket uplift vs coin with month-cluster CIs. `test_B` runs the lifecycle against 30 date-keyed coin seeds with block CIs. `date_coins` makes coins paired by date. ~50 s. | +| `strat_cross.py` | R2–R4 on ES, CL, GC at their own opens (~50 s). | +| `strat_life.py` | Per-account lifecycle "trade only on R2 days" vs coin every day vs coin on R2 days. `runs()` handles skipped days and calendar time. ~90 s. | +| `strat_multi.py` | Multi-market Drive account M, plus confidence checks (joint-cluster pool, delayed entries). ~60 s. | +| `strat_more.py` | R2–R4 on SI, PL, BZ, NG, 6E (~50 s). | +| `strat_pre2015.py`, `strat_holdout.py` | 2010–14 test and the 2025–26 holdout test. ~20 s each. | +| `ind_lib.py` | Clock-aligned tf-minute bars on roll-adjusted prices; EMA ribbon, Stoch RSI, confirmed divergence, TTM squeeze; `grid()` gives the indicator state at each candidate entry minute. Reusable for any bar-indicator idea. | +| `dp_eval.py` | Evaluation-phase DP with simulation check (#184; `--restricted` = contracts and target only). ~4 min full, ~20 s restricted. | +| `book_recheck.py` | Book-level re-check of play settings across 2015–19 / 2020–24 / 2025–26 (#186–191; builds `sessions_recent.pkl`). ~4 min. | +| `book_next.py` + `RUN_BOOK_NEXT.md` | 15-seed book test of early-stage settings (m, one eval at a time, mix, pause) and Drive at book level (#193–201). Builds `drive_sessions.pkl`. User's machine; `--quick` smoke test. | +| `book_overshoot.py` + `RUN_OVERSHOOT.md` | 15-seed overshoot decision run with paired block-bootstrap CIs (#192). User's machine; `--quick` smoke test. | +| `event_drive.py`, `jump_bound.py` | Drive at London open / releases / EIA (#180–182) and the release-jump feasibility bound (#183). | +| `ind_test.py`, `ind_cross.py` | Indicator-rule test (NQ/GC, 15/30/60 min, dev + replication, step-0 volatility check; ~1 min) and cross-market replication (~40 s). `ind_test.score_grid()` scores coin vs rule at arbitrary entry minutes. | +| **`slate_lib.py`** | Slate-1 helpers: markets (open, cash close), pre+2015 data loader, forecast at any minute, bracket scoring at any entry minute, month-cluster bootstrap summaries, process pool over markets. | +| `na_test.py`, `fomc_fade.py`, `rvol_drive.py`, `tsmom_test.py`, `lasthalf.py` + `run_slate1.py`, `RUN_SLATE1.md` | Slate 1 (#202–206): noise-area breakout, FOMC fade, RVOL Drive filter, time-series momentum, last-half-hour momentum. `--quick` (2013–18), `--jobs N`. Outputs to `/slate1/`. | +| `book_na.py` + `RUN_BOOK_NA.md` | Noise-area breakout per account (Part A, #207) and at book level (Part B, #208; decision #209): D1 vs D3 (Drive, else NA, else coin), D4, P0; 15 seeds. Builds `na_sessions.pkl`. D1 and P0 reproduce `book_next.py` exactly (0 mismatches). User's machine; `--quick`. | +| `book_na2.py` | Implementable-fallback re-test (#210–212): D1i, D2, D3s vs look-ahead D1/D3 and P0. Builds `o3_sessions.pkl`. References reproduce `book_na.py` exactly. | +| `book_timing.py` + `RUN_TIMING.md` | Zero-edge coin-day entry minute in D1i (#213–214): open+3/5/10/15/30, cost scenarios (a) model and (b) open+3 at 2.5 t / open+5 at 2.0 t. Builds `ok_sessions.pkl`. T3(a) reproduces `book_na2.py` D1i exactly. | +| `slate2.py` + `RUN_SLATE2.md` | User's ideas (#215–219): crude settlement fade (CL 09:01; BZ/NG replication), gold–silver gap (GC 08:21, threshold 0), SI+PL basket, reverse check. Signals checked against slow loops (0 mismatches). | +| `book_crude.py` + `RUN_CRUDE.md` | Crude settlement fade per account (CL) and book (#219–220): C1 (Drive, else crude fade 09:03 on CL) and C2 (crude fade 09:01 every day on CL) vs D1i. Builds `crude_sessions.pkl`. D1i reproduces `book_na2.py` exactly. | +| `slate3.py` + `RUN_SLATE3.md` | #221 daily reversal (crude rule on every market, entry open+1; primary ES+SI+PL+6E) and #222 Drive / reversal agreement (primary CL). DR on CL is identical to #215. | +| `slate4.py` + `RUN_SLATE4.md` | User's 'NQ momentum' (#223–226): R3 / 4-bar opening momentum with Asia / London / overnight confluence; NQ primary, ES replication. R3 matches `strat_test` exactly. | +| `vol_diag.py` | Zero-edge volatility diagnostic (#227): P(pass), resolution, costs, undershoot by forecast-volatility quintile (across and within years); market choice by widest forecast range. Uses session caches; < 1 min. | +| `book_mchoice.py` + `RUN_MCHOICE.md` | Daily market choice by 08:20 forecast $-range (#228–229): M1 all accounts on the top market, M2 4/3/3 blocks by rank, vs D1i. Builds `rank_0820.pkl`. Needs the updated `sim/portfolio.py`. | +| `of_test.py` + `RUN_OF.md` | Opening order flow on NQ (#230–232): first-minute aggressor imbalance → direction at 09:31; incremental vs the 09:30 candle. Reads `/extra/of/nq_ofi_daily.csv` (built by `scripts/of_daily.py` from the user's prints; copy in `data_extra/`). | +| `combo_model.py` + `RUN_COMBO.md` | Walk-forward ridge model of 13 weak features per market (#233–235); primary: NQ+CL+GC model − D1i per day. Synthetic check: recovers planted effects, ~0 weights elsewhere. | +| `book_rescue.py` + `RUN_RESCUE.md` | End-of-day ratchet rescue (#236–238): D1i vs R30 / R90 (scale to 4 contracts late in the day when an eval / pre-lock bracket is open and in profit ≥ $250). Patches `Eval.step` / `Funded.step` in-process (rescue off = identical), builds `late_sessions.pkl`; `--check` verifies against a slow bar loop and book_na2. | +| `book_hybrid.py` + `RUN_HYBRID.md` | Cash-switched hybrid (#239–241): H(X) = D3s on sessions with cash < X, else D1i, X = $7.5k / $10k / $15k, vs D1i and D3s; 15 seeds. Uses `run_book_multi(..., alt=(sess_alt, coins_alt, X))`. Checks: H(0) ≡ D1i, H(∞) ≡ D3s, D1i/D3s reproduce `book_na2.csv`. Smoke-tested here on synthetic caches. | +| `book_mdrive.py` + `RUN_MDRIVE.md` | Multi-market Drive accounts at book level (#242–244): M10 (10 slots first-Drive GC→CL→NQ), MCN (CL→NQ), MIX (the 4 NQ slots multi-market) vs REF = H(7.5k); all with the cash switch. Multi-market sessions carry `inst` and `grp`. Checks: MIX with M(NQ) ≡ REF, M directions = signals, REF ≡ `book_hybrid.csv`. Smoke-tested here on synthetic caches. | +| `book_twin.py` + `RUN_TWIN.md` | Decorrelation upper bound (#245–247): twin slots replay a market's adopted-play sessions and directions from another calendar day in an unconstrained group (T-REAL: 2 NQ + 1 GC twins; T-MAX: all non-first slots) vs REF = H(7.5k). Checks: shift 0 ≡ REF; REF ≡ `book_hybrid.csv`. Smoke-tested here on synthetic caches. | +| `slate5.py` + `RUN_SLATE5.md` | Slate 5 (#248–250): Drive bracket horizon (`score_k` = `slate_lib.score` with k as a parameter, plus drift profile), cross-market leads (walk-forward ridge, NQ 09:33 and CL 09:03 on non-Drive days), failed noise-area breakout fade (`na_table` reproduces `na_test.signals`). One process per market; outputs `/slate5/`. | +| `gbm_model.py` + `RUN_GBM.md` | Gradient-boosting walk-forward model (#251–253): one pooled model, 9 markets, 31 features at open+3 (combo 13 + regime + calendar + cross-market overnight moves) + market one-hot; primary = NQ+CL+GC non-Drive days; shuffled-target control. Synthetic check: recovers a planted volume × direction interaction. | +| `book_postlock.py` + `RUN_POSTLOCK.md` | Post-lock Drive-day brackets (#254–256): PL1 (target × 0.5) and PL2 (target × 0.5, own stop 2 × target, k=0.25) vs REF = H(7.5k). `resolve_own()` = `resolve_fast` with an own stop (gap fills at the open, exit slippage); floor mode ≡ `resolve_fast`. Patches `Funded.step` in-process. | +| `mt_shrink.py` | Multiple-testing correction (Holm, BH, Bonferroni) and empirical-Bayes shrinkage (NPMLE, spike-and-slab, ash*) over the curated family of logged direction tests (#257–259). Family table embedded; outputs `mt_family.csv`, `mt_posteriors.csv` (copies in `results/`). No data needed. | +| `book_anticorr.py` + `RUN_ANTICORR.md` | Anti-correlated coin days across hedging groups (#260–262): CL / NQ coin-day directions chosen to offset earlier groups' positions by trailing 60-session correlation; vs REF = H(7.5k). Check: ρ missing ≡ REF. | +| `book_edgestress.py` + `RUN_EDGESTRESS.md` | Adopted play at full / half / zero edge (#263–265): signal direction kept with probability p per group-day, else the coin. Check: p = 1 ≡ REF. | +| `bos_test.py` + `RUN_BOS.md` | Break of structure after a decisive move (#266–268): zigzag swings on 1-min bars (θ = 0.10 ATR14), 5-min closes, decided direction at D = 0.15 / 0.20 / 0.25 ATR14 from the open; A = first break against it, B = with it; slate-style bracket scoring; grid-average primary on CL+GC; Drive split, swing-size dose-response, drift profile, agreement with NA. `session_events()` / `signals_from()` are reusable for other swing / structure ideas (`theta`, `Dset` parameters; defaults reproduce #266–268 byte for byte). Checks: slow from-scratch reference (`ref_signals`), `--selftest`. | +| `bos_tweaks.py` + `RUN_BOS_TWEAKS.md` | Data-suggested tweaks (#269–272): B before the NA breach; θ = 0.20 for A and B; A at D = 0.40. Bar z ≥ 3. | +| `book_nagate.py` + `RUN_NAGATE.md` | Volatility gate for E (#276–278): `gate_on()` = fresh $5,000 bracket fits 0.7 × forecast with ≤ 4 contracts; G = E where on, REF where off. Checks: forced on ≡ E, forced off ≡ REF; REF / E ≡ `book_naearly.csv`. | +| `book_naearly.py` + `RUN_NAEARLY.md` | Early NA on normal-mode coin days (#273–275): E vs REF = H(7.5k). Part A per account (net per evaluation, `per_eval`, `block_eval`), Part B book at full / half edge (`book_edgestress.mix`). Builds `mk2_sessions.pkl` (sessions at the second NA mark). Checks: NA off + open+3 coins ≡ REF; p = 1 ≡ E; REF ≡ `book_hybrid.csv`; Part A D1i ≡ `book_na2_acct.csv`. | +| `RESEARCH_LOG.md` | Every variant tested, with results. | + +**To test a new strategy:** add its signal to `strat_test.rules()`, or write a direction array per session. Run `test_A` per market, then the lifecycle with `strat_life.runs()` (a skipped day means the session is absent from the list). For multi-market accounts, set `s['inst']` per session, as in `strat_multi.py`. + +### `tradingview/` +`lucid_signals.pine` (Drive + noise-area labels and alerts) and `README.md` (install, alerts, validation, trade log). + +### `scripts/` (helpers outside `code/`; they find `code/` relative to themselves and read `LUCID_DATA`) + +| File | Purpose | +|---|---| +| `convert_pre2015.py ` | Converts the user's pre-2015 CSVs to the project's parquet layout. | +| `open_slip.py`, `open_slip2.py ` | 09:30 spread and 4-lot sweep cost from trade prints (`open_slip2` is the final 10 ms method). | +| `slip_sens.py`, `per_acct.py`, `with_old_slip.py