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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>"
},
"name": "analyze_market_regimes"
}
}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 | |||