Skip to content

v1.3.0 - NPS support (beta)

Choose a tag to compare

@codereverser codereverser released this 06 Jul 11:23
· 10 commits to main since this release

New

  • NPS holdings (CDSL). NSDLCASData.nps carries 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-cost identity, not
    position; fixes return% being reported as profit.

Changed

  • CapitalGainsReport is lazy-loaded, keeping import casparser lighter.
  • Decimal money fields serialise consistently as JSON strings (models use
    Decimal, not Decimal | float).

Full Changelog: v1.2.1...v1.3.0