detect_regime_hmm
Identify current market regime (bull, bear, choppy, crisis) using Hidden Markov Model on daily returns, providing probabilities and transition data.
Instructions
Detect market regime using Hidden Markov Model on real daily returns: bull_trending, bear_trending, choppy, or crisis. Returns regime probability, days in current regime, transition probabilities, vol regime, and Sharpe. Uses hmmlearn if available, statistical fallback otherwise. Real Polygon data only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "detect_regime_hmm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | Symbol to analyze (use SPY for broad market regime) | SPY |
| lookback_days | No |