Strategies
Hyperliquid Cross-Sectional Funding-Carry, Market-Neutral Basket (Long the Most-Negative-Funding Perps, Short the Most-Positive-Funding Perps, Weekly Rebalance, Daily Bars, Low-Turnover)
Outcome: Abandoned
HyperliquidCrossSectionalFundingCarryNeutralLS
Outcome Summary
Hypothesis
Strategy liquidated to -100% (max_drawdown 100%, liquidation 2024-12-02). The advertised dollar-neutral construction is not neutral: it swung -49%/-56% in consecutive weeks then +73%, and avg holding is 31 days despite a weekly rebalance because legs are never resized after drift, so concentrated directional exposure accumulates until a regime wipes the account — compounded by the degraded single-leg path taking full directional bets instead of standing aside. Full-period edge is also negative (PF 0.86, avg_trade_return_pct -2.34%, Sharpe -0.57, IR -1.13), so the funding residual never clears; the P&L is uncontrolled price risk, not carry. Optimizing the 4 tunables cannot fix a liquidation or manufacture a neutral edge. Failure pattern: neutral-book-not-neutral / concentrated-directional blowup (risk_reject + no_edge).
Implementation
Verification Results
Verification failed (Layer 3 — sandbox backtest): No trades produced Bar type used: BTCUSD.HYPERLIQUID-1-DAY-LAST-EXTERNAL, Bars processed: 364 Diagnostics: should_enter() returned a side 0 times over 340 evaluated bars -> your ENTRY CONDITION never triggered. Loosen the entry logic / thresholds. Ensure your strategy produces trades with the given data and parameters.
Analyst: judge this ONLY on the real backtest (full 3-long/3-short dollar-neutral book), never on the Layer-3 sandbox. Confirm the real run shows near-zero net beta and a populated 6-name rotating book; if it instead comes back single-leg/directional, escalate — but the source path confirms per-leg funding IS supplied downstream.
SANDBOX METRICS ARE UNREPRESENTATIVE — the analyst must disregard them. I verified the developer's pipeline diagnosis IN SOURCE: (a) the Layer-3 sandbox uses the inline supp path (subprocess_entry._resolve_supp line 73), which calls _add_per_leg_open_interest and adds ONLY open_interest_by_instrument — it never adds per-leg funding, so exactly ONE leg (primary BTC) has a funding series and the degraded single-leg fallback fires; (b) the real BACKTESTING/OPTIMIZING stages go through supp_spec -> supp_collector.load_for_subprocess -> _load_supp_with_per_leg_funding (line 460), which on-demand-collects and builds funding_rates_by_instrument for ALL 10 HL legs (HL funding is in the funding_rates DB table, exchange='hyperliquid'). CONSEQUENCE: the sandbox ran a directional single-name BTC funding-sign bet, NOT the hypothesized market-neutral book — which is exactly why avg_position_pct is 92.95%, beta -0.32, benchmark_correlation -0.65, only 5 trades, 65-day holds, and avg_trade_return_pct 11.69%. None of those numbers describe the real strategy.
Analyst/optimizer: treat this as a thin-carry + unstable-price-draw strategy on a 2.2yr sample. The 14d-lookback Sharpe 1.43 vs 7d/28d ~0.1 is a strong overfitting signal — walk-forward across the funding lookback is the decisive test. Do not credit the +124% headline as funding alpha.
EDGE ATTRIBUTION — the hypothesized edge (funding carry) is only ~10% of the PnL. The developer's own full-book decomposition (honestly surfaced as the key decision input): over the HL funding era 2024-06..2026-08 the book returns +124.6% / Sharpe 1.427 at leverage 2, but funding contributes only +14.2 points against +119.2 from PRICE DRIFT on the funding-ranked names, and the price component is unstable across the funding lookback (Sharpe 0.09 at 7d, 1.43 at 14d, 0.19 at 28d — a classic lookback-sensitivity red flag). Durable carry is ~1.5-2.5%/yr. So the strategy as it actually performs is mostly a cross-sectional PRICE bet selected by funding rank, on a short ~2.2-year effective sample, not the funding-carry cash flow the hypothesis claims. It dodges L52 by ranking on funding not returns, but the realized return is still dominated by price drift.
Optimizer/analyst: enforce the standard IS/OOS deflation here; the funding-lookback cliff (0.09/1.43/0.19) means a best-of-N pick at 14d is the prime overfitting risk.
NOT zero-parameter (unlike the composite siblings): this has 4 tunables (names_per_sleeve, funding_lookback_days, rebalance_days, vol_lookback_days) plus gross_exposure, all bounded and mirrored in _param_bounds. That is a real, non-empty search space, so the deflated-Sharpe best-of-N bar does NOT collapse here — the DSR gate applies in full. Combined with the lookback-sensitivity above, the optimizer can easily select the 14d sweet spot by luck.
Optional live hardening: on restart, rebuild self._targets from the current open positions (or force a rebalance on the first bar) so a crash-restart does not leave the book flat for up to a week. Harmless in backtest.
Restart resilience (live-only, not a backtest issue): on restart self._targets is empty until the next CALENDAR rebalance day. Until then the primary should_exit returns True (target=0) and _reconcile_extras exits every leg (target 0 != current side), so a mid-week restart FLATTENS the entire book and it stays flat for up to rebalance_days (7) before rebuilding on the next anchored rebalance. The calendar anchoring itself is correct and restart-safe (schedule derives from bar.ts_event, not an uptime counter), but the book does not reconstruct its held positions from the cache on restart.
Backtest Review
- Sharpe
- -0.57
- Total return
- -100.00%
- Max drawdown
- 100.00%
- Trades
- 104
- Win rate
- 47.1%
- Profit factor
- 0.86
Fills genuinely under-represented buckets (Hyperliquid venue, long_short, multi-instrument) and funding is now credited by the engine, so the mechanism is legitimately testable
Well-populated data (2179 daily bars, 81,448 funding events) and a small, non-momentum parameter set
LIQUIDATED to zero: total_return -100%, max_drawdown 100%, liquidation_date 2024-12-02 — an unrecoverable wipeout, not a marginal-edge issue
The 'dollar-neutral' book is not neutral: consecutive weekly returns of -49.3% and -56.3% (Nov 2024) and +72.7% (Dec 2024) are directional-bet magnitudes, impossible for a truly hedged basket
avg_holding_period is 31 days despite a weekly rebalance, because legs are never resized after drift — concentrated, unbalanced exposure accumulates until a regime kills it; the degraded single-leg path also takes full directional bets instead of standing aside
Negative edge even ignoring the blowup: profit_factor 0.86 (<1.0), avg_trade_return_pct -2.34%, Sharpe -0.57, information_ratio -1.13 — the funding residual does not clear on 10 correlated majors
L19: max_drawdown 100% is a hard abandon at backtest review; iterating catastrophic-DD strategies has never recovered them
Outcome Summary
A dollar-neutral funding-carry basket is only neutral if legs are continuously resized to stay balanced — without re-hedging after drift, and with a degraded path that takes full directional bets instead of standing aside, a 'market-neutral' book accumulates concentrated directional exposure that a single adverse regime can liquidate, and on ~10 correlated majors the funding residual is too small to clear against that uncontrolled price risk anyway.
The analyst abandoned it at backtest review because it liquidated to -100% (a hard, non-recoverable abandon under L19), and the advertised neutrality was illusory: legs were never resized after drift, so concentrated directional exposure accumulated until a regime wiped the account, compounded by the degraded single-leg path taking full directional bets instead of standing aside; even ignoring the blowup the edge was negative (PF 0.86, avg trade -2.34%, Sharpe -0.57), so the funding residual never cleared on 10 correlated majors and the P&L was uncontrolled price risk rather than carry — nothing the 4 tunables could fix.
A long-short, market-neutral, multi-instrument strategy on ~10 liquid Hyperliquid perpetuals (daily bars) that harvested the funding rate as a cash flow via a non-momentum cross-sectional selection edge — each week ranking the universe by trailing average funding, going long an inverse-vol-weighted sleeve of the most-negative funders (paid to be long) and short an equal-notional sleeve of the most-positive funders (paid to be short), dollar-neutral to hedge crypto beta and collect the funding differential on both legs, deliberately filling under-represented Hyperliquid/long-short/multi-instrument buckets.
The backtest (2179 daily bars, 81,448 funding events, 2020-2026) was a catastrophic wipeout: the account LIQUIDATED to zero on 2024-12-02 with total_return -100% and max_drawdown 100%, Sharpe -0.57 (sharpe_ci_low -1.31), profit factor 0.86, avg_trade_return_pct -2.34%, information ratio -1.13, and negative alpha (-0.245) with kurtosis 240. The supposedly dollar-neutral book swung -49.3% and -56.3% in consecutive weeks (Nov 2024) and +72.7% (Dec 2024) — directional-bet magnitudes — with a 31-day average holding period despite the weekly rebalance.
Backtest and paper results are hypothetical. Trading involves risk of loss.