docs/concepts/events/order_submitted.md
OrderSubmitted represents an order having been submitted by the system 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 sends the order to the venue and awaits
acknowledgement.
Transition: INITIALIZED / RELEASED -> SUBMITTED. Handler: on_order_submitted.
OrderSubmitted carries only the common order event fields. On this event, account_id is populated,
venue_order_id is not yet assigned (None), and reconciliation is always False.
Reading the event in a strategy handler:
def on_order_submitted(self, event: OrderSubmitted) -> None:
self.log.info(f"Order {event.client_order_id} submitted ({event.account_id})")