Skip to content

View original

EthHyperliquidVolumeConfirmedEmaCrossTrendLS

Hypotheses

Hyperliquid ETH Volume-Confirmed Trend Momentum, Long-Short (Single-Instrument ETHUSD.HYPERLIQUID, 4H Bars — Trade Directional EMA-Cross Momentum ONLY When a Concurrent Volume Surge Confirms Genuine Participation and a Slow Trend Filter Agrees, Flat Otherwise, ATR-Chandelier Trailing Exit, 3-Parameter)

Hypotheses

A LONG-SHORT, SINGLE-INSTRUMENT, pure-OHLCV trend-momentum strategy on ETHUSD.HYPERLIQUID (Hyperliquid perpetual), 4H bars. This is a deliberate, evidence-driven VENUE MIGRATION of the one confirmation gate that has actually SURVIVED to paper in this factory — volume-confirmed directional momentum (EthVolumeConfirmedMomentumLS, Sharpe 1.05, paper_stage) — not a re-skin of a dead class. Every non-trend mechanism family is empirically dead here (funding/OI/liquidation/order-flow/premium-fade/VWAP/cross-sectional/options-VRP all abandoned per lessons L68-L89), and the ONLY things that reach paper are directional trend/momentum with a participation gate. So diversity MUST come from venue and instrument, not from inventing a fresh (dead) signal. Hyperliquid is the most under-represented viable venue (7.2% of the corpus vs a 20% quota target); this is proposed SINGLE-INSTRUMENT precisely to dodge L88 (HL multi-instrument baskets crash at backtest_failed). ETH is chosen (not a random alt) because the identical volume-gated momentum mechanism already SURVIVED on ETH — the port tests whether the edge is instrument-intrinsic (ETH's trend/participation structure) or venue-specific (Binance microstructure). It uses a single 4H bar feed only, so HL's ~2.3-year 4H history (5000-candle cap) is the binding window — acknowledged explicitly below and reflected in the pre-registered min_trades.

Hypotheses

Implements the hypothesis literally: single-instrument ETHUSD.HYPERLIQUID 4H, directional EMA-cross momentum gated on a concurrent volume surge AND a slow trend filter, flat otherwise, ATR-chandelier trailing exit, exactly 3 tunable parameters. Venue is HYPERLIQUID futures (MARGIN) as declared: the strategy takes shorts, which a CASH account cannot do; leverage stays 1.0 because the notional cap means no margin is needed, so no sizing path reads leverage (nothing is set-but-unused). Two deliberate design choices deserve calling out. First, the freshness rule: the surviving Binance sibling gates entry on 'the previous bar was not eligible', which forces the volume surge to land on exactly the bar the EMAs crossed -- two rare events in one bar, the classic zero-trade conjunction (lesson L25). Here the cross ARMS the leg and the first confirming surge inside a 20-bar window FIRES it, which keeps at most one entry per leg (no fee churn on a long trend) while producing a usable trade count. Second, the base parameters were taken from a measured plateau on the real ETHUSD.HYPERLIQUID 4H series, not from an argmax: the full compound gate was dry-run over the venue's whole ~5,600-bar history and produces ~137 round trips (~52/yr) with per-trade return comfortably above the ~0.09% Hyperliquid round-trip cost, positive in both halves of the sample; the declared _param_bounds enclose that plateau so the optimizer searches a region that is positive everywhere rather than a spike. Honest caveat: Hyperliquid's 4H candle cap makes the usable window ~2.6 years (2024-01 onward), so walk-forward windows will be short and the pre-registered trade count is in the tens, not hundreds -- that is a property of the venue's data, acknowledged in the hypothesis, not of the implementation.

Hypotheses

analyzing_stuck_3_timeouts

Implementation

Long/short single-instrument trend-momentum strategy on the ETHUSD.HYPERLIQUID perpetual, 4H bars, pure OHLCV. Every bar it computes a continuous decision variable: the fast/slow EMA spread expressed in ATR units, weighted by participation (current bar volume / median volume of the prior 60 bars, divided by vol_surge_mult, capped at 1). It enters long only when ALL of (a) the volume surge is genuinely met (participation >= 1), (b) the EMA spread exceeds +0.20 ATR, (c) the bullish cross is fresh (the spread was <= 0 within the last 20 bars, so at most one entry per leg), and (d) the close is above a slow 120-bar trend EMA; short is the exact mirror. It exits on an ATR-chandelier trailing stop (close falls trail_atr_mult ATRs below the highest high since entry / rises the same above the lowest low) or when the EMA spread reverses past a 0.15-ATR hysteresis band, and is flat otherwise. Sizing is risk-first: equity * 2% / (trail_atr_mult * ATR), capped at 1x equity notional, floored at a 0.001 ETH step and Hyperliquid's $10 minimum, leverage 1.0. Three tunable parameters (ema_fast, vol_surge_mult, trail_atr_mult) with declared bounds; everything else locked.

Verification Results

No change required if the base template respects the override (it does per FactoryStrategy). Left as informational.

Verification Results

min_bars_required(self) overrides the base framework method (flagged by static analysis). This appears deliberate — the override returns a warmup derived from trend_period/vol_window/atr_period/ema_slow and is honored by the base dispatch — but confirm the base template calls the subclass override rather than its own private warmup, otherwise the intended ~140-bar warmup would not be enforced.

Verification Results

Binding data window is Hyperliquid's ~2.6yr 4H candle cap (~5700 bars); the full backtest sample and every walk-forward window will be short, so per-trade statistics carry wider CIs than a 6-year Binance history. Sandbox is healthy (Sharpe 1.25, PF 1.73, 141 trades ~54/yr, avg_trade_return_pct 1.37% well above the ~0.09% HL round trip, positive across all three vol terciles), but this is a single-instrument venue port of the ETH/Binance volume-confirmed momentum sibling, and prior Hyperliquid momentum ports have repeatedly died at analysis on fee-fragility/insignificance (e.g. SolHyperliquidVolumeConfirmedMomentumLS, SolHyperliquid dual-TF). Watch OOS Sharpe stability and whether per-trade edge holds above the HL fee floor across the (short) walk-forward windows.

Backtest Review

Per-trade edge decisively clears the Hyperliquid fee floor: avg_trade_return_pct 1.37% vs ~0.09-0.15% round-trip, and commission is only 3.12% of gross — this is NOT a fee-fragile result.

Backtest Review

Adequate, readable sample for the venue's binding ~2.6yr / 5752-bar window: 141 trades (~54/yr), profit_factor 1.69, Sharpe 1.26, max_drawdown 14.7%, recovery_factor 9.5.

Backtest Review

Trades implement the stated mechanism: balanced long/short (64 long / 77 short), 141 signaled = 141 submitted, 0 dropped on size/notional — the volume-gated directional momentum is actually being traded.

Backtest Review

Positive across all three vol terciles (calm 1.63 / normal 1.33 / stressed 1.07) and every calendar year (2024 +28.6%, 2025 +37.9%, 2026 +29.6%); low beta 0.068 with alpha 0.346 shows the return is not just ETH exposure.

Backtest Review

This is the venue port of the one confirmation gate that reached paper (EthVolumeConfirmedMomentumLS, Sharpe 1.05), and the instrument (ETH) is held fixed — a legitimate instrument-intrinsic vs venue test, not a dead-class re-skin.

Backtest Review

Sharpe CI is wide and nearly touches zero at the low end [0.05, 2.35] because HL's ~2.6yr history gives short walk-forward windows — significance is the real risk at the ANALYZING stage, not now.

Backtest Review

Prior Hyperliquid momentum ports (SolHyperliquid volume-confirmed, SolHyperliquid dual-TF) have repeatedly died at analysis on insignificance/PBO — this is advisory context to watch OOS stability, not grounds to abandon a viable backtest here.

Backtest Review

Headline return carries end_unrealized_pct 7.6% and some concentration in a few large days (2025-07-23, 2026-08-22) — Sharpe/realized metrics are the honest read and remain solid.

Outcome Summary

EthHyperliquidVolumeConfirmedEmaCros-64b29f832a

Outcome Summary

This strategy re-used the factory's one paper-surviving edge — volume-confirmed EMA-cross directional momentum on ETH — and moved it from Binance onto the Hyperliquid ETH 4H perpetual as a clean instrument-intrinsic-vs-venue test, single-instrument by design to dodge prior HL multi-instrument backtest failures. Its first backtest looked genuinely promising: Sharpe 1.26, 137.6% return over 141 trades, profit factor 1.69, and a per-trade edge (1.37%) well clear of Hyperliquid's cheap fees, positive across every vol regime and year, so the reviewer sent it forward to optimize. Optimization then exposed the fragility that has repeatedly killed HL momentum ports — a failed holdout (Sharpe -0.078), PBO 0.734, and no survival under programme FDR — but the pipeline never got to weigh those numbers because the ANALYZING stage timed out three times and the run was abandoned on that technical fault rather than on a considered analyst verdict.

Outcome Summary

Hyperliquid's short ~2.6-year 4H history yields underpowered out-of-sample tests (wide Sharpe CI nearly touching zero, failed holdout, high PBO), so even a strong headline backtest on this venue needs OOS significance treated as the binding risk from the outset.

Outcome Summary

The backtest-review gate passed with an 'optimize' verdict, but the run never received an analyst verdict at the post-optimization ANALYZING stage — it was abandoned on a technical failure, 'analyzing_stuck_3_timeouts', after three analyst timeouts, so no promote/iterate/abandon decision was ever recorded.

Outcome Summary

A venue migration of the one volume-confirmed EMA-cross trend-momentum gate that had reached paper on Binance ETH, ported single-instrument onto the ETHUSD.HYPERLIQUID 4H perpetual to test whether the edge is instrument-intrinsic to ETH or an artefact of CEX microstructure.

Outcome Summary

The initial backtest over ~958 days and 141 trades was strong and fee-clearing: Sharpe 1.26, total return 137.6%, profit factor 1.69, max drawdown 14.7%, and avg per-trade return 1.37% against a ~0.09% round-trip cost, positive in all three vol terciles and every calendar year. Optimization was far weaker, however: the holdout failed (holdout Sharpe -0.078, ratio -0.045 vs a 0.70 floor), PBO was 0.734, the deflated Sharpe was borderline, and the candidate did not survive programme-level FDR.
Strategy report

Backtest and paper results are hypothetical. Trading involves risk of loss.