RiskModels Portfolio Hedge Levels and ETF Hedge
riskmodels_analyze_portfolioCompute holdings-weighted L1, L2, and L3 hedge ratios and ETF hedge notionals for a long-only portfolio of up to 100 dollar positions.
Instructions
Use when you have a long-only book of up to 100 names and want its holdings-weighted L1, L2 and L3 hedge ratios, or the ETF hedge notionals for dollar positions. Not for books with shorts or more than 100 names (use riskmodels_portfolio_exposure) or a variance decomposition with return attribution (use riskmodels_get_portfolio_risk_snapshot). Returns, from POST /batch/analyze, portfolio hedge levels at L1, L2 and L3 with per-ticker detail. Only when every position is given in dollars does it also return the ETF hedge notionals at hedge_level (set by level, default L3), by ticker and summed by ETF; with weights, level is ignored. End-of-day data, refreshed after each US market close. Price: $0.015 per position, minimum $0.03 per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Hedge depth for the ETF notionals, used only when every position is in dollars, e.g. L2 (default L3) | |
| years | No | Lookback window in years, integer 1-30, e.g. 2 (default 1) | |
| positions | Yes | Long positions, each with weight or dollars, combined per ticker, e.g. [{"ticker":"AAPL","dollars":25000},{"ticker":"NVDA","dollars":15000}] |