Factor / concentration decomposition (capital weight vs risk)
factor_decompositionUSE WHEN you suspect a capital-diversified portfolio hides one dominant risk factor. A portfolio can be capital-diversified while its RISK is dominated by one factor. Returns the Euler risk contribution of each holding (RC_i = w_i*(Sigmaw)_i / w'Sigmaw, summing to 1) beside the capital weights, from the empirical covariance of real returns. Proxies: SPY=equity beta, TLT=duration, GOLD=real asset, BTC=crypto. E.g. a 60/40 is ~83% equity risk, a 50/50 SPY/BTC ~86% BTC risk. Descriptive, not advisory.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"holdings": "<holdings>"
},
"name": "factor_decomposition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| holdings | Yes | Portfolio legs: list of {asset, weight} objects, e.g. [{'asset': 'SPY', 'weight': 0.6}, {'asset': 'TLT', 'weight': 0.4}]. Assets: SPY, TLT, GOLD, BTC or CASH (aliases GLD, BTC-USD). Weights are normalised to sum to 1 and MAY be negative here (a net short leg); at most 50 legs, no duplicates. Each substrate asset proxies a factor (SPY=equity beta, TLT=duration, GOLD=real asset, BTC=crypto). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |