Fingerprint canonical source OHLCV feed#118
Merged
Merged
Conversation
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
Why
The same strategy/runtime could process radically different OHLCV tapes while receiving one fingerprint. A reproduced Docker collision covered 222,295 bars and 17,655 trades versus 36,361 bars and 2,917 trades with the same digest. Feed identity now separates those runs without coupling paths or CSV formatting to provenance.
Contract
feed.canonicalization is pf-ohlcv-barc-le-v1. feed.source_values_sha256 covers the prefix pineforge:ohlcv:barc-le:v1 plus NUL followed by original-order open/high/low/close/volume/timestamp records packed as little-endian 5dq. Equivalent parsed values in different paths or textual formats share an identity.
Verification
Deferred intentionally: ohlcv_start_ms, syminfo, loaded SO identity, volume-weighted magnifier, and output windows.