Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

The Order Lifecycle

Status Draft briefPart Market Mechanics

Between decision and terminal state, an order may be pending, accepted, resting, partially filled, canceling, replaced, rejected, expired, or uncertain.

Central questions

  • Which event makes each transition authoritative?
  • What happens when fills race with cancellation?
  • How should duplicate or missing acknowledgements be interpreted?

Planned model

Animate client, gateway, and venue state on one timeline. Inject delay, duplication, rejection, partial execution, cancel races, and disconnects.