qis.PortfolioBreadthResult¶
- class qis.PortfolioBreadthResult(metrics, availability, absolute_weight_shares, absolute_risk_contribution_shares, covariance_dates, span, position_threshold, covariance_source)[source]¶
Bases:
objectContainer for portfolio-breadth statistics and their numerical audit trails.
- Variables:
metrics (pandas.DataFrame) – Breadth counts, efficiency ratios and audit statistics. Rows are the sorted target-weight dates and columns include
COUNT_COLUMNS,EFFICIENCY_COLUMNSandAUDIT_COLUMNS.availability (pandas.DataFrame) – Derived investability mask on the evaluation dates and retained assets.
absolute_weight_shares (pandas.DataFrame) – Absolute material target weights normalised over investable positions. A row is zero when no investable position is held.
absolute_risk_contribution_shares (pandas.DataFrame) – Absolute Euler risk contributions normalised over the risk-measurable positions. A row is zero when portfolio risk cannot be attributed.
covariance_dates (pandas.Series) – Covariance observation used at each evaluation date. Values are
NaTbefore the first point-in-time covariance or return observation.span (int) – EWM covariance span in return observations. It is recorded even when an externally supplied
covar_dictmakes it inactive.position_threshold (float) – Strict absolute-weight cutoff used to identify material positions.
covariance_source (str) –
"provided"or"returns-ewma".
- Parameters:
- __init__(metrics, availability, absolute_weight_shares, absolute_risk_contribution_shares, covariance_dates, span, position_threshold, covariance_source)¶
Methods
__init__(metrics, availability, ...)Attributes
Return data-quality and investability reconciliation statistics.
Return the five count and effective-count series.
Return the four dimensionless breadth-efficiency series.