feat: backtest features from the second review, and a 1.25-ATR stop variant - #111
Merged
Merged
Conversation
…ariant Replay rows and the outcome-by-feature table gain the pattern's depth in ATR, the breakout bar's close within its range and whether it cleared the prior bar's high, the breakout volume z-score against the prior 20 bars, and for cups the handle's volume against the cup's and the handle's volume slope. The stop / target grid gains an extra 1.0 ATR row (1.25 ATR under the structural low). Recorded to be tested; no rule uses them. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
… row Wiki 03 gains "A second review, tested": every proposal with its ten-year result (runs 34255129970 to 34255999955, the roundness set with CUP_MIN_ROUNDNESS=0.8, the stop variant on grid run 34256064869). None improves the system; two would have removed the better half of their population. The changelog entry states the outcomes. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The testable remainder of the second external review (2026-09-08), recorded as replay features under the protocol of docs/wiki/03, then tested over the same eleven years. No rule changes.
Results (eleven yearly point-in-time runs from this branch, 34255129970 to 34255999955, the second set with
CUP_MIN_ROUNDNESS=0.8; the stop variant on the two-year grid run 34256064869):Verified:
ruffclean, 135 tests pass (new arithmetic checks for every feature on the cup fixture, per-pattern depth for inverse H&S and Wolfe, cup-only features absent elsewhere, 24 grid rows and the new row rendered); a 30-ticker real-data run renders the buckets.Related Issues
Related: #109 (cups: the roundness and handle-volume results bear on it), #108 (drawdowns), #96 (protocol)
Checklist
scan.py(no thresholds changed)python -m pytest -q)docs/wiki/CHANGELOG.mdupdated🤖 Generated with Claude Code