compute_correlations
Compute pairwise correlations and annualized volatility for 2-20 tickers over a chosen timeframe. Get the correlation matrix, per-asset volatility, and top correlated pairs.
Instructions
Pairwise correlation matrix + annualized volatility from daily returns over a window. Pass 2-20 tickers and a timeframe ('1W'/'1M'/'3M'/'6M'/'1Y'/'2Y'/'5Y'/'ALL', default '1Y'). Returns the matrix, per-asset annualized vol, and the top-correlated pairs. Lighter than analyze_quantitative when you just want raw pairwise structure without a factor model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tickers | Yes | 2-20 tickers (e.g. ['AAPL', 'MSFT', 'NVDA', 'GOOGL']) | |
| timeframe | No | Window: '1W' / '1M' / '3M' / '6M' / '1Y' / '2Y' / '5Y' / 'ALL' | 1Y |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |