CaseLearn logo
CASELEARN
Education that works
Try free
Home › Case studies › Knight Capital
TechnologyEngineering FailureFinanceAdvanced2012

Knight Capital: $440 Million Lost in 45 Minutes — The Costliest Bug in History

How a single deployment error caused an algorithmic trading firm to lose $440 million in 45 minutes and ultimately destroyed the company.

The challenge

Knight Capital was deploying new trading software to 8 servers. A technician failed to copy the new code to one of the servers, which still ran old, deprecated code with a flag called 'Power of the Pony' that had been repurposed. When markets opened, 7 servers ran new code correctly but 1 server ran the old trading algorithm at full speed.

The strategy

The old code was designed for small test trades but was accidentally triggered in production mode. It began executing massive buy and sell orders at market prices with no profit logic — just buying high and selling low repeatedly at microsecond speed. There was no kill switch that worked across all servers simultaneously.

Want the full story, outcome and quiz?

Read how Knight Capital executed it, the results, key lessons and test yourself with a quiz. Free on CaseLearn.

Try the full case free →

Key lessons (preview)

More Engineering Failure cases

FacebookThe 6-Hour Outage — How DNS Took Down EverythingCrowdstrike8.5 Million Windows Machines Crashed by One UpdateTherac-25The Radiation Machine That Killed People Due to a Software BugLog4ShellThe Vulnerability That Broke the Internet