Every month we compare each live trade with what the backtest would have done over the same hours. In the first audit the two didn’t fully match. This note explains the gap and how we closed it.
What we found
The live engine was skipping trades the backtest took: about 3% on BTC, 5% on ETH and under 1% on SOL.
Why
When a stop-loss or take-profit filled on Hyperliquid, our database only learned about it at the next hourly reconciliation. Until then the engine still saw the position as open, and skipped any new signal for that strategy.
The same reconciliation logged take-profits as stops and could leave the opposite order on the book.
The fix
Before every entry and every exit, the engine now re-syncs with Hyperliquid: fills are recorded immediately and any leftover order is cancelled. Replayed on the same history, missed trades went from 3–5% to zero.
Since then
- Signals go out about 2 seconds after the hourly candle closes (it was about 17).
- An exit and an opposite entry in the same hour now execute in the same order as in the backtest.
- The latest release was replayed on 600 hours of history before going live: identical signals.
What still differs
Two gaps can’t be removed by code, and we’d rather say so:
- The backtest uses Binance price, volume and funding data; live uses Hyperliquid’s. Volume filters can occasionally disagree.
- Live orders fill a few seconds after the candle opens; the backtest assumes the open price plus 0.05% slippage.
Our rule: each month, at least 80% of live entries must match the backtest within one hour. If a coin stays below that for two months in a row, it is paused until the cause is found.
Your funds stay on your Hyperliquid account. The API wallet can trade, it cannot withdraw, and you can revoke it at any time.
TRUSTALGO