Front-Running
Front running means trading ahead of a known pending order to profit from its impact. Learn the illegal and legal forms, crypto MEV and how to protect orders.
Front running is trading in advance of a pending order that you know about, to profit from the price move that order will cause. The classic illegal form is a broker who learns a client is about to buy a large block of stock and buys first, then sells to the client or into the rising price. It breaches the duty owed to the client and is prohibited in regulated markets. Related but different practices, such as anticipating order flow from public data, and new forms in crypto, such as MEV, raise questions about where the line sits.
The classic illegal form#
- A client gives a broker a large buy order.
- The broker buys the same stock for their own account first.
- The client's large order pushes the price up.
- The broker sells at the higher price, sometimes to the client.
Legal framework#
| Rule | Detail |
|---|---|
| FINRA Rule 5270 | Prohibits members from trading securities or related derivatives while holding material non public information about an imminent block transaction |
| Best execution duties | Brokers must seek the most favourable terms for client orders |
| Market abuse rules (EU, UK) | Prohibit misuse of client order information |
| Futures rules | Exchange and CFTC rules prohibit trading ahead of customer orders |
Front running versus anticipation#
| Activity | Legal status |
|---|---|
| Using confidential client order information | Illegal |
| Trading ahead of your own firm's research report release | Restricted by conflict of interest rules |
| Predicting index rebalancing flows from public rules | Legal; a common strategy. See Index Rebalancing |
| Detecting a large order from public market data and trading alongside it | Generally legal, though controversial |
| High frequency traders reacting faster to public quotes | Legal, though debated. See High-Frequency Trading |
The key distinction is whether the information came from a duty of confidentiality.
Front running in crypto: MEV#
On public blockchains, pending transactions sit in a public waiting area, the mempool, before they are added to a block. Bots can see a large pending swap on a decentralised exchange, submit their own buy with a higher fee to be processed first, then sell after the victim's trade moves the price. This "sandwich attack" is a form of maximal extractable value (MEV). Its legal status is unclear in many jurisdictions, but it imposes real costs on users. See MEV and Mempools and Gas.
Protecting your orders#
| Context | Protection |
|---|---|
| Institutional orders | Execution algorithms that hide size, dark pools, trusted brokers. See Execution Algorithms vs Alpha Algorithms and Dark Pools |
| Retail stock trading | Limit orders; regulated brokers with best execution obligations |
| Decentralised exchanges | Set low slippage tolerance; use private transaction relays or MEV protection features |
| Large trades | Split into smaller pieces and avoid predictable patterns |
Information leakage#
Even without illegal front running, large orders leak information through their footprint in the market. Execution algorithms randomise size and timing to reduce the chance that others infer and trade ahead of them. See Market Impact.
Frequently asked questions#
What is front running?#
Trading ahead of a known pending order to profit from the price move it will cause, typically using confidential information about a client's order.
Is front running illegal?#
Yes, when it uses confidential information in breach of a duty, such as a broker trading ahead of client orders. Anticipating flows from public information is generally legal.
What is a sandwich attack in crypto?#
A form of MEV where a bot places a trade before and after a victim's pending decentralised exchange swap, profiting from the price move the victim causes.
Next, learn a rule that affects many US day traders in Pattern Day Trader Rule.
3 quick questions on this lesson. Get them all right to finish it.
Turn on JavaScript to take the quiz.
Mentioned in
- Wash TradingThe Trading Industry
- Market Maker Manipulation: Myth and RealitySmart Money Concepts
- FX Fixings: London and TokyoForex