Latency Arbitrage Detection & Neutralization
How to prove you're being electronically front-run — and fix it with staggered order routing.
- Difficulty
- Advanced
- Time to result
- ~weeks to results
- Steps
- 5
- Confidence
- 90%
Developed by Brad Katsuyama's team at RBC in 2009, this method diagnoses and neutralizes 'latency arbitrage,' where high-frequency traders detect a large institutional order hitting one exchange and race ahead of it to other exchanges to trade against the rest of the order at a worse price. The team proved the problem was real by varying the timing of test orders, then mapped the exact millisecond latency between their desk and each exchange. By deliberately staggering the transmission of order slices so they all arrived simultaneously instead of sequentially, they eliminated the window predators used to jump ahead. The fix took RBC's fill rates on displayed liquidity to 100% and became the basis of the THOR routing product and eventually IEX itself.
Origin
Discovered when Brad, newly running RBC's electronic trading group, worked with network engineers who understood the market's physical infrastructure better than the trading desk did, and traced repeated partial fills to a 2-millisecond gap in order arrival times between BATS and NYSE.
Core principles
- 01Never accept 'coincidence' as an explanation for a repeated, directional pattern in fills.
- 02Physical distance and network speed determine who sees your order first — treat latency as a measurable, controllable variable.
- 03Synchronizing arrival time across venues removes the informational edge that enables front-running.
- 04Validate any fix with a hard, measurable metric (fill rate) before declaring victory.
How to run it
- 1
Test for the pattern, don't assume coincidence
Deliberately vary the timing of test orders (counting to three, five, seven seconds) before executing to see if the market consistently moves against you regardless of timing.
Pro tip If the adverse price move happens no matter when you press the button, it isn't random — it's a reaction to your order.
- 2
Map latency to every execution venue
Measure, in milliseconds or microseconds, how long it takes an order to physically travel from your desk to each exchange's data center.
Watch out Even a 2-millisecond gap between the closest and farthest venue is enough for predatory algorithms to exploit.
- 3
Stagger order transmission by distance
Send the order slice to the farthest exchange first and the closest exchange last, spacing releases so all slices arrive at their respective venues at the same moment.
- 4
Re-run the experiment and measure fill rate
Compare fill rates before and after staggering; a jump toward 100% confirms both that the problem existed and that the fix works.
Pro tip Treat the improved fill rate as proof you can bring to skeptical colleagues or clients.
- 5
Institutionalize the fix as a product
Turn the manual staggering technique into automated routing technology so it scales across all order flow, not just test trades.
Watch out Expect adoption to plateau once you've only fixed your own firm's flow — the wider market problem remains.
In the wild
After two years of unexplained partial fills on stocks like Microsoft, Brad's team measured the latency to each exchange and began releasing order slices in a staggered sequence timed to arrive simultaneously instead of all at once.
→ Fill rates on displayed liquidity jumped to 100%, proving the earlier partial fills were caused by predatory latency arbitrage rather than coincidental competing demand.
Common mistakes
Accepting the 'other buyers' explanation
Early on, traders were told repeated bad fills were just coincidental competing demand; without testing the timing directly, this false explanation persisted for years.
Relying on non-quantitative IT teams
Traditional Wall Street tech teams were administrative, not quantitative, so the true mechanism went undiagnosed until network engineers with HFT backgrounds were brought in.
Is it for you?
Not ideal for
Retail investors trading small share sizes that don't move the market, or anyone trading in non-fragmented, non-electronic markets where latency arbitrage doesn't apply.
From the transcript
“So I count to three, five, seven. I change it up. The stock wouldn't be moving. I'd hit the button and then boom, I'd get…”
“we would send the orders out in a staggered fashion, spacing them out based on the latency between each exchange. So the New York was…”
“This is like this miracle moment where you're like I cannot believe that it worked, number one. But number two, it validates that the problem…”
From the episode
Brad Katsuyama - What Happens When You Hit “Buy” - [Invest Like the Best, EP.61]
Brad Katsuyama