A pegged-to-midpoint order is an order whose price is set at the midpoint of the National Best Bid and Offer (NBBO) and moved automatically as that midpoint changes. If the best bid is 20.00 and the best offer 20.10, the order is priced at . A limit price can be attached so that the order stops following the midpoint beyond a set level, and some venues allow a small offset.
Midpoint pegs are offered by many US exchanges, by dark pools and by brokers. They are usually not displayed, so they behave as a kind of hidden order. When two such orders meet, each side saves half the bid-ask spread compared with crossing it. The cost is uncertainty of execution, since a fill needs a counterparty willing to trade at the midpoint, and orders may be suspended in a locked market or a crossed one. The midpoint match order is a related type.