A pegged order is a conditional instruction where the limit price is not static but 'pegged' to a dynamic reference point, such as the national best bid (NBB) for a buy order or the national best offer (NBO) for a sell order. The system automatically recalculates and adjusts the order price as the reference benchmark moves, ensuring the order maintains a consistent offset—for example, remaining pegged to the bid to capture the spread without being executed immediately.
Glossary
Pegged Order

What is a Pegged Order?
A pegged order is an automated order type that dynamically adjusts its limit price relative to a fluctuating reference benchmark, such as the national best bid and offer (NBBO), to maintain a specific position in the market queue without manual intervention.
Unlike a static limit order that risks becoming stale when the market moves away, a pegged order continuously tracks the reference price to maintain queue priority. Common variants include pegging to the midpoint for passive execution or using an aggressive offset to step ahead of the quote. This mechanism is essential for market making algorithms and liquidity provision, allowing traders to automate spread capture while mitigating the risk of adverse selection against informed flow.
Key Features of Pegged Orders
Pegged orders automatically adjust their limit price relative to a dynamic reference point, such as the national best bid and offer (NBBO) or the midpoint, to maintain a specific position in the market without manual intervention.
Primary Peg Types
Pegged orders can be anchored to different reference points depending on the desired execution strategy:
- Primary Peg: Pegs to the same side of the market. A buy order pegged to the bid will adjust to remain at the national best bid (NBB).
- Market Peg: Pegs to the opposite side. A buy order pegged to the offer will track the national best offer (NBO), effectively acting as a marketable limit order.
- Midpoint Peg: Pegs to the midpoint between the NBB and NBO, often used in dark pools to achieve passive, spread-capturing executions.
Offset Mechanics
Traders can specify an offset amount to maintain a strategic distance from the reference price:
- A buy order pegged to the bid with a +$0.01 offset will quote one cent above the best bid, increasing queue priority.
- A sell order pegged to the offer with a -$0.05 offset will quote five cents below the best offer, becoming more aggressive.
- Offsets can be defined in absolute ticks or percentage terms relative to the spread.
Cap and Floor Logic
To prevent execution at undesirable prices during volatile markets, pegged orders incorporate limit boundaries:
- A cap price defines the maximum a buy order will pay, regardless of how high the reference price moves.
- A floor price defines the minimum a sell order will accept.
- If the reference price breaches the cap or floor, the order is paused or canceled rather than executing at an unfavorable level.
Display vs. Non-Display
Pegged orders can be configured with different visibility profiles:
- Displayed Peg: The order's quantity and adjusted price are visible in the public order book, contributing to price discovery.
- Non-Displayed (Hidden) Peg: The order remains invisible, protecting against adverse selection and predatory algorithms that might detect and front-run predictable repricing behavior.
- Reserve Peg: Combines pegging with an iceberg-like mechanism, displaying only a small portion of the total quantity.
Exchange-Specific Variants
Major exchanges implement pegged orders with proprietary naming and behavior:
- NASDAQ: Offers Primary Peg and Market Peg order types with configurable offsets.
- NYSE: Provides Pegged Orders with optional display and reserve functionality.
- IEX: Features the Discretionary Peg (D-Peg), which pegs to the midpoint but uses a crumbling quote indicator to step ahead when prices are about to move adversely.
- BATS/EDGX: Supports Mid-Point Peg orders with minimum quantity conditions.
Use Cases and Risks
Pegged orders excel in specific scenarios but carry inherent risks:
- Passive Liquidity Provision: Captures the spread by joining the bid or offer, earning rebates in maker-taker fee structures.
- Minimizing Information Leakage: Non-displayed pegs hide trading intent from the market.
- Risk of Adverse Selection: A pegged order can be picked off by faster traders during rapid price moves if the repricing logic cannot keep pace with the market.
- Regulatory Compliance: Must comply with Regulation NMS order protection rules, ensuring pegged orders do not trade through protected quotations.
Pegged Order vs. Other Order Types
A structural comparison of pegged orders against standard limit, market, and other conditional order types used in algorithmic execution.
| Feature | Pegged Order | Standard Limit Order | Market Order | Iceberg Order |
|---|---|---|---|---|
Price Determination | Dynamic; tracks a reference benchmark | Static; fixed limit price | Immediate; best available price | Static; fixed limit price |
Primary Objective | Minimize adverse selection and capture spread | Achieve specific price or better | Guarantee immediate execution | Conceal total order size |
Displays Full Size | ||||
Passive Liquidity Provision | ||||
Susceptible to Latency Arbitrage | ||||
Requires Reference Price Feed | ||||
Typical Use Case | Spread capture and market making | Patient accumulation or distribution | Urgent liquidity demand | Large block execution without signaling |
Information Leakage Risk | Low; adjusts with market | High; signals exact price intent | None; executes immediately | Medium; visible portion signals intent |
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.
Frequently Asked Questions
Clarifying the operational logic, regulatory considerations, and strategic deployment of pegged orders in modern electronic markets.
A pegged order is a conditional limit order that automatically adjusts its displayed price relative to a dynamic reference point, such as the National Best Bid and Offer (NBBO) or the midpoint, rather than remaining at a static price. Unlike a standard limit order that rests at a fixed price, a pegged order algorithmically recalculates its limit price in real-time as the reference market moves. For example, a 'peg to primary bid' order will continuously re-price to match the current highest bid in the market. If the market bid rises by $0.05, the pegged order automatically adjusts upward to maintain its relative position, ensuring the order remains competitive without manual intervention. This mechanism is widely used to passively provide liquidity while minimizing adverse selection against informed traders.
Related Terms
Master the interconnected mechanics of automated trading. These concepts define how pegged orders interact with market structure, liquidity, and execution quality.
National Best Bid and Offer (NBBO)
The reference price to which most pegged orders anchor. The NBBO is a consolidated quote representing the highest displayed bid and lowest displayed offer across all US exchanges.
- Primary Peg: Attaches to the same side as the order (buy pegged to bid).
- Market Peg: Attaches to the opposite side (buy pegged to offer).
- Midpoint Peg: Anchors to the arithmetic mean of the NBBO.
Pegged orders must comply with Regulation NMS, which prohibits trading through protected quotations.
Market Impact Model
A quantitative estimate of how much a trade will move the price. Pegged orders are designed to minimize market impact by passively following the market rather than aggressively crossing the spread.
- Temporary Impact: The transient cost of demanding liquidity.
- Permanent Impact: The information leakage signaling your intent.
A pegged order reduces permanent impact by avoiding displayed limit prices that signal a strong willingness to trade. It blends into the passive order flow.
Adverse Selection Risk
The primary danger of passive pegging. If the market is moving against you, a pegged order automatically adjusts its price into a losing position.
- A pegged bid follows the bid down during a sell-off, catching a falling knife.
- Informed traders exploit this by pushing the reference price before executing against stale pegged orders.
Mitigation involves offset pegging (pegging to the bid minus a tick) or coupling pegs with stale quote timers that cancel the order if the reference hasn't updated recently.
Iceberg Order
A complementary strategy often confused with pegging. An iceberg order hides total quantity but displays a fixed price, while a pegged order displays quantity but hides a fixed price by making it dynamic.
- Iceberg: Fixed limit, hidden size.
- Pegged: Dynamic limit, visible size.
- Combined: A pegged iceberg displays a small portion of size at a dynamically adjusting price.
Both are anti-gaming mechanisms designed to prevent other traders from detecting and front-running large institutional interest.

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