finance_correlation
Correlation matrix + diversification: Pearson/Spearman of returns, CIs, portfolio risk — Offline correlation analysis for 2-20 assets. series= (required) NAME:v1,v2,...;NAME2:... oldest first (series of unequal length are aligned on their most recent values). type=prices (default, converted to period returns) or returns; method=pearson (default) or spearman; weights=NAME:pct,... or pct,pct (default equal); period=daily|weekly|monthly|crypto to annualize volatility. Returns the correlation matrix, every pair with 95% Fisher-z CI, significance and strength label, most/least correlated pair, average correlation, portfolio volatility, diversification ratio with verdict WELL_DIVERSIFIED/SOME_DIVERSIFICATION/CONCENTRATED_RISK, and each asset's volatility and risk contribution %. Price: $0.003 USDC (Base, via x402).
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": {
"series": "<series>"
},
"name": "finance_correlation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| series | Yes | SPY:100,101,103,102,105,107,106,109;QQQ:50,50.4,51.5,51.2,52.4,53.6,53,54.3;TLT:20,19.8,19.5,19.9,19.2,19,19.4,18.8 |