StratMarket PlatformUpdated: 2026-11-10

Quantitative Research Methodology & Backtest Integrity

Detailed guide to mathematical backtesting protocols, friction accounting, Walk-Forward Optimization, and statistical verification employed by Elvaris Capital.

The Four-Stage Quant Pipeline

Every strategy published on StratMarket by Elvaris Capital is created through a 4-stage empirical engineering pipeline:

  1. Generate (Hypothesis Codification): Strategies originate from quantifiable market microstructure hypotheses (e.g. liquidity pool sweeps, session volatility exhaustion, or order-flow imbalances). Rules are codetermined in strict deterministic code with zero subjective discretion.
  2. Backtest (Tick Historical Simulation): Tested against institutional tick-by-tick broker data feeds spanning 6,800 to 360,000 bars. Fixed transaction fees and realistic slippage are enforced on every trade execution.
  3. Improve (Walk-Forward Optimization): Parameters undergo rolling window testing across multiple historical regimes. Any parameter combination showing sensitivity cliffs is rejected.
  4. Validate (Blind Out-of-Sample & Monte Carlo): 30% of data is reserved as untouched blind out-of-sample data. Equity curves undergo 1,000 Monte Carlo trade reorderings to confirm maximum drawdown resilience.

Realistic Friction & Slippage Drag

Retail backtests often show unrealistic equity growth because they assume zero spread, zero commission, and instant fill at the signal price.

Elvaris Capital mandates realistic institutional friction modeling across all simulations: - Broker Commission: Fixed $2.50 per standard lot ($0.25 per mini lot) deducted on both entry and exit. - Spread & Slippage Drag: 1.0 to 1.5 pip fixed execution penalty applied on every market order and stop loss execution. - Execution Bar Gating: Trades execute strictly on the next bar's open price following confirmed candle close, eliminating intrabar look-ahead bias.

Walk-Forward Optimization (WFO)

To eliminate curve fitting, Elvaris employs rolling Walk-Forward Optimization: - In-Sample Optimization Window: 70% of historical data is used to optimize parameter distributions. - Out-of-Sample Test Window: 30% of consecutive forward data tests parameter durability. - Walk-Forward Efficiency (WFE): Strategies must demonstrate a WFE ratio greater than 60% (Out-of-Sample annualized return / In-Sample annualized return) to achieve production approval.

Monte Carlo Stress Testing

All strategies are subjected to 1,000-iteration Monte Carlo simulations using bootstrap resampling: - Simulates random trade sequences to assess path-dependency risks. - Calculates 95% and 99% confidence intervals for maximum closed drawdown. - Confirms that drawdown under extreme cluster-loss conditions does not breach sovereign single-digit limits.

Mathematical Performance Formulas

Sharpe Ratio (Annualized) ``` Sharpe = (Mean Return - Risk Free Rate) / Standard Deviation of Return × sqrt(252) ``` StratMarket strategies maintain annualized Sharpe ratios between 1.65 and 10.71.

Calmar Ratio ``` Calmar = Annualized Compound Return / Maximum Historical Drawdown ``` StratMarket champion Pine Script models achieve Calmar ratios between 14.33 and 27.75.

Profit Factor ``` Profit Factor = Sum of Gross Profits / Sum of Gross Losses ``` PS-02 US Afternoon Reversal delivers a 9.16 Profit Factor over 6,800 bars.