Docs / Concepts / Execution and portfolio
Real

Execution

From a strategy command to a venue and back.

Flow

A strategy asks its context to submit or cancel. After the handler returns, the engine runs the command through the risk checks and hands it to the venue. The venue reports acks, fills, cancels and rejects as order events, which update order state and the portfolio.

Duplicate ids

Submitting an order with an id that already exists is refused.