Price-Time Priority is a matching engine rule that ranks resting limit orders first by the best price and then, within that price level, by the earliest timestamp of arrival. This mechanism ensures that the most aggressive bid or offer always receives the first execution, while queue position determines the sequence among orders at identical price points.
Glossary
Price-Time Priority

What is Price-Time Priority?
The foundational deterministic algorithm used by electronic exchanges to sequence and fill resting limit orders, ensuring fairness by rewarding both price improvement and early arrival.
This rule incentivizes both price competition and speed. Traders who improve the National Best Bid and Offer (NBBO) jump to the front of the queue, while those at the same price level are rewarded for earlier colocation and low-latency infrastructure. Exchanges may modify this strict priority with exceptions like speed bumps or pro-rata allocations.
Core Characteristics of Price-Time Priority
The foundational rules that govern how a central limit order book sequences and matches resting orders, rewarding both aggressive price improvement and the earliest time of arrival.
The Two-Tier Ranking Hierarchy
Price-time priority operates as a strict two-level sorting algorithm within the limit order book. The primary sort key is price: all buy orders are ranked from highest bid to lowest bid, and all sell orders from lowest offer to highest offer. The secondary sort key is time: within the same price level, orders are ranked chronologically by the exact timestamp of arrival at the matching engine. This ensures that the most aggressive price always wins, and when prices are equal, the earliest participant receives the fill. This mechanism directly incentivizes both price competition and low-latency infrastructure investment.
Queue Position and Priority
An order's queue position is its ordinal rank within the price-time stack at a specific price level. When a marketable order arrives, the matching engine allocates fills sequentially from the front of the queue. A resting order's queue priority improves only when:
- Orders ahead of it are fully filled or cancelled.
- The order is modified to a more aggressive price, which resets the timestamp.
- A less aggressive price modification typically results in a loss of time priority, moving the order to the back of the new price queue. Understanding queue dynamics is critical for predicting fill probability in high-frequency strategies.
Timestamp Granularity and Fairness
The precision of the timestamp used for sequencing is a critical architectural decision. Modern exchanges use nanosecond-resolution clocks synchronized via GPS or PTP to establish a global ordering of events. This granularity reduces the probability of timestamp collisions, where two orders arrive at the exact same microsecond. In the event of a true collision, exchanges may use a deterministic tie-breaker, such as the order ID or a round-robin allocation. The move toward nanosecond timestamps is a direct response to the arms race in low-latency trading and the need for provably fair queue construction.
Price-Time vs. Pro-Rata Matching
Price-time priority is not the only matching algorithm. Pro-rata matching allocates fills at a given price level in proportion to the size of each resting order, rather than by time of arrival. This model is common in futures and options markets to encourage large liquidity providers to display size. Hybrid models also exist, such as price-time with a pro-rata tail, where a percentage of the incoming order is allocated by time priority and the remainder by size. The choice of algorithm fundamentally shapes the incentive structure for liquidity providers and the fairness model for market participants.
Order Modification and Time Priority Reset
Any modification to a resting limit order that improves its price will result in a new timestamp, effectively moving the order to the back of the queue at the new price level. Conversely, a modification that reduces the order's displayed quantity without changing the price typically preserves the original time priority for the remaining shares. Cancelling and replacing an order to refresh a timestamp is a common, though sometimes regulated, tactic. Exchanges may impose order-to-trade ratio limits to penalize excessive cancellations that abuse the time priority mechanism and create quote pollution.
Regulatory Implications: Best Execution
Price-time priority is a cornerstone of Regulation NMS in the US and MiFID II in Europe. The Order Protection Rule (Rule 611) prohibits trade-throughs, meaning a marketable order must be routed to the venue displaying the best price, regardless of time priority at a slightly inferior price. Smart order routers must aggregate the price-time queues across all lit exchanges to construct the National Best Bid and Offer (NBBO) and ensure that executions respect the inter-market price priority mandated by regulators. This creates a complex, fragmented landscape where time priority is local to each venue but price priority is global.
Frequently Asked Questions
Clear answers to the most common questions about how matching engines sequence orders using price-time priority, the foundational rule governing fairness and determinism in electronic markets.
Price-time priority is a deterministic matching engine rule that ranks resting limit orders first by the best price and then, at the same price level, by the earliest timestamp of arrival. When a new marketable order arrives, the matching engine allocates contracts or shares to the highest bid and lowest offer. If multiple orders share the same price, the order that was received first—measured by the exchange's matching engine clock—receives priority execution. This mechanism rewards both price improvement (offering a better price than competitors) and speed (arriving at the exchange before other participants at the same price level). The rule ensures a transparent, auditable sequence of fills and is the default queue discipline on most lit exchanges, including NYSE, NASDAQ, and Cboe. It directly determines a resting order's queue position, which is the ordinal rank within the price level's FIFO stack.
Price-Time Priority vs. Alternative Matching Models
A structural comparison of the dominant exchange matching algorithm against alternative models used in dark pools, periodic auctions, and dealer markets.
| Feature | Price-Time Priority | Pro-Rata Allocation | Size-Time Priority |
|---|---|---|---|
Primary Ranking Criterion | Best price, then earliest timestamp | Best price, then proportional to order size | Best price, then largest order size, then earliest timestamp |
Rewards Speed | |||
Rewards Large Orders | |||
Typical Venue Type | Lit exchanges (NYSE, NASDAQ, CME) | Futures markets, some dark pools | Dealer-to-client platforms, some ATS |
Queue Priority Determinism | Absolute and predictable | Probabilistic fill percentage | Absolute by size tier |
Incentivizes Quote Competition | |||
Vulnerable to Latency Arbitrage | |||
Fill Certainty for Small Orders | High (FIFO within price level) | Partial fills common | Low (displaced by larger orders) |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Explore the core components and rules that govern how orders are prioritized and matched in modern electronic exchanges.
Iceberg Order
A large limit order that publicly displays only a small disclosed quantity while keeping the remaining reserve quantity hidden. When the visible portion is filled, the exchange automatically refreshes the display from the reserve. This mechanism:
- Masks the true size of the trading intention
- Reduces market impact and information leakage
- Avoids signaling to predatory algorithms
- May receive lower time priority on some venues when the visible quantity is replenished, as the new display is treated as a new order entry

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us