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
554 B
JSON
1 line
554 B
JSON
{"sym": "MXF", "cik": 65433, "name": "MEXICO FUND INC", "bdc": false, "n_tender": 14, "ticker": "MXF", "report_filed": "2025-12-29", "ncols": 5, "nav_beg": [17.61, 18.97, 17.62, 17.4, 12.66], "nav_end": [22.02, 17.61, 18.97, 17.62, 17.4], "mkt_end": [], "dist_tot": [0.94, 0.88, 0.8, 0.72, 0.36], "divs": [0.73, 0.39, 0.57, 0.57, 0.23], "gains": [0.2, 0.41, 0.21, 0.1, 0.03], "roc": [0.01, 0.08, 0.02, 0.05, 0.1], "ops": [5.26, -0.48, 2.08, 0.94, 5.1], "share_div": 0.672972972972973, "share_gains": 0.25675675675675674, "share_roc": 0.07027027027027027} |