v1.3.0 - NPS support (beta)
New
- NPS holdings (CDSL).
NSDLCASData.npscarries National Pension System
scheme holdings (scheme, fund manager, tier, asset class, units, NAV, value)
plus PRAN and NPS-SP. CDSL, holdings-only. (#128) NSDLCASData.parse_warnings— non-fatal warnings for demat holdings whose
numbers don't reconcile.
Fixed
- NSDL demat holdings parsed by arithmetic (
units*nav≈value) instead of
hardcoded pixel columns; fixes wrong nav/value on layout-shifted statements. - NSDL equities: same fix (
shares*price≈value) + pledged sub-rows no longer
parsed as separate holdings. - CDSL mutual-fund profit/return assigned by
value-costidentity, not
position; fixes return% being reported as profit.
Changed
CapitalGainsReportis lazy-loaded, keepingimport casparserlighter.- Decimal money fields serialise consistently as JSON strings (models use
Decimal, notDecimal | float).
Full Changelog: v1.2.1...v1.3.0