Skip to content

v0.5.4 — fix SPGM weight inversion (correct top-N)

Latest

Choose a tag to compare

@ks1686 ks1686 released this 22 Aug 22:38
· 10 commits to main since this release

Critical fix: SSGA XLSX weight parsing was inverting the ranking of large holdings. The SSGA files store weights as plain percent numbers (4.797 = 4.797%, 0.823 = 0.823%). The old parser only divided by 100 when the value was ≥ 1.0, so all holdings below 1% weight (JPM, Samsung, etc.) were treated as 100× heavier than the mega-caps (NVDA, AAPL, MSFT).

Correct SPGM top-5: NVDA (4.80%), AAPL (3.90%), MSFT (2.66%), AMZN (2.14%), GOOGL (1.90%)
Previous wrong top-5: SMSN (0.84%), JPM (0.82%), LLY (0.70%), XOM (0.69%), MU (0.66%)

Both constituent caches are cleared — next rebalance run will fetch and parse fresh weights.

Full Changelog: v0.5.3...v0.5.4

Full Changelog: v0.5.3...v0.5.4