Quantitative Methodology & Mathematical Rigor

Predict-A-Trade eliminates emotional speculation and curve-fitting through 45 deterministic risk gates, combinatorial cross-validation, live-friction simulation, and out-of-sample statistical proofs across 826 eligible assets.

Inspect Published 36M Live-Friction Backtest Report →

The 12-Layer Quantitative Validation Funnel

Before any quantitative strategy combination is promoted to production, it must survive all 12 rigorous statistical hurdles. A failure at any single layer immediately quarantines the model.

Layer 1

Data Hygiene & Tick Cleansing

Outlier rejection, timestamp monotonicity, quote gap interpolation, and bid/ask bounce elimination.

Layer 2

Stationary Feature Engineering

Fractionally differentiated price series, normalized volatility (Garman-Klass, Parkinson), volume order flow imbalances.

Layer 3

Combinatorial Purged CV (CPCV)

16-block CPCV generating 12,870 training/testing splits with embargoing to completely eliminate lookahead bias.

Layer 4

Deflated Sharpe Ratio (DSR)

Adjusts nominal Sharpe ratio for multiple testing trials, skewness, and kurtosis. Must exceed 95% significance.

Layer 5

Probability of Overfitting (PBO)

Bailey-Borwein-López de Prado PBO test. Combinations with PBO ≥ 0.30 are unconditionally rejected.

Layer 6

Stationary Block Bootstrap

10,000-path Monte Carlo bootstrap to test robustness across alternative historical paths and regime shifts.

Layer 7

Transaction Cost Modeling (TCA)

Simulated with broker-specific tick spreads, square-root market impact, slippage, and Wednesday 3-day swap rollover.

Layer 8

Parameter Sensitivity Analysis

Requires stable parameter plateaus. Sharp performance spikes indicative of curve-fitting are failed.

Layer 9

Correlation & Multicollinearity

Pairwise correlation matrix check ensuring candidate strategy offers orthogonal alpha to existing active models.

Layer 10

Forward Walk Testing (Out-of-Sample)

6 months of untouched out-of-sample forward testing verifying zero degradation against backtest expectancy.

Layer 11

Live Micro-Lot Incubation

Minimum 30 executed live trades on real reference broker accounts verifying actual latency and fill quality.

Layer 12

Continuous Drift Governance

Automated live tracking: Profit Factor floor ≥ 1.00 and win rate within 95% Wilson confidence intervals.

5-State MarketRegime Classification & SMC Structure Model

Rather than a naive 3-state uptrend/downtrend/sideways label, PAT's Rust engine evaluates five active market regimes (plus warmup Unknown) in strict volatility-first precedence, guarded by an ADX 20–25 dead-zone and 3-bar confirmation hysteresis so single-candle noise never whipsaws regime state.

Priority 1 · Volatility

Compressing

Squeeze active: BBW ≤ KCW (Bollinger Bands inside Keltner Channels). Signals pre-breakout energy buildup rather than generic chop.

Priority 2 · Volatility

Expanding

BBW > KCW and ATR > 80th percentile. Volatility expansion regime prioritized over directional trend labels.

Priority 3 · Trend

TrendingBullish

ADX ≥ 25.0 and EMA50 slope > 0.0, paired with H1 + H4 bullish macro alignment and close > EMA200.

Priority 3 · Trend

TrendingBearish

ADX ≥ 25.0 and EMA50 slope ≤ 0.0, paired with H1 + H4 bearish macro alignment and close < EMA200.

Priority 4 · Range

Ranging

ADX < 20.0 and BBW below its 50th percentile. Horizontal balance bounded by VWAP ± 2.5σ or Volume Profile VAL/VAH.

ADX 20–25 Dead-Zone & 3-Bar Hysteresis

When 20.0 ≤ ADX < 25.0, the classifier holds current_regime to eliminate mid-band churn. Any new candidate state must confirm for 3 consecutive closed bars before replacing the active regime.

Hierarchical H1 + H4 Macro Alignment

Execution-timeframe signals (M5/M15/H1) require higher-timeframe H1 + H4 EMA20/EMA50 macro confluence. If both H1 and H4 flip against an underwater trade, ADVERSE_TREND_EARLY_CUT closes it early at −0.65R.

SMC Structure: BOS vs. CHoCH vs. Liquidity Sweeps

BOS requires a body close beyond a prior swing in trend direction (continuation); CHoCH marks the first opposing structural break (transition); a Liquidity Sweep (wick ≥ 0.10× ATR closing back inside) is flagged as a trap, not a trend leg.

Deterministic 45-Gate Fail-Closed Firewall (18 Platform · 21 Account · 6 Local EA)

Every potential trade signal must pass all 18 platform gates, 21 account-level gates, and 6 local EA checks before execution. Any hazard (widened spread, hostile breaking news, daily 4.5% / peak 10.0% drawdown halt, or stale spec) vetoes the signal fail-closed.

✓PGT-07/AGT-17 All-In Spread & ECN Friction Cap (≤0.12–0.15× SL)
✓PGT-01–PGT-04 Closed-Bar, Fresh Feed & Venue Open Verification
✓AGT-16 Floating Daily Loss Circuit Breaker (≤4.50%)
✓AGT-17 Peak High-Water Drawdown Halt (≤10.00%)
✓AGT-08 Server Sizing Ceiling (≤0.90% / EA EGT-03 ≤1.00%)
✓AGT-10/AGT-11 Portfolio Open Risk (≤5.00%) & 5+2 Slot Concurrency
✓AGT-18 Conditional Min-Lot Flex Guard (≤1.25% Strict Lock)
✓PGT-13/PGT-14 Net EV Hurdle (≥0.15R) & Order Book Confirmation
✓AGT-13/AGT-14 Correlated Group & Currency Exposure (≤2.50%)
✓AGT-19 Wednesday Triple-Swap Shield & Profit Ratchet
✓PGT-06 Hostile Breaking News Veto & Calendar Blackout
✓EGT-01–EGT-06 Signed 60s Envelope, Deviation & Stop Verification

Exact-Decimal Mathematics & No Floating-Point Slop

In financial computation, IEEE 754 floating-point numbers introduce subcent rounding errors that accumulate into catastrophic tracking errors. Predict-A-Trade operates exclusively on exact fixed-precision decimal arithmetic with strict integer pip representation across all services and execution bridges.