Inferensys

Glossary

Pegged Order

A pegged order is an automated order type that continuously adjusts its limit price relative to a dynamic reference point, such as the national best bid, offer, or midpoint, to track the market.
SRE continuously monitoring AI systems on multiple screens, real-time dashboards visible, dark mode NOC setup.
DYNAMIC LIMIT 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.

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.

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.

DYNAMIC PRICE REFERENCING

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.

01

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.
02

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.
03

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.
04

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.
05

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.
06

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.
EXECUTION MECHANISM COMPARISON

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.

FeaturePegged OrderStandard Limit OrderMarket OrderIceberg 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

PEGGED ORDER MECHANICS

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.

Prasad Kumkar

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.