correlation_matrix
Compute pairwise Pearson correlations between assets to analyze portfolio diversification. Lower correlations indicate better diversification, while correlations near 1 show assets moving together.
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).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbols | Yes | Comma-separated tickers (e.g., 'AAPL,MSFT,GOOGL,SPY') | |
| period | No | Period: 3mo, 6mo, 1y, 2y | 6mo |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||