Knight Capital
A bad deploy left dead code live on one server; Knight's router sent 4M+ orders in 45 minutes and lost over $460M.
- firm trading loss
- >$460M
- how fast
- 45 minutes
- who lost
- Knight itself.
What happened
A botched software deployment left old code live on Knight's order router, which fired millions of orders at the open on 1 Aug 2012. Knight piled up billions in unwanted positions and lost over $460M.
Warning signs before it blew
Timeline
- Stopped using its old 'Power Peg' code but left it on production servers. [2]
- Moved part of that code without retesting it. [2]
- Began deploying new code, but one of eight servers never got it. [2]
- From 8:01 a.m., 97 automated error emails reached staff before the open. [2]
- In 45 minutes after the open it sent 4M+ orders and lost over $460M. [1]
- Paid $12M to settle SEC market access rule charges. [1]
The math
4M+ orders sent to fill 212 customer orders; $460M ÷ 45 min ≈ $10M lost per minute.
How big it was
#29 of 43 blowups by size of loss.
What happened next
The SEC fined Knight $12M in Oct 2013, its first case under the market access rule.
The rule that would have saved them
Every deploy needs a tested rollback and a kill switch someone is allowed to pull.
Check your own book: Before going live, diff the code on every server against the release. If any differ, or no one can stop all order flow in one action, do not trade.
Sources
Not financial advice. Public sources only.