portfolio_portfolio_correlation_analysis
Calculates correlation matrix for stocks to identify diversification issues, natural hedges, and concentration risk. Analyzes portfolio holdings when no tickers specified.
Instructions
Analyze correlation between multiple securities.
DISCLAIMER: This correlation analysis is for educational purposes only. Past correlations do not guarantee future relationships between securities. Always diversify appropriately and consult with financial professionals.
This tool calculates the correlation matrix for a portfolio of stocks, helping to identify:
Highly correlated positions (diversification issues)
Negative correlations (natural hedges)
Overall portfolio correlation metrics
Portfolio Integration: If no tickers are provided, automatically analyzes correlation between all positions in your portfolio, helping you understand diversification and identify concentration risk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tickers | No | List of ticker symbols to analyze. If None, uses portfolio holdings. | |
| days | No | Number of days for correlation calculation (default: 252 for 1 year) | |
| user_id | No | User identifier (defaults to "default") | default |
| portfolio_name | No | Portfolio name (defaults to "My Portfolio") | My Portfolio |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||