On-demand per-fund reports for standalone Symbol-box funds

Any symbol that stands alone in the Symbol box (not a comma-joined
portfolio component) now gets a full report, built on demand and cached
in reports/report_data_adhoc.json. Rendered at the top of the Fund Lab
Summary as group 'A'; pointer at the top of the page. Rendering logic
extracted into render_fund_report() shared by pre-built and on-demand
entries. ~0.3-0.9 s per new fund after one-time panel warmup; instant
afterwards (memory + disk cache).
This commit is contained in:
gmp
2026-08-30 18:35:42 -04:00
parent e28f8fcf85
commit d2ff607c79
4 changed files with 166 additions and 77 deletions
+1
View File
@@ -9,3 +9,4 @@ fundlab/nport_cache/raw/
fundlab/universe_cache/
fundlab/xcheck_run.log
fundlab/streamlit.log
reports/report_data_adhoc.json