correlation_matrix
Compute pairwise correlation matrix for a set of assets to identify highly correlated pairs and uncover diversification opportunities.
Instructions
Compute the pairwise correlation matrix for a set of assets. Identifies highly correlated pairs and diversification opportunities.
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": {
"tickers": "<tickers>"
},
"name": "correlation_matrix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tickers | Yes | Tickers to include in the correlation matrix. Minimum 2, maximum 50. Free tier: max 10 tickers. Paid tier: up to 50. | |
| lookback_days | No | Historical window for computing correlations in trading days. 30 = ~6 weeks, 252 = ~1 year. Range: 30-1260. Default: 252. | |
| method | No | Correlation method. "pearson" = linear correlation (standard), "spearman" = rank-based (robust to outliers), "kendall" = concordance-based. Default: "pearson". | pearson |