Skip to content
main site

Repair canceled grid orders

If some of a running bot’s orders are canceled on Hyperliquid, whether from the exchange UI, another tool, or by accident, the grid is left with gaps: rungs that should have a resting order but don’t. Grids heal themselves: the bot normally restores missing rungs within about 20 minutes if your balance covers them. Repair does the same thing right away, after you check a preview.

If you want part of a grid gone for good, stop the bot. Canceling its orders on Hyperliquid only removes them until the next restore.

The bot checks whether a missing order filled or was canceled:

  • It filled. Fills are handled automatically by the bot’s runtime. Profit is accounted and the replacement order on the opposite side is placed without you doing anything, including after reconnects.
  • It was canceled. Anello sends an “order canceled outside Anello” alert. Every 10 minutes the bot checks each grid, and a rung that is still missing on the next check is restored, so it normally comes back within about 20 minutes. If your balance can’t cover it, you get one alert that the grid needs funds instead. Repair lets you restore it now instead of waiting.

The dividing line is fill evidence: an order missing from open orders with evidence of a full fill is treated as filled and belongs to the automatic flow; an order missing without a full fill is treated as canceled and is restored by the bot, or right away by repair.

When you run a repair check from the bot’s screen, the backend compares three things:

  1. the orders the bot has persisted as belonging to this grid,
  2. Hyperliquid’s current open orders for your account,
  3. your recent fills.

From that comparison it classifies each missing order as filled (handled automatically, not repairable) or canceled (repairable), and builds a preview.

The preview shows, before anything is placed:

  • Canceled slots: which grid rungs lost their orders.
  • Orders to restore: repair uses your current grid settings and market price, so the side or size can differ from the canceled order.
  • Required spot balances: what the restored buy orders need in USDC and sell orders need in the base asset, so you can see whether your balance covers them.

If it looks right, accept and the orders are placed now. If you dismiss it, the bot still restores the rungs on its own on its next checks; to keep them off, stop the bot. On accept, the backend re-checks current state first and only places slots that are still missing and still classified as canceled.

An order is missing but repair doesn’t offer it. It almost certainly filled. Filled orders are reconciled automatically. Give the bot a moment (or a reconnect cycle) and the accounting plus replacement order will appear on their own. Don’t try to repair around a fill; the automatic flow owns it.

The preview shows insufficient balance. The canceled buy orders need quote (USDC) and canceled sells need the base asset. Until the balance covers them, the bot can’t restore them either and sends a grid-needs-funds alert. Top up the spot balance and they come back on the next check, or repair right away.

You want different grid settings. Repair restores missing orders using the current grid settings. It’s a restore tool, not an editor. To change the grid itself, use extend or add funds instead.

For how the grid behaves in general, see How grid trading on Hyperliquid works.