Skip to content
Minute Campus.

When software failedLesson 011 min

How did a trading firm lose $460 million in 45 minutes?

On 1 August 2012, Knight Capital lost 460 million dollars in 45 minutes. New code was copied to seven of eight servers, and nobody checked the eighth, which still held an old feature that the new code's reused switch turned back on. It kept sending orders and could not tell when they were filled, so 212 customer orders became four million trades.

Remember

Delete unused code, and never give an old switch a new meaning.

Sources

Checked at the source.

Every claim in the lesson was checked against these before it was recorded.

  1. 1Order in the matter of Knight Capital Americas LLC, Release No. 70694US Securities and Exchange Commission · 16 Oct 2013 · read 4 Oct 2026Over 45 minutes the router obtained over 4 million executions from 212 small orders; Knight lost over $460 million.

Transcript

The lesson, word for word.

Read it at your own pace, or search the page for a term.

On the first of August, twenty twelve, a trading firm lost four hundred and sixty million dollars in forty-five minutes. The firm was Knight Capital, and this account comes from the regulator's own findings. Knight was installing new code on eight servers. A technician copied it to seven. Nobody checked the eighth. That server still held an old feature, unused for years but never deleted. And the new code reused the switch that once turned the old feature on. So when the market opened, seven servers ran the new code. The eighth woke the old one. It kept sending orders, and could not tell when they were filled. Two hundred and twelve customer orders became four million trades. Delete code you no longer use. Never give an old switch a new meaning. Have a second person check every release. In this series: one real failure, and the habit that would have caught it.

Questions? Comment on the lesson on YouTube

New lessons every day.

Follow Minute Campus where you already scroll.