Repository navigation
Apply exact ETF split events and enforce failed-search holding checks - #42
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.
Resolve issuer-evidenced ETF units using each account's record-date holdings, exact ratio and rounding, including credit before the ex-date. Cancel orders and deferred targets expressed in the old share unit. After optimizer failure, audit current holdings and stop unknown or noncompliant portfolios without automatic liquidation. Classify unbalanced native ledger transactions as hard stops for every replay event. Preserve failure status and explicitly matched benchmark return pairs in research results.
Bind the adapter to merged data-kit #49, lab #27 and portfolio #33. Existing frozen runtimes and accounts are not migrated.
Validation: the final head passes 326 tests on Linux/Python 3.12, with 85.80% total coverage and 278/284 (97.89%) certification-core branches. CI also covers Linux and Windows on Python 3.10–3.12 and rebuilds the canonical Python 3.10 lock twice on Windows. Real 510500 split replays for 100 and 100,000 shares balance and reproduce exactly. Full ETF history remains blocked by documented source and rule-coverage gaps; these software checks do not authorize a new qualified study or A/B/C credit.