portfolio_risk
Calculate annualized volatility, maximum drawdown, HHI concentration, and beta versus QQQ from portfolio holdings to assess risk exposure.
Instructions
计算组合年化波动率、最大回撤、HHI 集中度、相对 QQQ 的 beta。holdings 例: [{"ticker":"NVDA","weight":0.6}]
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": "portfolio_risk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| holdings | Yes | ||
| lookback_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |