Order

Order Statuses

Pending - Before match started
Open - Not filled or partially filled order placed in Order Book
Closed - Filled order
Rejected - Rejected by exchange / Order not passed validation
Canceled - Canceled by the user
Expired - Canceled according to the order type’s rules / Canceled by the exchange
WaitStop - StopLimit order is scheduled and waiting for activation

FLOW

Pending

Order is in Pending mode waiting for the match

Pending => Closed

Order matched immediately

Pending => Open

Order has not matched or matched partially and went to the Order Book

Penging => WaitStop

Stop Limit waiting for activation

Pending | Open => Canceled

Order was canceled by the user

Open => Expired

Expired

Pending => Expired

Expired