Every signal passes through feature extraction, model inference, AI evaluation, and 30+ sequential risk gates before an order reaches the exchange. 92.6% of all signals are blocked.
Each stage has explicit pass/fail criteria. A signal must survive all 10 stages to become an order on the exchange.
CME E-mini S&P 500 futures tick stream via Rithmic. Sierra Chart DLL writes tick CSV (price, bid/ask volume) and DOM snapshots (10 levels each side) at ~20ms resolution.
54 tick-level features computed on every tick: returns, volatility, momentum, microstructure, DOM imbalance, time dynamics, session context. Plus PSO oscillator and 11 bar-level TA features from 1-minute aggregation.
Three independent models vote: F1 LSTM (tick patterns, 1x vote), F2 LightGBM (54 features, 2x vote), ONNX 1m (bar patterns, 1x vote). Weighted ensemble requires minimum 25% agreement (RTH) or 40% (ETH).
Regime detection classifies market state. Trade quality scorer rates the signal. Kelly criterion sizes the position. AI confidence score combines all factors. Must exceed 0.20 threshold to proceed.
30+ sequential filters: rate limits, anti-hammer, chop cooldown, edge detection, calendar blackouts, session budgets, spread filters, volatility gates. Any single failure blocks the trade. 92.6% of signals die here.
Oscillator Power determines alignment tier: TURBO (2x), BOOST (1.5x), NORMAL (1x), or CONTRA (0.5x). Final size = Kelly x PSO multiplier x streak adjustment. 3+ losses forces single lot.
If flat: new entry with OCO bracket. If holding same direction: pyramid add with ratcheting stops. Orders written to CSV, DLL submits to CME exchange. Fill confirmation written back to Python bridge.
Exchange-managed OCO: hard stop + profit target. R-multiple trailing activates at +6 ticks, with breakeven at R=0.6. Pyramid tiers add lots at 3t, 6t, 10t, 15t with progressive profit locks.
Evaluated every tick while in position. R-multiple rules, momentum fade detection, profit drawdown limits, time exits, runner mode for strong moves, and signal reversal flat triggers.
Record result (Sierra EXIT line is P&L authority). Update Kelly sizer, regime win-rates, ensemble statistics, session loss accumulator. Apply post-exit cooldown (30-60s by session). Wait for next tick.
The gate stack is deliberately aggressive. It's cheaper to miss a good trade than to take a bad one. Each gate was added to fix a specific failure mode.