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).
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 | |||