A pegged-to-primary order, also called a relative order, is a pegged order whose price follows the same side of the market: a buy order tracks the best bid and a sell order the best offer. A trader may add an offset that makes the order more aggressive, setting a new best price inside the bid-ask spread. The price is revised as the quote moves, within an optional limit.
The name reflects the primary peg offered by several US exchanges, which pegs to the same-side best quote; Interactive Brokers also supports the type, simulating it where a venue lacks it. By posting at or near the best quote the trader acts as a liquidity provider and may receive an exchange rebate instead of paying a fee. Risks include missing a fast move, adverse selection and lost queue priority with each repricing. The passive relative order is its less aggressive counterpart.