Breadth Collapse
Last verified
Auto-generated. This article is rebuilt from
app/signals/config/alert_thresholds.jsonbyscripts/build_alerts_kb.py. Edit the alert config and re-run the script β do not edit this file directly.
Breadth Collapse
Alert ID: BREADTH_COLLAPSE
Category: breadth
Cross-detection: no
Severity
CRITICAL β immediate attention; extreme stress or crash setup
Trigger condition
{
"field": "pct_above_50sma",
"op": "lt",
"value": 20,
"_registry_band_intentional": true,
"_intentional_reason": "Beyond-worst-band extreme: registry's worst breadth band starts at 30 (Weak); 20 represents collapse-tier severity not modeled by bands."
}
pct_above_50sma < 20
Message template
Just {pct_above_50sma:.0f}% above 50d SMA β breadth collapse, broad selling.
Rendered with the current signals dict via Python str.format. Placeholders that fail to resolve fall back to the raw template (see _format_message in app/signals/alerts.py).
Cooldown / dedup
- Cooldown: none. Re-evaluation on every cycle.
- Dedup: at most one
active(oracknowledged) row peralert_idat a time. Re-firing while active updatesfired_atand the message but keeps the originalfirst_fired_at.
Notifies
- Active alert feed (
/api/v1/alerts/active,/alerts/summary). - SSE stream (
/api/v1/agents/stream) for real-time consumers. alert_firedwebhook on first fire (critical-tier).alert_escalatedwebhook (critical-only).alert_resolvedwebhook when the condition clears (non-cross-detection alerts only).
See also
- Signal fields referenced:
pct_above_50sma(see the signals reference). - Alert reference
- Live alerts feed