get_etf_risk
Generate a look-through risk report for one ETF or mutual fund, resolving SEC N-PORT holdings to model tickers and computing factor exposures and volatility.
Instructions
Look-through risk report for one ETF or mutual fund: the latest
SEC N-PORT holdings resolve to model tickers and the portfolio math
runs on those weights. Reports total/factor/specific vol, factor
exposures, top contributions, and the fund block with the holdings
date and coverage. Returns an error dict when the ticker locates no
fund, or when the model covers less than half of the holdings (bond
and international funds). Needs RISKPRISM_EDGAR_UA (an identifying
User-Agent, per SEC fair-access policy) for the EDGAR fetches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | ||
| horizon | No | medium |