Examples / Research
Which holding drives the risk in a tech-heavy portfolio?
Level 3 · ResearchPOST/v1/risk
What it answers
Decomposes portfolio volatility into the contribution of each holding, so you can see when a 20% position carries 40% of the risk.
Request
Input
POST /v1/risk{ "symbols": [ "AAPL", "MSFT", "NVDA", "TLT", "GLD" ], "weights": [ 0.25, 0.25, 0.2, 0.2, 0.1 ], "lookback_days": 252 }
Live output billed to your account
Response
Output 200 OK
{ "ok": true, "data": { "start": "2025-11-12", "end": "2026-11-12", "days": 252, "portfolio_value": null, "annual_volatility": 0.163, "annual_return": 0.049422, "sharpe": 0.377066, "max_drawdown": -0.124767, "value_at_risk": [ { "confidence": 0.95, "historical_var_1d": 0.016773, "historical_cvar_1d": 0.021284, "parametric_var_1d": 0.016889, "historical_var_10d_scaled": 0.05304 }, { "confidence": 0.99, "historical_var_1d": 0.024793, "historical_cvar_1d": 0.027742, "parametric_var_1d": 0.023887, "historical_var_10d_scaled": 0.078402 } ], "diversification_ratio": 1.675565, "holdings": [ { "symbol": "AAPL", "weight": 0.25, "annual_volatility": 0.248949, "risk_contribution": 0.032557, "risk_contribution_pct": 0.199733 }, { "symbol": "MSFT", "weight": 0.25, "annual_volatility": 0.339464, "risk_contribution": 0.0607, "risk_contribution_pct": 0.372394 }, { "symbol": "NVDA", "weight": 0.2, "annual_volatility": 0.388494, "risk_contribution": 0.052485, "risk_contribution_pct": 0.321993 }, { "symbol": "TLT", "weight": 0.2, "annual_volatility": 0.096837, "risk_contribution": 0.005058, "risk_contribution_pct": 0.031032 }, { "symbol": "GLD", "weight": 0.1, "annual_volatility": 0.289481, "risk_contribution": 0.0122, "risk_contribution_pct": 0.074848 } ], "worst_days": [ { "date": "2026-11-05", "return": -0.030054 }, { "date": "2026-06-05", "return": -0.026854 }, { "date": "2026-06-25", "return": -0.026317 }, { "date": "2026-11-10", "return": -0.023329 }, { "date": "2026-01-29", "return": -0.021831 } ], "benchmark": "SPY", "beta": 0.876089, "correlation": 0.738134 }, "meta": { "op": "risk", "units": 7, "cost_usd": 0.0, "billing": "internal", "free_call": false, "free_calls_left": 0, "balance_usd": 5.0, "ms": 4, "interval": "1day", "data_as_of": "2026-11-12", "partial_last_bar": false } }
How to read it
Compare weight with risk_contribution_pct. diversification_ratio above 1 shows how much the mix reduces risk against holding each asset alone.
Parameters and limits: Portfolio risk reference. Analytics, not advice.