Skip to content

Repair manually canceled grid orders

If you manually cancel some of a running bot’s orders 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. Repair puts those orders back, with your approval, exactly as the grid originally placed them.

Repair is only for orders you canceled. It is not how the bot handles fills.

A grid order can disappear from Hyperliquid’s open orders for exactly two reasons, and the bot treats them very differently:

  • 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. The bot doesn’t assume it should override a cancel you made deliberately; maybe you were freeing balance or pausing a section of the grid. So canceled orders sit out until you explicitly ask for them back. That’s repair.

The dividing line is fill evidence: an order missing from open orders with a matching fill record is treated as filled and belongs to the automatic flow; an order missing without fill evidence is treated as manually canceled and becomes repairable.

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.
  • The exact orders repair would place: same rung, same side, same price, same size as the originals. Repair does not re-price or re-balance anything; it restores the grid as configured.
  • 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. If not, or if you canceled those orders on purpose, dismiss it; nothing happens without your approval. 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. Top up the spot balance or repair after freeing funds.

You want different prices, not the old ones. Repair deliberately restores the original grid. 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.