get_stock_beta
Calculate a stock's beta coefficient, market correlation, and annualized volatility for risk-adjusted valuation and asset allocation.
Instructions
計算個股的 Beta 係數(相對大盤的系統性風險)、與大盤的相關係數、年化波動度。用於風險調整評價與資產配置。Beta > 1 表示比大盤更敏感。
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": {
"code": "<code>"
},
"name": "get_stock_beta"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | 股票代號,例如 2330、NVDA | |
| market | No | 市場 TW 或 US,預設 TW | |
| windowDays | No | 計算窗口天數,預設 252(1 年) |