Cross-venue basis replay

One-minute perp-versus-spot spread across three named crash windows. The engine charges a 5% haircut on matched notional; the record below shows whether the worst one-minute spike sits inside it.

A reproducible series built by lib/replayData.ts with the seed and generator committed in this repo (spec §6.8: determinism over a private candle feed). Every figure derives from those rows at build; the pipeline can swap in exchange candles without touching this page.
Median basis
1.2 bps
99th percentile, nearest-rank
288.7 bps
Worst one-minute spike
327.8 bps

Basis, bps — 30 days sampled every 90 minutes

haircut covers the record
500 bps haircutAug 5 2024, 311 bpsFeb 3 2025, 323 bpsOct 30 2026, 308 bps

rows 43,200, seed 0x5A3F077, percentile method: nearest-rank on the sorted array, basisBps = (perpUsdc − spotUsdc) × 10,000 ÷ spotUsdc, no smoothing and no outlier removal