Repository navigation
Series routine docs: provisional newest bar, and what a missed night looks like - #130
Merged
Merged
Conversation
… night looks like marketdata 0.3.3 (mspinola/marketdata#40) holds each capture's newest bar until a later capture confirms it, because the vendor revises the evening value of the day's bar. Both templates still described the old rule (gate and store the newest bar), so the one-session lag the store now carries by design read like a fault. Also documents the failure seen on 2026-10-26: with Claude Desktop signed out on the producer, neither routine ran and nothing on the box recorded it. Recovery is Run now, and a morning run stores through the session before the latest one. run-series.cmd changes REM lines only; every executable line is byte-identical. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Doc-only follow-up to mspinola/marketdata#40 (0.3.3).
Why
Both Windows templates described the series build's old rule: gate the newest bar and store it. Since 0.3.3 a capture's newest bar is provisional. It counts for the session gate and is otherwise ignored, so the store trails the latest capture by one session by design. Read against the old text, that lag looks like a missed night.
The measured reason, now in both files: from 2026-09-16 to 2026-10-23 the vendor later revised 54 of 226 newest bars, against none of about 215 bars it had already served once as settled. Storing the newest bar froze 14 of 15 series from late September.
What changed
run-series.cmd: the stage-2 paragraph is rewritten for the provisional rule and--accept-restatement. A new WHEN NOTHING RUNS AT ALL section covers the 2026-10-26 failure. Comment lines only: every non-REMline is byte-identical, and the new lines contain no<>|&%^.series-routine.md: "What a good night looks like" now says the bar a run adds is the previous session's, and how a genuine restatement is taken. The new When a night is missed section covers the same failure from the operator's side.The missed-night section
On 2026-10-26 Claude Desktop on the producer was signed out. Neither routine ran, and nothing on the box recorded it: no raw file, no exit code, no log, no Task Scheduler result. The only trace was the replica's series dates not advancing.
The docs now cover:
verify-scheduling.ps1flags the series only after four days, so the reading machine should watch the dates.Checks
No test covers these templates. The deployed copies on the producer box are being updated to match.
🤖 Generated with Claude Code