Phase 9 Session 1 - EDGAR XBRL fundamental data layer + margin compression alpha factor#7
Merged
Merged
Conversation
…d_intensity, asset_growth (150 tests passing)
…ferroni pass (t=+4.834 @ 126d)
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
nexus/data/edgar/forms/form_xbrl.pyparser withfiled >= endintegrityinvariant, and
scripts/ingest_fundamentals.pyper-ticker idempotent ingest. 74,662 rows / 137 of 140 tickers covered (3 foreign 20-F filers absent as expected).nexus/signals/factors/fundamental.pywith pure helpers + DB-backed wrappers; opt-in dispatch wiring inbacktest.pymirrors thesupply_panelpattern.fundamental_margin_compression(t = +4.834 at 126d) is the first NEXUS factor to pass HLZ Bonferroni / Holm / BH at M=400. Composer sign-flipped vs publishedliterature — the empirical direction at 126d on the semiconductor universe is margin compression → outperformance (mean reversion / priced-for-perfection). CALM-regime t =
+6.35; sub-window late-third t = +5.13 (strengthening, not decaying).
fundamental_roa(full-window t = +3.76) intentionally NOT registered — late-third decay to t = -0.06 with 6/6 sign split mirrors the Phase 5 momentum decay pattern.Documented for revisit after 2026 annual filings.
rd_intensityandasset_growthnull at all three horizons.fundamental_margin_compressionmean_IC positive in every window (min +0.016, max +0.181) so the aggregatormean_ic > 0gate accepts it atevery rebalance.
100%-cash window from Phase 8 is no longer dead.
test_health.pywhich needs live FastAPI).