research: add Lighter vault-of-vaults backtests NB01-NB02 - #44
Conversation
Port the Hyperliquid vault-of-vaults research chain to the Lighter (ZK-rollup perps DEX) public-pool universe (synthetic chain 9998, 34 USDC pools): - 01-lighter-initial.ipynb — replicates the Hyperliquid overspent-fix release candidate (positive 180d-Sharpe gate, 0.875y age ramp, 20-pool basket, synchronous-cash cap) on Lighter. Completes without OutOfSimulatedBalance: 20.60% cumulative return, 22.12% CAGR, 0.70 Sharpe, -26.65% max drawdown, 1,985 trades. - 02-backtest-rebalancing-method-trials.ipynb — reruns all 31 catalogued rebalancing methods on the same Lighter universe. Best holdout Sharpe is 1.49 (NB101 age ramp + trend overlay) vs 3.81 on Hyperliquid; outlier-neutralising the top 5% of profitable days turns every method negative, so the whole Lighter result is tail-driven. Requires trade-executor PR #1572 with companion trading-strategy #241 and web3-ethereum-defi #1348 (all merged) for Lighter universe support. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Why does Lighter underperform Hyperliquid — weaker vaults, or something else?A first-pass, strategy-free comparison of the two raw vault populations (current metrics feed, same eligibility floors: peak TVL ≥ $7.5k, deposits open) says the raw Lighter pools are not weaker — their medians are slightly better:
Both populations are majority-losing; both venues' profits live in a winning tail. So the backtest gap (3.8 holdout Sharpe on Hyperliquid vs ~1.5 on Lighter) needs another explanation. Suspected drivers, ranked
How to test each driver
One more piece of existing evidence: the Hyperliquid trials survived outlier-neutralisation (NB158 stayed strongly positive after removing its best day), while on Lighter all 31 methods go negative — consistent with the breadth story: Hyperliquid had enough winners to diversify the tail, Lighter has ~3–5 pools carrying everything. Suggested next step: a single 🤖 Generated with Claude Code |
How to make a Lighter allocation strategy profitableRefocusing from venue parity to strategy design: given 34 majority-losing pools, breadth-style allocation (hold ~20 names) is structurally unprofitable here — the trials confirm every diversified method is tail-driven. The design has to become selective and defensive. Grounding facts from the metrics feed and the NB01/NB02 runs:
Proposed design, mapped to tools we already have
ExpectationsA realistic target on today's universe is LLP-beating rather than Hyperliquid-matching: Sharpe ≥ 1.5, drawdown under ~10%, CAGR in the high teens to twenties — scaling up as the venue's pool count grows. Until then Lighter is best treated as a sleeve inside the existing cross-chain machinery rather than a standalone product. Suggested notebook sequence
🤖 Generated with Claude Code |
…3-NB05 (#47) Continue the Lighter vault-of-vaults research chain (NB01-NB02, PR #44) to its allocation conclusion: - 03: rerun all 31 rebalancing methods on the 27-pool universe with declared leveraged-beta pools excluded (new curator blacklist rules), 5 positions, 33% concentration. Headline Sharpe improves (best holdout 3.38, NB29) but outlier-neutralisation still turns every method negative. - 04: port the Hyperliquid survivorship-free NB26 baselines (composite selection, equal vs inverse-vol + ret30 gate). The gate halves the drawdown (-41% -> -22%) but neither baseline is profitable. - 05: implement the point-in-time redesign — LLP core plus hygiene-gated inverse-vol satellites (TVL floor, stale-mark and TVL-collapse rules), weekly cadence — against a 100% LLP benchmark. Finds and fixes a real framework hazard (weight normalisation scaling a lone satellite to 3x its cap ahead of Guinea Pool's collapse). Final verdict: 100% LLP dominates (Sharpe 2.33, -4.8% max drawdown) and vault trades fill fee-free at NAV, so the result is not a cost artefact. Requires the pending trade-executor `build_lighter_vault_universe( exclude_leveraged_beta=True)` blacklist-rule change (working tree, PR to follow) on top of merged trade-executor #1572. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
What
Ports the Hyperliquid vault-of-vaults research chain to the Lighter (ZK-rollup perps DEX) public-pool universe — synthetic chain
9998, 34 USDC pools, syntheticlighter-pool-{account_index}addresses. Restricting to USDC also excludes Lighter's separate USDG-denominated Robinhood Chain deployment published under the same synthetic chain id.01-lighter-initial.ipynbReplicates
hyperliquid-waterfall-rc/17-backtest-overspent-fix.ipynbon Lighter: positive trailing-180-day-Sharpe gate, 0.875-year age ramp, 20-pool basket, 20% concentration and pool-TVL caps, synchronous-cash cap, 100,000 USD initial capital, 2025-08-01 → 2026-07-10.The synchronous-cash cap completes without
OutOfSimulatedBalance. Capacity is the binding constraint: the young, thin cohort leaves ~1.9 signals per cycle pool-size-capped.02-backtest-rebalancing-method-trials.ipynbReruns all 31 catalogued rebalancing methods (NB22–NB158) on the same Lighter universe, mirroring
hyperliquid-waterfall-rc/04-backtest-rebalancing-method-trials.ipynb. All 31 complete. Best holdout Sharpe is 1.49 (NB101, age ramp + 30d trend overlay), with the NB158 waterfall baseline a co-leader at 1.48 and the highest holdout CAGR (73.72%). Method ranking inverts relative to Hyperliquid — NB28 (diversified waterfall), the Hyperliquid headline winner, is the single worst method on Lighter.The dominant robustness caveat: neutralising each method's top 5% of profitable days turns all 31 methods negative over the full period, so the entire Lighter result is tail-driven. Full analysis in the notebook headings; a venue-comparison analysis of why Lighter underperforms Hyperliquid follows as a PR comment.
Dependencies
Needs the Lighter universe support merged today: trade-executor #1572 with companions trading-strategy #241 and web3-ethereum-defi #1348 (all merged).
🤖 Generated with Claude Code