# HD-INC-259: Knight Capital Lost 460 Million USD in 45 Minutes After Old Code Woke Up on One Server

> On 1 August 2012, Knight Capital's trading system started sending orders into the US stock market that it was never meant to send. In about 45 minutes, it made more than 4 million trades and left the firm holding billions of dollars' worth of shares it didn't want. Knight lost more than 460 million USD. The SEC found that new code had missed one of the system's eight servers. Old software, which Knight had stopped using in 2003, was still there and could still be switched on. The firm also lacked the checks and procedures that might have caught the problem or stopped it spreading.

- Source: https://useheadlights.com/library/HD-INC-259/
- Publisher: Headlights (useheadlights.com), author Ellie Harris
- Published: 2026-10-27
- Company: Knight Capital Americas LLC, a subsidiary of Knight Capital Group
- Sector: Financial services
- Country: United States
- Year: 2012
- Behaviour in the record (Headlights reading): Normalisation of deviance
- Governance domains: Algorithmic accountability, Human oversight
- Licence: CC BY-NC 4.0. Cite as: Harris, E. (2026). Knight Capital Lost 460 Million USD in 45 Minutes After Old Code Woke Up on One Server. Headlights AI Incident Library, HD-INC-259. https://useheadlights.com/library/HD-INC-259/

## What happened

It was reported that Knight lost control of its automated trading system as the US stock market opened on the morning of 1 August.

The system, called SMARS, routed orders into the market. Knight was preparing it for a new New York Stock Exchange programme for retail orders, due to start that day.

The new software reused a signal that had once activated an older function called Power Peg. Knight had stopped using Power Peg in 2003, but the code was still in the system. In 2005, Knight changed how the code tracked whether an order had been filled, but the SEC found it never retested Power Peg after that change.

Knight began installing the new code in stages on 27 July. One of the eight servers was missed. The SEC found there was no requirement for a second technician to check the installation, and no written procedure requiring one.

When trading opened at 9:30 a.m., orders carrying the reused signal reached the server that still had the old code. Power Peg kept sending orders because it could no longer tell that the original orders had already been filled.

In about 45 minutes, the system made more than 4 million trades across 154 stocks, involving more than 397 million shares. It all started with 212 customer orders. Knight ended up with about 3.5 billion USD in shares it had bought and 3.15 billion USD in shares it had sold short. In 37 stocks, Knight's trades made up more than half the market activity, and prices moved by more than 10 per cent.

The system had sent warnings before the market opened. From about 8:01 a.m., it sent staff 97 emails saying "Power Peg disabled". They were routine system emails, not alerts, and staff generally did not review them.

As staff tried to stop the problem, they removed the new code from the seven servers where it had been installed correctly. That made things worse: orders began triggering the old Power Peg code on those servers too. Knight had no procedures to guide staff through a major technology incident.

Knight lost more than 460 million USD. In October 2013, the SEC found that it had violated the Market Access Rule and Regulation SHO. Knight settled without admitting or denying the findings. The SEC censured the firm, ordered it to pay a 12 million USD penalty and required it to hire an independent consultant. It was the SEC's first enforcement action under the Market Access Rule.

Knight Capital Group, Knight Capital Americas' parent company, combined with GETCO in July 2013 to form KCG Holdings.

## Where the gap was

It was reported that Knight had left Power Peg in its system after it stopped using the function, and that staff generally did not review the emails warning "Power Peg disabled".

Headlights identifies normalisation of deviance as the main behaviour. The SEC found that Knight did not retest the old code after changing it, and that its reviews did not consider whether SMARS could fail or whether the firm needed stronger checks on deployments and unused code.

The SEC also described earlier incidents that could have prompted a broader review. In October 2011, an error with test data caused a loss of nearly 7.5 million USD. Knight made changes to the affected system, but did not look more broadly at how to prevent erroneous orders across its systems.

This classification is Headlights' interpretation of the SEC's findings, not a finding made by the SEC. The order does not name the technician or explain why the eighth server was missed.

No single mistake caused the losses. One server missed an update, a reused signal activated old code, warning emails were treated as routine, and staff had no clear incident procedure. Together, those failures turned a small deployment error into a crisis.

## What could have helped

It was reported that Knight had several chances to catch the problem before trading began. Old code was still on the system, one server had missed the update, and 97 emails mentioned Power Peg.

Knight needed to check that every server received the new code and that a second person verified the installation. The emails should have gone to someone responsible for acting on them.

A record of decisions during the incident could also have helped explain why staff removed the new code from the seven correctly updated servers. The SEC said Knight relied mainly on its technology team to fix the problem while trading continued.

## What governance should have looked like

Any change to a system that can move money needs a second person to check it, a written procedure and a test confirming every server is running the same version.

Remove code that is no longer used. Leaving it behind means a later change can bring it back into play.

Warnings need to reach someone who is expected to act. An email staff do not normally read is not an effective alert.

The firm also needed automatic limits that could halt trading when activity became abnormal, along with a rehearsed way to stop the system. Staff should not have to improvise a fix while the system is still trading.

The firm should have confirmed that every server was running the tested version before allowing the deployment to proceed. A record of changes, checks and alerts would have helped investigators establish where the deployment went wrong and who was responsible for each step.

**Failure Pattern:** Knight installed new code without a required second check, leaving old code active on one server. Warning emails were sent but not treated as alerts, and staff had no clear procedure for responding.

**Governance Principle:** systems that can move money need checked deployments, removal of retired code, alerts someone will act on, automatic limits and a rehearsed way to stop them.

## Sources

- [In the Matter of Knight Capital Americas LLC, Release No. 70694, Administrative Proceeding File No. 3-15570 (US Securities and Exchange Commission, 16 October 2013)](http://www.sec.gov/litigation/admin/2013/34-70694.pdf)
- [SEC charges Knight Capital with violations of market access rule, press release 2013-222 (US Securities and Exchange Commission, 16 October 2013)](https://www.sec.gov/news/press-release/2013-222)
- [KCG Holdings, Inc., Form 10-K for 2013 (US Securities and Exchange Commission EDGAR)](https://www.sec.gov/Archives/edgar/data/0001569391/000144530514000824/kcg2013123110-k.htm)

## Related

- [HD-INC-242](/library/HD-INC-242/)
- [HD-INC-261](/library/HD-INC-261/)
