correlation_matrix
Compute pairwise correlations between assets to assess portfolio diversification. Identify which assets move together or apart using Pearson correlation.
Instructions
Compute correlation matrix between multiple assets.
Returns pairwise Pearson correlations. Useful for portfolio diversification analysis — lower correlations = better diversification. Correlations near 1 = assets move together (less diversification benefit).
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": {
"symbols": "<symbols>"
},
"name": "correlation_matrix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Period: 3mo, 6mo, 1y, 2y | 6mo |
| symbols | Yes | Comma-separated tickers (e.g., 'AAPL,MSFT,GOOGL,SPY') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||