Quant Memo
Foundational

Wash Trades And Self-Match Prevention

Why trading with yourself is illegal even by accident, and the exchange-side controls that stop an algorithm's own orders from matching each other.

A wash trade is a trade where the same beneficial owner is on both sides — buying from themselves, effectively — creating fake volume or a fake price print without any real change in ownership or risk. It's prohibited because it can mislead other market participants about genuine trading interest and can be used to manipulate a closing price or manufacture the appearance of liquidity. Historically it required intent, but in modern electronic markets it happens constantly by accident: a firm running several algorithms or trading desks can easily have one of its own buy orders cross with its own sell order on the same book without anyone intending it.

Because accidental wash trades are so easy to generate at algorithmic speed, exchanges provide self-match prevention (SMP): an order flag that tells the matching engine "never let this order execute against another order from the same firm ID (or the same, more granular sub-account tag)." When a self-match would occur, the engine cancels or reduces one of the two orders — usually the resting one, or whichever the flag specifies — instead of letting the trade print.

A firm running multiple strategies on the same instrument through the same exchange membership needs SMP configured correctly at the account or sub-account level; otherwise two of its own uncorrelated strategies can unknowingly trade against each other, generating real transaction costs and regulatory exposure for a "trade" that changed nothing.

Wash trades don't require bad intent to be a problem — self-match prevention flags exist specifically because independent algorithms from the same firm can accidentally cross with each other, and exchanges cancel one leg automatically rather than let it print.

Further reading

  • CME Rulebook, Self-Match Prevention
ShareTwitterLinkedIn