Can a Gann result come from one slider setting? We swept the anchor threshold
One EDGE appeared at one threshold of three. It survives the study-wide correction, and fails replication on the other era.
MethodSource: docs/verdicts/2026-09-22-anchor-sweep.md
The question
If a user can drag a parameter until a verdict flips, does the multiple-comparisons bookkeeping catch it?
Method
Three runs of the same five-hypothesis battery on BTCUSDT, differing only in the anchor threshold: 0.20, 0.25 and 0.30. All three recorded into one persistent study, so Benjamini-Hochberg runs across every configuration tried, not just within one battery.
Data
Binance BTCUSDT daily, the same bars and split as the independent-anchor battery.
What chance looks like
The occupancy baseline on every hypothesis, as in the battery: the lower Wilson bound must clear the share of the chart the construct covers.
The null
Shuffled anchors, with Benjamini-Hochberg across every test in the study ledger. The p a new result must clear to lead rises with each configuration recorded: 0.00833 at 5 tests, 0.00455 at 10, 0.00313 at 15.
The result
The sweep produced an EDGE at one threshold out of three. At 0.20, `time_cycles_anniversary` scored n=123, hit 0.138 vs occupancy 0.075, ci_low 0.088, p=0.0066. At 0.25 and 0.30 it is NO EDGE. This was the first EDGE the harness printed on real data.
The result survives the study-wide correction. Benjamini-Hochberg is step-up: two entries tie at p=0.0066, and the rank-2 threshold over 15 tests is 0.05×2/15 = 0.00667, which 0.0066 clears. Paying for the sweep does not automatically retire a finding.
What caught it was replication. The same hypothesis at the same threshold is NO EDGE on the train era: it holds in one of two independent samples.
And the occupancy baseline, on its neighbour. `gann_angles` at the same threshold has the identical p=0.0066 and also survives FDR, but its lower CI bound (0.0225) sits below its occupancy (0.0423), so it is NO EDGE. Two results with the same p-value, different verdicts, because p was never the test.
| anchor threshold | n | hit | occ | p | verdict |
|---|---|---|---|---|---|
| 0.20 | 123 | 0.138 | 0.075 | 0.0066 | EDGE |
| 0.25 | 142 | 0.063 | 0.036 | 0.0432 | NO EDGE |
| 0.30 | 146 | 0.034 | 0.027 | 0.3488 | NO EDGE |
What this does not say
- At the time of this write-up EDGE required occupancy and FDR, and replication was reported as a flag but not required. The verdict argues it should be required, and notes the cost: almost nothing would ever print EDGE.
Where the code is
The engine is PyraTime's test harness. This verdict is docs/verdicts/2026-09-22-anchor-sweep.md, and the code it ran is:
engine/validation/engine/scripts/run_battery.py
rm -rf engine/studies
for t in 0.20 0.25 0.30; do
python -m scripts.run_battery --symbol BTCUSDT --anchor-threshold $t --study anchor-sweep
doneThe tools this covers
Each of these pages says what the tool does and quotes this test:
Educational only, not financial advice. A test asks one narrow question on the data and settings named above.