qis.generate_lookthrough_exposures_factsheet¶
- qis.generate_lookthrough_exposures_factsheet(multi_portfolio_data, group_loadings=None, time_period=None, figsize=(11.7, 8.3), fontsize=9, title='Look-through portfolio exposures', notes=None, *, group_data=None, lookthrough_matrix=None)[source]¶
Compare average and final realised sleeve exposures with grouped horizontal bars.
- Parameters:
lookthrough_matrix (DataFrame | None) – Optional static instrument-by-sleeve fractions. Supplied rows are finite, nonnegative and sum to one; omitted rows use group_data. None preserves categorical reporting. This is an accounting split.
group_data (Series | None) – Ordinary instrument labels as a Series; defaults to portfolio metadata where available. Fractional memberships belong in lookthrough_matrix.
multi_portfolio_data (MultiPortfolioData) – Named portfolio histories on matching native return dates.
group_loadings (DataFrame | None) – Legacy alias for a complete lookthrough_matrix. Each instrument must have nonnegative fractions summing to one. The same matrix can be passed as lookthrough_matrix to MultiPortfolioData.compute_brinson_attribution.
time_period (TimePeriod | None) – Requested NAV window. The first shared NAV is the baseline.
figsize (Tuple[float, float]) – Page dimensions in inches. Up to ten sleeves are shown per page.
fontsize (int) – Base label size in points.
title (str) – Page heading; the actual shared baseline and final NAV date are appended.
notes (str | None) – Optional mapping/provenance explanation printed on every page.
- Returns:
Figures with native-observation mean beginning-of-period weights and final realised holdings. Exposures are decimal weights, not returns or risk shares. This is an accounting split using supplied static metadata, not a claim to observe underlying sleeve returns or historical changes in a fund’s holdings.
- Return type: