LIMITBOOK_FULL Reset

A LIMITBOOK_FULL reset is a full order book message used to replace local book state and restart reconstruction after a gap, inconsistency, or resynchronization event.

A LIMITBOOK_FULL reset happens when an application stops relying on its current local order book and replaces it with a complete LIMITBOOK_FULL snapshot or message. In order book reconstruction, a local book is usually maintained by applying a stream of incremental updates to an initial book state. This works only when every update is received, applied in the correct order, and matched to the expected sequence. If messages are missed, arrive with a sequence gap, or create a book state that does not match exchange reality, the local copy may become unreliable. At that point, continuing to apply incremental updates can make the book less accurate over time. A reset provides a clean restart by overwriting the current local state with the full book contained in the LIMITBOOK_FULL message. After the reset, the system can resume applying trusted incremental updates from the correct point in the stream. This process is common in crypto market data because order books change quickly and small data gaps can affect prices, depth, spread, and liquidity calculations. A LIMITBOOK_FULL reset is not simply another update to one price level; it is a replacement of the full local book state. For traders, researchers, and data engineers, understanding resets helps make order book replay and historical reconstruction more reliable.

LIMITBOOK_FULL resets help prevent corrupted or incomplete order book state from being used in trading, analytics, backtesting, or liquidity monitoring. They provide a controlled way to recover when incremental updates cannot be trusted due to sequence gaps, missed messages, or state divergence.

A LIMITBOOK_FULL reset works by discarding the current local order book and loading the complete state from a LIMITBOOK_FULL message. The receiving system treats the message as an authoritative snapshot for that instrument, exchange, and point in time. Once loaded, bids and asks in the local book should reflect the full depth provided by the message rather than the previous reconstructed state. Any incremental messages that belong before the reset point should not be applied after the reset because they may reintroduce outdated state. The application should then resume processing updates that are valid after the reset according to the relevant sequence, timestamp, or stream rules. This gives the order book reconstruction process a known-good starting point instead of trying to repair an uncertain book level by level.

A LIMITBOOK_FULL reset should be used when the current local order book cannot be trusted. Common triggers include detected sequence gaps, missed WebSocket messages, dropped packets, application restarts, exchange resynchronization events, or validation failures in the reconstructed book. It can also be used when replaying historical data and the replay process reaches a point where the incremental chain is incomplete. In these cases, applying more incremental updates may not fix the problem because the base state is already wrong. Replacing the book with a complete LIMITBOOK_FULL message is usually safer than guessing which levels are missing or stale. The goal is to restore a consistent state before continuing with normal order book processing.

Order book replay depends on the ability to recreate book state accurately over time. If an incremental update is missing or applied out of order, the replayed book may show incorrect depth, spreads, or available liquidity. A LIMITBOOK_FULL reset gives the replay process a fresh complete state so it can continue from a reliable point. This is especially important for backtesting execution strategies, measuring slippage, studying market microstructure, or validating data quality. Without reset handling, a small data issue can affect every later reconstructed book in the replay. Proper reset logic helps separate temporary data gaps from long-running reconstruction errors.

A crypto trading firm is replaying BTC-USDT order book data from an exchange. The replay starts with a full book and then applies incremental updates for each price-level change. During the replay, the system detects that one expected sequence number is missing. Because the incremental stream can no longer be trusted, the application stops applying updates to the current book. It then loads the next available LIMITBOOK_FULL message, replaces the entire local bid and ask state, and resumes replay from that reset point. This prevents the firm from testing a trading strategy against an order book that may be missing important liquidity.

CoinAPI Market Data API supports crypto market-data workflows where accurate order book reconstruction and replay are important. When working with order book data, a LIMITBOOK_FULL reset can be used as a recovery point after gaps, missed messages, or divergence in a locally maintained book. This helps data teams build safer replay pipelines, monitor reconstruction quality, and restart processing from a complete book state instead of relying on uncertain incremental updates. For users analyzing exchange depth, liquidity, spreads, and execution conditions, reset-aware handling improves confidence in the order book state used by downstream systems.

Crypto API made simple: Try now or speak to our sales team