Strategies
XRP USD-M Intraday RSI(2) Mean-Reversion, Long-Short, Ranging-Regime Gated (BINANCE Perp, 15m Bars, Connors-Style Fade of Short-Term Oversold/Overbought Extremes Back to a Fast EMA, Single-Instrument, Pure OHLCV, 4-Parameter)
Outcome: Abandoned
XrpRsi2ReversionRangingGatedLS
Well-measured (755 trades over 6.5 years); clean 4-parameter pure-OHLCV construction with ADX regime gate and de-churn controls; no blow-up
Hypothesis
Implementation
Long/short Connors-style RSI(2) mean-reversion on XRPUSDT.BINANCE USD-M perp, now on 2-HOUR bars, pure OHLCV. It fades short-term extremes (RSI(2) <= rsi_extreme -> long, >= 100-rsi_extreme -> short) only in a ranging regime (Wilder ADX(14) < adx_threshold), exiting on reversion to a fast EMA(ema_period), a hard price stop-loss, or a max-hold time stop, with a minimum hold and re-entry cooldown to de-churn. Moving from 15-minute to 2-hour bars makes each reversion capture multiples larger relative to the fixed 0.10% round-trip fee while cutting trade count (and commission drag) roughly eight-fold; a fuller EMA(10) reversion target and a tighter 2% stop raise the average-win/average-loss ratio. All indicators are incremental (O(1) per bar). Single instrument, symmetric long/short, no leverage. 4 tuned parameters: rsi_period, rsi_extreme, ema_period, adx_threshold.
Verification Results
CLEAN RESTART 2026-09-04 — this run's verdict history and learning records were removed and it was restarted from verification. Its previous abandonment came from the pipeline, not from the market: the Layer-2 harness mis-bound @staticmethod helpers (fixed), QA issued terminal performance verdicts on an unoptimized smoke test (removed — QA now judges correctness only), and sandbox timeouts came from backtest-slot starvation (fixed). The hypothesis and the strategy code are unchanged. Verify the code on its merits; performance is decided later by the full backtest and the optimizer.
Backtest Review
- Sharpe
- -0.54
- Total return
- -40.57%
- Max drawdown
- 41.02%
- Trades
- 755
- Win rate
- 58.9%
- Profit factor
- 0.67
Well-measured (755 trades over 6.5 years); clean 4-parameter pure-OHLCV construction with ADX regime gate and de-churn controls; no blow-up
Incremental indicators (Layer-3 safe); distinct RSI(2) trigger and symbol from the pipeline siblings
Negative expectancy: PF 0.671, avg_trade_return_pct -0.290%, expectancy -$51.9/trade, total_return -40.6%, Sharpe -0.536 (CI [-1.27, 0.24])
Loses in all 7 years and every vol regime; RR inverted (avg_win $180 < avg_loss $385) — high win rate does not overcome loss asymmetry; the 2H timeframe change did not fix it
Fee drag (commission 11.5% of gross); max_drawdown 41% (CI to 68%); nearly all stress windows negative
L55 single-name fade/reversion family (0/174 survivors); third RSI/Bollinger/VWAP-fade variant to die identically this session
Iteration History
Verification failed (Layer 3 — sandbox backtest): smoke test exceeded the 300s wall-clock limit. This almost always means per-bar work that scales with history — e.g. rescanning the full funding/supplementary series, or rebuilding a list and calling min()/sorted() inside calculate_signal()/on_bar() on every bar. Precompute sorted timestamp arrays ONCE in __init__ and use bisect, or cache lookups keyed by timestamp, so per-bar cost is O(log n) not O(n).
Verification failed (Layer 4 — QA review): - NEGATIVE EDGE on a now-CLEAN backtest. The 2H move fixed fees/liquidation/metrics (like BNB's 1H move), and the trustworthy result proves no edge: total_return -40.57%, Sharpe -2.72 (CI -3.87 to -1.63, entirely <0), PF 0.662, avg_trade_return_pct -0.290% (worse than BNB's -0.185%). Fuller EMA(10) target didn't fix asymmetry (avg_win 178 << avg_loss 386). Commission now only 11.56%, so edge is NEGATIVE before fees. Not L17 bug (coherent win 0.588/PF 0.662/no liquidation), code correct. Per L6/checklist #7, block. - CREDIT: iter-3 changes correct, delivered diagnostic cleanliness. 2H + EMA(10) + 2% stop; RSI(2) polarity/ADX gate/EMA exit/de-churn/incremental indicators unchanged and correct. Clean backtest: no liquidation, coherent metrics (vol 6.99%, data_days 738), fees 11.56%. Block is purely that the trustworthy result reveals negative edge.
Backtest and paper results are hypothetical. Trading involves risk of loss.