Stop Shipping Backtests With Silent Logic Bugs
I once ran a backtest that came back with an 86.5% win rate over 680 trades. My first reaction was excitement. My second, about ten seconds later, was suspicion —…
I once ran a backtest that came back with an 86.5% win rate over 680 trades. My first reaction was excitement. My second, about ten seconds later, was suspicion —…
GMX, the perpetuals exchange on Arbitrum, runs an official public subgraph. It’s free, needs no API key, and there’s no documentation that walks through how to actually pull liquidations out…
Order Book Imbalance (OBI) is one of the simplest live microstructure signals you can compute: how much resting buy volume sits at the top of the book compared to resting…
Most order book data people work with is L2 — aggregated size at each price level, no visibility into individual orders. L4 goes further: every individual order, tracked from placement…
Most retail backtesting frameworks process historical trades in whatever order the data file lists them — usually just sorted by timestamp. That’s a reasonable assumption on a centralized exchange with…
A webhook endpoint that processes any POST request it receives, without checking who actually sent it, is an unauthenticated write path into your system. Anyone who finds the URL can…
A plain API key or license string has one structural weakness: it’s just a string. Anyone who has it can use it, from anywhere, on any machine — and license…
Perpetual futures use funding payments between longs and shorts to keep the contract price anchored to spot. When the same asset trades on multiple venues, funding rates rarely line up…
You can’t buy shares in OpenAI or Anthropic on any public exchange — neither has gone public. But you can trade a synthetic perpetual on Hyperliquid whose price directly tracks…
Most “liquidation price” formulas floating around trading communities are simplified approximations — they ignore maintenance margin tiers and the exact per-asset max leverage Hyperliquid actually enforces. Close enough for a…