get_stock_correlation
Compute the Pearson correlation matrix for multiple stock symbols over a configurable period. Analyze pairwise relationships to identify co-movements.
Instructions
計算多檔股票之間的相關性矩陣(Pearson 相關係數)
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": {
"stocks": "<stocks>"
},
"name": "get_stock_correlation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stocks | Yes | 股票代號(逗號分隔),例如 2330,2454,2317 | |
| days | No | 計算天數,預設 60 |