OrderPendingUpdate
OrderPendingUpdate represents a ModifyOrder command having been sent to the trading
venue. The ExecutionEngine applies it to the order, updates the Cache, and publishes
it on the MessageBus. It fires when the system dispatches a modify request and awaits
venue acknowledgement.
Transition: ACCEPTED -> PENDING_UPDATE. Handler: on_order_pending_update.
Fields
OrderPendingUpdate carries only the common order event fields. On this event, venue_order_id and
account_id are usually populated but may be None, and reconciliation carries a real
value.
Example
Reading the event in a strategy handler:
def on_order_pending_update(self, event: OrderPendingUpdate) -> None:
self.log.info(f"Modify pending for {event.client_order_id}")Related guides
OrderTriggered
OrderTriggered represents an order having been triggered at the trading venue. The ExecutionEngine applies it to the order, updates the Cache, and publishes...
OrderPendingCancel
OrderPendingCancel represents a CancelOrder command having been sent to the trading venue. The ExecutionEngine applies it to the order, updates the Cache...