Knight Capital
Real storyUnited States, 2012Warnings that go nowhere

Knight Capital: 97 warning emails, one missed server and $460 million in 45 minutes

On August 1, 2012, in the first 45 minutes after the US stock market opened, Knight Capital’s automated order router sent more than 4 million orders into the market while trying to fill just 212 customer orders. Knight traded more than 397 million shares and lost more than $460 million.1 The cause was a deployment that missed one server out of eight, and an alarm that went off 97 times before the market opened, by email, to a group inbox.2

  • 45 minTime it took to lose the money
  • 212Customer orders it was trying to fill
  • 1 of 8Servers without the new code
  • 97Warning emails before the open

Knight’s release on a board: as it went, and with Kanbanchi

Switch between the two states to see the same five pieces of work. As it went, the deployment is marked Done with no second check, the old code is still there, and 97 warnings are in a group inbox. With Kanbanchi, the release has a checklist, a reviewer and an owner for every alert.

Open4
Second technician reviews the deploymentNo such stepNo ownerAssigned reviewerOwner: Second technician
Remove retired Power Peg codeLeft in since 2003No ownerCritical priorityOwner: Developer
Investigate pre-market alert emails97 unreadNo owner@mentioned router ownerOwner: Router owner
Incident response planNo procedureNo ownerDone before go-liveOwner: Incident manager
In progress0
Done1
Deploy new RLP code to all 8 serversDone, 7 of 8Owner: TechnicianChecklist: 8 of 8 confirmedOwner: Technician

As it went: the deployment is Done on 7 of 8 servers, and the review, the old code, the alerts and the incident plan sit in Open with nobody on them.With Kanbanchi: the release is In progress until all 8 servers are confirmed, the retired code is a Critical card, and the alerts have an owner.

A board for a trading firm’s release, for illustration. It would not have stopped a runaway router in real time. It would have made a skipped check and an ignored alert visible before 9:30.

The plan

The New York Stock Exchange was launching a new Retail Liquidity Program on August 1, 2012. To let its customers take part, Knight changed several systems, including its automated order router, SMARS, which takes “parent” orders and sends “child” orders to trading venues.2

Knight was a big player: in 2011 and 2012, its trading made up about ten percent of all trading in listed US equities.2 The new code was meant to replace an old, unused function called Power Peg and to reuse a flag that used to switch Power Peg on. Knight intended to delete Power Peg, so the flag would trigger the new code instead.2

On paper, it was a routine release with a fixed go-live date: replace dead code with new code, on every server, before the program started.

What actually happened

The old code that was still there

Knight stopped using Power Peg in 2003. In 2005, it moved part of the code that counted how many shares of an order had been filled to an earlier point in the router, without retesting Power Peg. The function was not meant to be used, but it stayed in the router, callable.12

One server out of eight

Starting on July 27, 2012, Knight deployed the new code in stages, a few servers at a time. One technician did not copy the new code to one of the eight servers. No second technician reviewed the deployment, Knight had no written procedure that required one, and nobody noticed that the eighth server still had Power Peg and not the new code.2

97 emails before the open

On the morning of August 1, starting at about 8:01 a.m. ET, an internal system sent automated emails that referenced SMARS and named an error, “Power Peg disabled.” It sent 97 of them to a group of Knight staff before the 9:30 a.m. open.2 The emails were not designed as alerts and staff generally did not read them, but the SEC says they gave Knight a chance to find and fix the problem before trading started. They were not acted on.12

45 minutes

When the market opened, the seven updated servers handled orders correctly. Orders that reached the eighth server triggered Power Peg, which kept sending child orders because it could no longer tell when an order was filled.2 In about 45 minutes, Knight got more than 4 million executions in 154 stocks and built up net positions of about $3.5 billion long and $3.15 billion short.2

Knight had no procedures to guide staff through a serious incident. While its technology team searched for the problem in live trading, one fix made it worse: they uninstalled the new code from the seven correct servers, so those servers started running Power Peg too.2

The aftermath

Knight lost more than $460 million.1 In October 2013, the SEC charged it under the market access rule, its first enforcement action under that rule, and Knight agreed to pay a $12 million penalty without admitting or denying the findings.1

What went wrong, in project management terms

Warnings that went nowhere

The system told Knight something was wrong 97 times before the open.2 The messages went to a group, were not designed as alerts and had no owner. A warning that goes to everyone in general reaches no one in particular.

Done without a check

The deployment looked finished, but it was finished on seven of eight servers. There was no second reviewer and no written procedure requiring one.2 The release was measured by whether someone said it was done, not by whether every server was confirmed.

Dead code kept alive

A function retired in 2003 was still present and callable nine years later, and the code around it had been changed without retesting.2 Old code that nobody owns is a risk that nobody tracks.

No plan for a bad day

With no incident procedures, the response was improvised in live trading, and one improvised fix spread the problem to the healthy servers.2 The SEC also found Knight had reacted to earlier incidents too narrowly, without looking at root causes.1

What Kanbanchi would have changed

No task board stops a runaway algorithm in real time. But every failure above happened in the days and hours before the market opened, and those are visible on a board. These are the Kanbanchi features we would have put on Knight’s release board.

