Every trade decision passes through five independent safeguard layers before execution. Any layer can halt trading. No single point of failure.
SG-1 // DRAWDOWN CIRCUIT BREAKER
Loss Ceiling
If daily portfolio drawdown exceeds the configured threshold (default 2%), all trading halts immediately. No exceptions. Position is held, not liquidated.
● ACTIVE
SG-2 // EARNINGS BLACKOUT
Event Risk Shield
Detects earnings windows, Fed announcements, and high-impact economic events. DIANA goes dark during these windows — no new positions, no exposure to event risk.
● ACTIVE
SG-3 // API DATA INTEGRITY
Data Freshness Guard
Market data must be verified fresh within 30 seconds. Stale data, broken feeds, or API latency above threshold triggers immediate trading halt. Never trade on bad data.
● ACTIVE
SG-4 // BLACK SWAN DETECTOR
Volatility Anomaly Shield
Monitors VIX and cross-market correlation in real time. When volatility anomaly conditions are detected (VIX > 40, flash crash patterns), DIANA exits all positions and halts.
● ACTIVE
SG-5 // ORDER INTEGRITY GUARD
Position Size Enforcer
No single order can exceed 10% of available portfolio balance. Validates order size, price limits, and account balance before any execution. Duplicate order prevention built in.
● ACTIVE