Repository navigation
spl: a scrollback you can name, defaulting to the whole day - #48
Merged
Merged
Conversation
20 000 held an eighth of a trading day, so even `--days 1` was mostly thinned. 250 000 holds 159 210 whole — every tick addressable, no thinning at all — and `-c/--capacity` is there for when that is the wrong trade in either direction. ~390 MB resident against ~100 MB at 20 000, measured on a one-day replay. Co-Authored-By: Claude Opus 5 (1M context) <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.
SCROLLBACKwas 20 000 against a trading day of 159 210 ticks, so even--days 1was mostly reachable only through the thinned backbone. Default is now 250 000 — a one-day replay is held whole, every tick addressable, no thinning at all — and-c/--capacity <ticks>is there for when that is the wrong trade in either direction.Measured on a one-day replay (
--days 1, release):-c20000stepgaps run 1 → 78 across the front250000(default)gapis 1 throughout~2.4 KB per retained tick for spl's 42-node graph — mostly
Acts::ends, at 20 B per node per tick.--headlessrecords nothing, so the flag does not apply there. Also surfaced innix run .'s listing; thevizrunner already forwards unrecognized args to the app, soviz spl -r -- -c 500000andnix run .#spl -- -c 500000both work.Follows EV-Quant/exec_viz#6, which is what makes a large capacity worth having: the backbone is filled by fire rather than by tick index, so the bars and the classification keep their resolution where thinning does kick in.
🤖 Generated with Claude Code