munchcoin.xyz

What Is a Pegged Order and How Does It Follow the Market?

A pegged order is a limit order whose price automatically adjusts to stay a fixed distance from a reference price - usually the best bid, the best ask, or the midpoint of the two. Instead of setting a static price and hoping the market comes to you, you set the order to "peg" to the market and move with it. The exchange updates the order's limit price as the reference price changes, so the order keeps its relative position without you needing to cancel and resubmit.

The Basic Mechanism

A pegged order is a resting limit order, which means it sits on the order book waiting for a counterparty. What separates it from a normal limit order is that its price is not fixed. The exchange recalculates it periodically - often continuously - based on a reference price you did not choose directly, but which you specified by choosing the peg type.

For example, a buy order pegged to the best bid will always be priced a certain number of cents below the current best bid. When the best bid moves up, your order moves up. When the best bid moves down, your order moves down. The gap between your limit price and the best bid stays the same.

The same logic applies to sell orders pegged to the best ask. A sell pegged to the best ask stays a fixed amount above the current best ask, moving with it as it changes.

The three common peg types

Most exchanges that offer pegged orders support one or more of these:

The offset you specify can be zero, meaning the order sits exactly at the reference price, or a positive number of ticks away. Some exchanges only allow offsets in whole ticks; others allow fractional tick offsets for midpoint pegs.

What the peg actually controls

A pegged order is still a limit order. That means it has a price ceiling (for buys) or floor (for sells) that you are not willing to cross. The peg updates that limit price, but it does not update your quantity, your time-in-force, or whether the order is a buy or a sell.

Two practical consequences follow.

First, the peg does not guarantee execution. If the market moves away from your peg faster than the exchange updates it, your order may be left behind. Suppose a buy order pegged to the best bid with a one-cent offset. The best bid jumps up three cents in a single tick. Your order's price updates, but it now sits two cents below the new best bid instead of one cent. The relative position changed because the update lagged the market move.

Second, the peg does not protect you from adverse moves. If the market drops sharply, a buy pegged to the best bid will drop with it. Your order does not become a floor. It becomes a moving target that follows price down.

Where pegged orders are used

Pegged orders are most common in institutional trading and in markets where the spread is tight and the reference price is well defined. They are used for several purposes:

How to Place a Pegged Order

The exact steps depend on the exchange, but the general procedure is:

  1. Select the order type. Look for "Pegged" or "Peg" in the order entry screen, usually under advanced or conditional order types.
  2. Choose the peg type: bid, ask, midpoint, or market.
  3. Set the offset. This is the distance from the reference price, in ticks or in price units. A zero offset places the order exactly at the reference price.
  4. Enter your quantity and time-in-force. Pegged orders are often GTC or day orders, but confirm what your exchange allows.
  5. Submit the order and monitor it. The exchange will update the price automatically, but you are still responsible for the order's fate.

What a pegged order is not

A pegged order is not a stop order. A stop order sits at a fixed price and becomes a market order when triggered. A pegged order never becomes a market order; it remains a limit order with a moving price.

A pegged order is not a trailing stop. A trailing stop moves a stop price in one direction to lock in profit. A peg moves a limit price in both directions to maintain a relative position.

A pegged order is not a guarantee of a better fill. It may reduce slippage on entry, but it can also miss the market entirely if the reference price moves too fast.

The Practical Limits

Pegged orders work well in liquid, orderly markets where the spread is narrow and the reference price is meaningful. In a thin market, or during a fast move, the reference price itself becomes unstable. The best bid or ask can be a single small order that vanishes, causing your peg to jump around or to reference a price that no longer represents where the market would actually trade.

Some exchanges do not offer pegged orders at all, or limit them to certain account types. Check the order type documentation for the specific venue you are using. If the exchange does not list "pegged" as an order type, it does not offer it, and a similar effect has to be built manually with separate limit orders updated by a script - which brings its own risks.

The offset you choose matters more than it might seem. A one-tick offset on a buy pegged to the bid means your order is almost always the first in line when the bid moves up. A larger offset means the order is further away and will be filled later, if at all. There is no optimal offset; it depends on how aggressively you want to trade against the spread, and how much you want to pay in slippage when you do get filled.

Not financial advice. munchcoin.xyz publishes market data and general information about digital assets. Crypto assets are volatile and you can lose everything you put in. Nothing here is a recommendation to buy, sell or hold, and we make no price predictions.

Prices are sourced from third parties and may be delayed or wrong. Verify anything you intend to act on against a primary source.

Back to order types