analyze_market_regimes
Identify market regimes for any stock using machine learning methods like HMM, K-means, or threshold analysis. Choose number of regimes and lookback period for custom detection.
Instructions
Analyze market regimes for a stock using ML methods.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Stock symbol to analyze | |
| start_date | No | Start date for analysis | |
| end_date | No | End date for analysis | |
| method | No | Detection method (hmm, kmeans, threshold) | hmm |
| n_regimes | No | Number of regimes to detect | |
| lookback_period | No | Lookback period for regime detection |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||