Checklists

Give the release card a deployment checklist with one item per server, “Server 1 confirmed” to “Server 8 confirmed,” plus “Second technician reviewed.” Seven of eight is not Done.

How to create a checklist

Assignees

Assign the review to a second, named technician. The review stops being optional when it is a card with somebody’s name on it.

How to assign a card

Card priority

Make “Remove retired Power Peg code” a Critical card. Retired code that is still callable belongs at the top of the list until someone deletes it.

How to set card priority

Mentions in comments

When an unexpected error message appears, someone turns it into a card and @mentions the router’s owner in a comment. The alert reaches a named person, not a group inbox.

How to mention a colleague

Card templatesPremium

Save the release card, with its checklist and incident-plan link, as a card template. Every release starts with the same checks, including the ones that feel unnecessary.

How to use card templates

Try it: Knight Capital on a Kanbanchi board

Drag cards between lists with a mouse or a finger (press and hold on touch screens), or focus a card and use the arrow keys. Open a card to try the features from this article: Checklists, Assignees, Card priority, @mentions in comments, Card templates.

Interactive demo

Press Enter to open the card, Left or Right arrow to move it to the next list, Up or Down to go through the list, Shift F10 for the move menu.

Knight Capital release
10

To Do

2
  • Risk

    Remove retired Power Peg code

  • Operations

    Unexpected error messages before the open

Deploying

1
  • Development

    Release: new code on the order router

    7/9
    T1

Review

1
  • Testing

    Second-person review of the deployment

Done

1
  • Development

    Reuse the old flag for the new code

    T1

What just happened

Nothing yet. Move a card or open one, and this box explains what Kanbanchi would show.

Try this

  • Drag the release to Done with Server 8 still unchecked.
  • Assign the review to the second technician.
  • Use + and the Release card template to start the next release with all nine checks.

A simplified copy of the Kanbanchi board for this story. Cards, names and dates are illustrations, not a historical record. Nothing is saved: reload the page and the board starts over.

Honest caveat: Knight’s problems were deep, from risk controls to compliance reviews, and the SEC listed many of them. A board does not replace trading controls. It does make a skipped review, an orphaned alert and a missing plan visible before the opening bell.

Give every alert an owner

Try Kanbanchi free and turn your release checks into a checklist nobody can skip.

Start your free trial

Lessons for project managers

  1. Every alert needs an owner. 97 emails to a group did nothing.2 One card with one name on it might have.
  2. Done means verified. A deployment is not finished until every target is confirmed, by someone other than the person who did it.2
  3. Delete what you retire. Unused code that is still callable is a risk with no benefit.1
  4. Plan the bad day before it comes. Without an incident procedure, a rushed fix made things worse.2
  5. Fix root causes, not just incidents. The SEC found Knight had responded to earlier incidents too narrowly.1

Knight Capital: the numbers

DetailFigureSource
DateAugust 1, 20121
Time it ranAbout 45 minutes after the open12
Customer orders being filled2121
Orders sent into the marketMore than 4 million1
Shares tradedMore than 397 million, in 154 stocks2
Unwanted positionsAbout $3.5 billion long, $3.15 billion short2
LossMore than $460 million1
Servers missing the new code1 of 82
Automated error emails before 9:30 a.m.972
SEC penalty$12 million1

Knight Capital: frequently asked questions

What happened to Knight Capital in 2012?

On August 1, 2012, Knight’s automated order router sent more than 4 million orders into the market in about 45 minutes while trying to fill 212 customer orders. Knight traded more than 397 million shares and lost more than $460 million.

What caused the Knight Capital glitch?

According to the SEC, a technician did not copy new code to one of eight servers, and no second technician reviewed the deployment. On that server, orders triggered an old, unused function called Power Peg, which kept sending orders because it could not tell when an order had been filled.

Did Knight Capital get any warning?

Yes. Starting at about 8:01 a.m. ET, an internal system sent 97 automated emails to a group of staff, referencing the router and an error. They were not designed as alerts and were not acted on before the 9:30 a.m. open.

What is the project management lesson from Knight Capital?

Give every alert a named owner, require a second check before a release is marked Done, delete retired code instead of leaving it callable and write an incident plan before you need one.

How would Kanbanchi have helped?

Kanbanchi would have put a per-server deployment checklist on the release card, assigned a second reviewer, marked the retired code Critical and turned the error emails into a card with an @mention to the router’s owner.

Sources

  1. SEC press release 2013-222: SEC Charges Knight Capital With Violations of Market Access Rule, US Securities and Exchange Commission, October 16, 2013. Accessed November 2, 2026.
  2. In the Matter of Knight Capital Americas LLC, Release No. 34-70694 (order, PDF), US Securities and Exchange Commission, October 16, 2013. Accessed November 2, 2026.

Both sources are from the SEC. Knight consented to the order without admitting or denying its findings, so the facts above are the SEC’s findings.

Make your next release boring

Kanbanchi is a task board for Google Workspace and Microsoft 365. Put every release check and every alert on a card with an owner.

Start your free trial

Back to all 12 famous project failures