The page rewritten in three parts: buy signals now, why, and past results in price terms - #123
Merged
Merged
Conversation
1. Buy signals now: a table of buy limit, stop loss and take profit with one instruction on how to act and a status per row (new today, day N of the limit, late). 2. Why these stocks: the pattern in plain words, the chart, the context chips, the eleven-year figure, then the stocks being watched (with the close they need) and what left the page. 3. Past signals, were we right?: every committed signal with its result in price terms (took profit at, stopped out at, still open at, not bought, pending) and the gain or loss in percent, a tally, and the R-based track record folded away. Glossary and reference tables folded. Tests, wiki 01, README, changelog. 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.
Summary
A reader who had never seen the scanner could not tell what to do with the page. It is now three numbered parts in the order a reader needs them, and every number stays the scanner's or the evaluator's.
1. Buy signals now. One instruction on how to act (buy at the next open only at or below the "buy up to" price; sell on a close at or below the stop loss; sell at take profit; a signal leaves when the scanner drops it), then a table: stock, pattern, buy up to (with the last close), stop loss (with the distance), take profit (with the gain), status (new today, day N of the limit, late with the 0.1 R note). Empty state: "No buy signal today. Nothing to do."
2. Why these stocks. Per signal: the pattern explained in plain words, the specific anchors and breakout age, the candlestick chart with the buy zone, stop, target and pivots, the context chips (market trend, moving averages, breakout volume, fear and greed) and the eleven-year figure for the pattern. Then "Watching, not a signal yet" (the close each needs, its distance, and the stop and target it would have), their charts folded, and what left the page since the previous scan, in words.
3. Past signals: were we right? A tally ("7 signals since 2026-09-02: 0 took profit, 3 stopped out, 3 still open, 1 pending; average result on the closed ones −4.3 %") and a table with bought at, stop loss, take profit, the result in price terms ("Stopped out at 212.24 on 2026-09-08", "Still open: last close 34.51 on 2026-09-16", "Took profit at …", "Not bought: it opened above the buy limit", "Pending") and the gain or loss in percent. The honesty note keeps the replay figures for scale; the R-based table with its filters and the running total is folded under "In units of risk (R), for the curious". The glossary and reference tables are folded under "How to read this page".
Gone: the metric cards, the setup cards, the closed table, the F&G-style jargon in labels. The view model gains
results(rows withlabel,text,pnl_pct) alongsidetrack.Checked in the browser with today's live data (2026-09-17 scan: MO new, four watched, seven past signals) at desktop width.
Test plan
test_build_site.pyrewritten for the new page: status words, results in words and the tally, section order, escaping, charts, the empty scan)testsworkflow on this PR🤖 Generated with Claude Code