Trade matching refers to how a venue pairs compatible bid and ask orders to produce executions, driven by a matching engine that applies venue-defined rules (for example, price-time priority).
Some venues use continuous matching; others use periodic auctions.
When an order arrives, it is routed to the matching engine and, if possible, matched against resting orders in the order book. Market orders are intended for immediate execution and are filled against the best available bids or asks. Limit orders specify a price threshold and may rest in the book until matched or canceled. The engine enforces price priority (highest bid vs lowest ask) and time priority (earlier orders at the same price) when selecting matches. If no sufficient opposite-side quantity exists, an order may remain resting or be partially filled, depending on the venue's rules.
Trade matching affects execution characteristics by influencing speed, price discovery, and liquidity. It shapes the observed bid-ask spread and the likelihood of partial fills, and contributes to how new information is reflected in prices as trades are recorded.
In a continuous trading venue, a market order will be matched against the best available bid or ask in the order book, with the execution price determined by the resting orders and prevailing rules.
Order book · Matching engine · Price-time priority · Market order · Limit order · Liquidity · Order routing