market_regime
Determine current market regime (trend direction and volatility) for a symbol, revealing allowed trade directions and recent regime shifts.
Instructions
Current market regime (trend up/down/chop + volatility) for an anchor symbol.
The same classification that regime_filter applies bar-by-bar inside the bracket backtests: EMA50/EMA200 ratio with a dead-band for trend, ATR% vs its own past median for volatility. Reports which trade directions the gate currently allows, recent regime transitions, and a 30-bar trend histogram.
Args: symbol: Binance pair to classify (default BTCUSDT — the market leader) interval: Timeframe for the regime read (default 4h) days: History window, 1-730 (default 180; needs enough for EMA200 warmup)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| symbol | No | BTCUSDT | |
| interval | No | 4h |