Per-share financial-highlights parser (cef_annual.py) now reconciles divs+gains+ROC==distributions and the full NAV chain per column for 48 of 50 shortlist funds, from three layout families (inline, transposed, + repair rules for footnotes/split-decimals/sign- magnitude/combined-rows). DXYZ is a correct zero-distribution result; STEW is a documented columnar-stream exception. cef_merged.json character column now uses actual data. 123/123 tests.
1 line
569 B
JSON
1 line
569 B
JSON
{"sym": "SCD", "cik": 1270131, "name": "LMP CAPITAL & INCOME FUND INC.", "bdc": false, "n_tender": 0, "ticker": "SCD", "report_filed": "2026-07-30", "ncols": 5, "nav_beg": [16.51, 18.64, 14.9, 14.74, 15.93], "nav_end": [17.27, 16.51, 18.64, 14.9, 14.74], "mkt_end": [], "dist_tot": [0.72, 1.42, 1.36, 1.35, 1.04], "divs": [0.72, 0.72, 0.45, 0.33, 0.33], "gains": [0.0, 0.7, 0.91, 0.38, 0.0], "roc": [0.0, 0.0, 0.0, 0.64, 0.71], "ops": [1.48, -0.21, 5.1, 1.48, -0.18], "share_div": 0.432937181663837, "share_gains": 0.33786078098471983, "share_roc": 0.22920203735144315} |