get_portfolio_concentration
Calculates Herfindahl index and top N holdings percentage to assess portfolio concentration risk, with alerts for excessive single-stock exposure.
Instructions
分析目前投資組合的集中度風險,回傳 Herfindahl 指數、前 N 大部位佔比、集中度警示與建議(例如單一股票占比過高)。資料來自使用者實際持股,以台幣計價。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_portfolio_concentration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topN | No | 前 N 大部位要呈現(1-20,預設 5) |