# Pre-trade risk and market access: limits, sponsored access and kill switches

> A broker that lets orders into a market answers for them, whoever typed them and whatever machine sent them. After reading, you can say what direct market access, sponsored access and naked access are, what the SEC's Rule 15c3-5, Europe's RTS 6 and RTS 7, the CFTC's risk principles, B3's LiNe and the CVM's rules require, what each enforcement case says controls must do, how kill switches and cancel on disconnect work, and how to run an order through a set of pre-trade checks yourself.

Source: https://ronutz.com/en/learn/pre-trade-risk-and-market-access-controls  
Updated: 2026-11-23  
Related tools: https://ronutz.com/en/tools/incident-timeline-rca-builder

---

On 25 October 2012 a trader at Rochdale Securities, a United States (US) broker, sent orders to buy Apple shares through Morgan Stanley's electronic trading desk; he had, according to the US Securities and Exchange Commission (SEC), "intentionally enlarged the amount of Apple stock an actual customer wanted to purchase from 1,625 shares to 1,625,000 shares" ([SEC, press release 2014-274, 2014](https://www.sec.gov/newsroom/press-releases/2014-274)). The orders came in all day and reached about $525 million, against Rochdale's pre-set daily limit of $200 million at Morgan Stanley; the desk raised the limit to $500 million and then to $750 million "without conducting adequate due diligence", Rochdale lost $5.3 million, fell below its net capital requirement and ceased business, and Morgan Stanley paid a $4 million penalty for breaking the SEC's market access rule ([SEC, 2014-274](https://www.sec.gov/newsroom/press-releases/2014-274)). The order passed through every machine on its way. What failed was a limit, and the people allowed to move it.

This part of the series opened by [Electronic trading: from the pit to the microsecond](https://ronutz.com/en/learn/electronic-trading-from-the-pit-to-the-microsecond) follows [OMS and EMS: order and execution management systems](https://ronutz.com/en/learn/oms-and-ems-order-and-execution-management-systems), which ended where the broker's checks begin. After reading, you will understand who answers for an order sent to a market and why; what direct market access (DMA), sponsored access and "naked" access mean in the regulators' own words; what the SEC's Rule 15c3-5, the European Union's (EU) technical standards for algorithmic trading, the futures regulator's principles and Brazil's rules each require; what the enforcement cases say a control must actually do; how kill switches, mass cancels and cancel on disconnect work at the exchanges; and you will be able to run an order through a set of pre-trade checks, including B3's own limit formula, on worked examples. The story of Knight Capital's 45 minutes is told in [High-frequency trading: what it is and the dispute](https://ronutz.com/en/learn/high-frequency-trading-what-it-is-and-the-dispute) and [Knight Capital: forty-five minutes, and a rollback that spread the fault](https://ronutz.com/en/learn/knight-capital-and-the-rollback-that-made-it-worse); here it returns as a case about controls.

## Who answers for an order

Every exchange member, and every firm that lends its membership to others, signs its name to the orders that pass through. The SEC put it plainly when it adopted its rule in 2010: whatever the arrangement, "the broker-dealer with market access is legally responsible for all trading activity that occurs under its MPID", its market participant identifier ([SEC, Release 34-63241, Risk Management Controls for Brokers or Dealers with Market Access, 3 November 2010](https://www.sec.gov/files/rules/final/2010/34-63241.pdf)). The arrangements differ in where the customer's orders travel. Under direct market access, in the SEC's description, customers enter orders that flow through the broker-dealer's trading systems before reaching the market; "sponsored access generally refers to an arrangement whereby a broker-dealer permits customers to enter orders into a trading center that bypass the broker-dealer’s trading system and are routed directly to a trading center, in some cases supported by a service bureau or other third party technology provider" ([SEC, 2010](https://www.sec.gov/files/rules/final/2010/34-63241.pdf)). And "“Unfiltered” or “naked” access is generally understood to be a subset of sponsored access, where pre-trade filters or controls are not applied to orders before such orders are submitted to an exchange or ATS", an alternative trading system ([SEC, 2010](https://www.sec.gov/files/rules/final/2010/34-63241.pdf)). The Commission said its rule "will effectively prohibit any access to trading on an exchange or ATS, whether sponsored or otherwise, where pre-trade controls are not applied" ([SEC, 2010](https://www.sec.gov/files/rules/final/2010/34-63241.pdf)).

The SEC worried about how much trading went that way. Its release cited press reports, both based on research by the Aite Group, that sponsored access accounted for 50% of average daily volume in US equities and that unfiltered access accounted for an estimated 38%, and a commenter's range of 10% to 38% for naked access ([SEC, 2010](https://www.sec.gov/files/rules/final/2010/34-63241.pdf)). These were estimates by third parties, not the SEC's measurements. The Commission added that "some broker-dealers providing sponsored access may simply rely on assurances from their customers that appropriate risk controls are in place" ([SEC, 2010](https://www.sec.gov/files/rules/final/2010/34-63241.pdf)).

European law uses a wider term. The second Markets in Financial Instruments Directive (MiFID II) defines direct electronic access (DEA) as an arrangement in which a member of a trading venue "permits a person to use its trading code so the person can electronically transmit orders relating to a financial instrument directly to the trading venue", and divides it the same way: through the member's infrastructure it is "direct market access", without it "sponsored access" ([EU, Directive 2014/65/EU, article 4(1)(41), 15 May 2014](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32014L0065)). The International Organization of Securities Commissions (IOSCO), the global body of securities regulators, had set principles for direct electronic access in August 2010, asking markets not to permit it without effective controls and intermediaries to use automated pre-trade controls on their customers' orders ([IOSCO, Principles for Direct Electronic Access to Markets, FR08/10, August 2010](https://www.iosco.org/library/pubdocs/pdf/IOSCOPD332.pdf)). In Brazil, B3 (Brasil, Bolsa, Balcão) calls its sponsored arrangement the conexão direta patrocinada, a client sending orders straight to the trading system under a broker's responsibility and limits, as [Brazil: BM&F, Bovespa, B3 and electronic access](https://ronutz.com/en/learn/brazil-bmf-bovespa-b3-and-electronic-access) explains.

| Arrangement | Whose systems the order crosses | Who sets the limits | Terms used |
|---|---|---|---|
| Ordinary brokerage, including the broker's algorithms | Broker's OMS, algorithms and gateway | Broker | Agency brokerage |
| Direct market access | Broker's gateway, but the client decides the order | Broker | DMA (SEC, MiFID II); DMA connection (B3) |
| Sponsored access | Neither the broker's nor its systems; a vendor's or the exchange's risk gateway | Broker, through that gateway | Sponsored access (SEC, MiFID II); conexão direta patrocinada (B3) |
| Naked or unfiltered access | No pre-trade filter at all | Nobody before the order reaches the market | Effectively prohibited in the US by Rule 15c3-5 |

Sources: [SEC, 2010](https://www.sec.gov/files/rules/final/2010/34-63241.pdf); [EU, Directive 2014/65/EU](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32014L0065); [Financial Information eXchange (FIX) Trading Community, Recommended Risk Control Guidelines, 2012](https://fixtrading.org/download/recommended-risk-control-guidelines-2012/); [B3, Trading Operating Procedures Manual (in Portuguese), 1 July 2026](https://www.b3.com.br/data/files/CF/D0/64/95/753D0A105BF9020AAC094EA8/MPO%20de%20Negociacao%20da%20B3.pdf).

## Before the rule: self-regulation and the futures industry

The controls are older than the law that made them compulsory. In futures, the National Futures Association (NFA), the industry's self-regulatory organization, issued an interpretive notice on 21 June 2002, revised on 12 December 2006, on supervising automated order-routing systems: such a system "should allow the Member to set limits for each customer based on commodity, quantity, and type of order or based on margin requirements", and "to impose limits pre-execution and to automatically block any orders that exceed those limits" ([NFA, Interpretive Notice 9046](https://www.nfa.futures.org/rulebook/rules.aspx?RuleID=9046&Section=9)). The notice left room for judgement: a member "does not have to impose pre-execution controls on all customers", but should use them for direct access systems it cannot monitor promptly ([NFA, Interpretive Notice 9046](https://www.nfa.futures.org/rulebook/rules.aspx?RuleID=9046&Section=9)). In equities, the SEC noted in 2010 that exchanges' and other self-regulatory organizations' "rules and interpretations governing electronic access to markets have sought to address the risks of this activity", and decided they were not enough ([SEC, 2010](https://www.sec.gov/files/rules/final/2010/34-63241.pdf)).

## SEC Rule 15c3-5 (2010): what it requires

The Commission adopted Rule 15c3-5 on 3 November 2010; it was published on 15 November 2010, took effect on 14 January 2011 and had a compliance date of 14 July 2011 ([SEC, Release 34-63241, 3 November 2010](https://www.sec.gov/files/rules/final/2010/34-63241.pdf); [Federal Register, 15 November 2010](https://www.govinfo.gov/content/pkg/FR-2010-11-15/pdf/2010-28303.pdf)); the compliance date for some of its requirements was later extended to 30 November 2011 ([SEC, In the Matter of Knight Capital Americas LLC, 16 October 2013](https://www.sec.gov/files/litigation/admin/2013/34-70694.pdf)). It applies to brokers or dealers with access to an exchange or an ATS and to those that provide access to others "through use of its market participant identifier or otherwise" ([Code of Federal Regulations (CFR), 17 CFR 240.15c3-5, via Cornell Legal Information Institute](https://www.law.cornell.edu/cfr/text/17/240.15c3-5)). Its core is a list.

| Paragraph | What the controls must be reasonably designed to do |
|---|---|
| (c)(1)(i) | "Prevent the entry of orders that exceed appropriate pre-set credit or capital thresholds in the aggregate for each customer and the broker or dealer" |
| (c)(1)(ii) | "Prevent the entry of erroneous orders, by rejecting orders that exceed appropriate price or size parameters, on an order-by-order basis or over a short period of time, or that indicate duplicative orders" |
| (c)(2)(i) | Block orders unless every regulatory requirement that must be met before entry has been met |
| (c)(2)(ii) | Block orders in securities the firm or customer is restricted from trading |
| (c)(2)(iii) | Restrict market access systems "to persons and accounts pre-approved and authorized by the broker or dealer" |
| (c)(2)(iv) | Give surveillance staff "immediate post-trade execution reports" |
| (d) | Keep the controls "under the direct and exclusive control" of the broker-dealer, with a narrow exception for allocating some regulatory controls to a broker-dealer customer by written contract |
| (e) | Review the controls at least annually; the chief executive officer (CEO) certifies each year that they comply |

Source for every row: [17 CFR 240.15c3-5](https://www.law.cornell.edu/cfr/text/17/240.15c3-5); [SEC, 2010](https://www.sec.gov/files/rules/final/2010/34-63241.pdf).

The SEC's staff later answered questions about scope. The rule covers every order, "whether entered manually by a trader or generated automatically by a computer", and "applies to all orders, including market maker quotes" ([SEC, Division of Trading and Markets, Responses to Frequently Asked Questions Concerning Risk Management Controls for Brokers or Dealers with Market Access, 15 April 2014, last reviewed 6 June 2014](https://www.sec.gov/rules-regulations/staff-guidance/trading-markets-frequently-asked-questions/divisionsmarketregfaq-0)). It does not apply to a broker-dealer that only clears for others without providing market access ([SEC staff, 2014](https://www.sec.gov/rules-regulations/staff-guidance/trading-markets-frequently-asked-questions/divisionsmarketregfaq-0)).

### The SEC's own arithmetic

The adopting release explained the need for pre-trade controls with a calculation. "Today, order placement rates can exceed 1,000 orders per second with the use of high-speed, automated algorithms", it said; if such an algorithm "malfunctioned and placed repetitive orders with an average size of 300 shares and an average price of $20, a two-minute delay in the detection of the problem could result in the entry of, for example, 120,000 orders valued at $720 million" ([SEC, 2010](https://www.sec.gov/files/rules/final/2010/34-63241.pdf)). The figures check: 1,000 orders a second for 120 seconds is 120,000 orders; each is 300 × $20 = $6,000; 120,000 × $6,000 = $720,000,000. A control that acts after a human notices, two minutes late, has already let the whole amount through. That is the argument for checks placed before the market, and for a figure that is checked in aggregate, not only order by order.

## Enforcement: what the cases say a control must do

The SEC's first case under the rule was Knight Capital in 2013; by 2016 it called a $12.5 million penalty against Merrill Lynch "the highest-ever SEC penalty for violations of the Market Access Rule" ([SEC, press release 2013-222, 16 October 2013](https://www.sec.gov/newsroom/press-releases/2013-222); [SEC, press release 2016-192, 2016](https://www.sec.gov/newsroom/press-releases/2016-192)). Each case adds a sentence to the description of a working control.

| Firm, release | What happened | What the SEC found missing | Outcome |
|---|---|---|---|
| Knight Capital, 2013 | 1 August 2012: millions of orders from one router in 45 minutes | Controls immediately before orders left one router; firm-wide capital thresholds linked to automated controls | $12 million penalty; the SEC's first case under the rule |
| Wedbush Securities, 2014 | Customers' orders sent through platforms the broker did not control, July 2011 into 2013 | Direct and exclusive control of the settings; access limited to pre-approved people; an adequate annual review | Contested charges in 2014; a settled order followed on 20 November 2014 |
| Morgan Stanley, 2014 | 25 October 2012: a customer's trader sent about $525 million of orders against a $200 million limit | A credit limit that held; procedures for raising it | $4 million penalty |
| Goldman Sachs, 2015 | 20 August 2013: about 16,000 mispriced options orders in under an hour | Reasonable price checks before the opening; message-rate blocks that staff could not simply lift; capital usage computed continuously | $7 million penalty |
| Merrill Lynch, 2016 | At least 15 mini-flash crashes from late 2012 to mid-2014 | Limits set at levels that would actually bind | $12.5 million penalty, then the highest under the rule |
| Wilson-Davis, 2016 | Proprietary trading without the required controls | Controls, reviews and a CEO certification made with knowledge of the rule | First CEO charged over the certification |

Sources: Knight ([SEC, 2013-222](https://www.sec.gov/newsroom/press-releases/2013-222); [SEC, order of 16 October 2013](https://www.sec.gov/files/litigation/admin/2013/34-70694.pdf)); Wedbush ([SEC, press release 2014-115, 2014](https://www.sec.gov/newsroom/press-releases/2014-115); the settled order, Release 34-73652 of 20 November 2014, as cited in [SEC staff, Report on Algorithmic Trading in U.S. Capital Markets, 5 August 2020](https://www.sec.gov/files/Algo_Trading_Report_2020.pdf)); Morgan Stanley ([SEC, 2014-274](https://www.sec.gov/newsroom/press-releases/2014-274)); Goldman Sachs ([SEC, press release 2015-133, 2015](https://www.sec.gov/newsroom/press-releases/2015-133)); Merrill Lynch ([SEC, 2016-192](https://www.sec.gov/newsroom/press-releases/2016-192)); Wilson-Davis ([SEC, press release 2016-266, 2016](https://www.sec.gov/newsroom/press-releases/2016-266)).

### Knight Capital, read as a market access case

The engineering of Knight's failure, the eighth server and the reused flag, is told in the articles linked above. The SEC's order also describes the controls, and they explain why the orders kept flowing once the code misbehaved. Knight "did not have pre-set capital thresholds in the aggregate for the firm that were linked to automated controls that would prevent the entry of orders if the thresholds were exceeded" ([SEC, order of 16 October 2013](https://www.sec.gov/files/litigation/admin/2013/34-70694.pdf)). Executions that its systems could not match to a parent order landed in an account called the 33 Account, which had a $2 million gross position limit "but it did not link this account to any automated controls concerning Knight’s overall financial exposure" ([SEC, 2013](https://www.sec.gov/files/litigation/admin/2013/34-70694.pdf)). Its main risk monitor, PMON, was "a post-execution position monitoring system" that "relied entirely on human monitoring and did not generate automated alerts", did not display the limits, and lagged during high volume ([SEC, 2013](https://www.sec.gov/files/litigation/admin/2013/34-70694.pdf)). The SEC also found Knight's written description of its controls incomplete, its review of them inadequate, and its CEO certification for 2012 defective ([SEC, 2013](https://www.sec.gov/files/litigation/admin/2013/34-70694.pdf)). Knight had limits; they watched positions after the fact and were not wired to the gate.

### Limits that never bind

Merrill Lynch's case is about the setting, not the existence, of a control. The SEC found that its controls "were set at levels so high that it rendered them ineffective": "Merrill Lynch applied a limit of 5 million shares per order for one stock that only traded around 79,000 shares per day", and "Other trading strategies had limits set as high as 25 million shares, which Merrill Lynch reduced to 50,000 shares after the SEC’s investigation began" ([SEC, 2016-192](https://www.sec.gov/newsroom/press-releases/2016-192)). A limit of 5,000,000 shares on a stock trading 79,000 a day is about 63 times its daily volume; the reduction from 25,000,000 to 50,000 is a factor of 500. The orders that passed caused, among others, 99% drops in Anadarko Petroleum on 17 May 2013 and in Qualys on 25 April 2013, and a fall of nearly 3% in Google in under a second on 22 April 2013 ([SEC, 2016-192](https://www.sec.gov/newsroom/press-releases/2016-192)).

Goldman Sachs's case adds two more. Its options price checks before the opening were "unreasonably wide", so that thousands of orders priced at $1 were not intercepted; and on the day of the incident "a Goldman employee lifted several electronic circuit breaker blocks that automatically shut off outgoing options order messages once the rate of messages exceeded a certain level" ([SEC, 2015-133](https://www.sec.gov/newsroom/press-releases/2015-133)). Separately, the firm "only computed its capital usage level every 30 minutes" and had no automated shut-off on breaching its capital threshold ([SEC, 2015-133](https://www.sec.gov/newsroom/press-releases/2015-133)). A control that a person can switch off, or one that looks at the firm's exposure twice an hour, behaves like no control at the moment it matters.

### Controls relaxed for a customer

The Lek Securities case shows the other direction of pressure. The SEC alleged in 2017 that the New York broker gave a Ukraine-based customer, Avalon FA, access to US markets and "relaxed its layering controls after Avalon complained", layering being a manipulation that places and cancels orders to mislead others ([SEC, press release 2017-63, 2017](https://www.sec.gov/newsroom/press-releases/2017-63)). The charges were for fraud and manipulation, not under the market access rule; on 1 October 2019 a federal judge entered final judgments by consent, with admissions, a three-year injunction largely barring intraday trading for foreign customers, an independent compliance monitor, a $1 million penalty for the firm plus $525,892 in disgorgement and interest, and a $420,000 penalty and industry bar for its chief executive ([SEC, Litigation Release 24639, 2019](https://www.sec.gov/litigation/litreleases/lr-24639); [SEC, press release 2019-205, 2019](https://www.sec.gov/newsroom/press-releases/2019-205)). Spoofing and layering themselves are the subject of [Surveillance and regulatory reporting](https://ronutz.com/en/learn/surveillance-and-regulatory-reporting-mifid-ii-cat-and-cvm).

## Europe: article 17, RTS 6 and RTS 7

MiFID II wrote the duty into the directive. An investment firm engaged in algorithmic trading must have "effective systems and risk controls" that keep its systems "subject to appropriate trading thresholds and limits and prevent the sending of erroneous orders", and a firm that provides direct electronic access must ensure that "clients using the service are prevented from exceeding appropriate pre-set trading and credit thresholds" ([EU, Directive 2014/65/EU, article 17(1) and (5)](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32014L0065)). The details are in two regulatory technical standards (RTS): Commission Delegated Regulation (EU) 2017/589 of 19 July 2016, known as RTS 6, for investment firms, and Delegated Regulation (EU) 2017/584 of 14 July 2016, known as RTS 7, for trading venues; RTS 6 applies from 3 January 2018 and RTS 7 from the date MiFID II itself applied ([EU, Regulation 2017/589](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32017R0589); [EU, Regulation 2017/584](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32017R0584)).

RTS 6 names the checks. Article 15 requires, "for all financial instruments", four pre-trade controls on order entry: "price collars, which automatically block or cancel orders that do not meet set price parameters"; "maximum order values"; "maximum order volumes"; and "maximum messages limits" ([EU, Regulation 2017/589, article 15](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32017R0589)). The same article requires "repeated automated execution throttles" that disable a strategy after a set number of executions "until re-enabled by a designated staff member", market and credit limits based on the firm's capital and strategy, automatic blocking of orders from traders without permission for an instrument, and procedures for releasing orders that a control blocked ([EU, Regulation 2017/589, article 15](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32017R0589)). Article 12 requires a kill functionality: the firm "shall be able to cancel immediately, as an emergency measure, any or all of its unexecuted orders submitted to any or all trading venues", and must be able to tell which algorithm, trader, desk or client is responsible for each order ([EU, Regulation 2017/589, article 12](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32017R0589)). Article 16 requires real-time monitoring by the trader in charge and by an independent risk function, with alerts "generated within five seconds after the relevant event"; article 17 requires post-trade controls and reconciliation of the firm's own logs with what venues and brokers report ([EU, Regulation 2017/589, articles 16 and 17](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32017R0589)).

Two further duties shape how firms test. Every year a firm must run a self-assessment and validation of its algorithmic systems, approved by senior management, and a stress test that includes "running high messaging volume tests using the highest number of messages received and sent by the investment firm during the previous six months, multiplied by two" ([EU, Regulation 2017/589, articles 9 and 10](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32017R0589)). For direct electronic access, "the orders of a DEA client shall always pass through the pre-trade controls that are set and controlled by the DEA provider", and a provider whose clients use third-party trading software must make sure that software has equivalent pre-trade controls ([EU, Regulation 2017/589, articles 20 and 22](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32017R0589)).

RTS 7 puts a matching set at the venue. A trading venue must carry out pre-trade controls on price, order value and order volume, reject an order "once a limit is breached", and monitor with "a delay of no more than five seconds" ([EU, Regulation 2017/584, article 20](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32017R0584)). It must be able to "operate a kill functionality to cancel unexecuted orders submitted by a member, or by a sponsored access client" on the member's request, when duplicated erroneous orders fill the book, or after a suspension, and it must set out policies on "members' obligation to operate their own kill functionality" and on order throttling ([EU, Regulation 2017/584, article 18](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32017R0584)). Sponsored access needs the venue's authorization, and only the sponsoring firm may set the parameters of the controls on its clients' order flow ([EU, Regulation 2017/584, article 22](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32017R0584)).

### A London case: 2 May 2022

The case of Citigroup Global Markets Limited (CGML), introduced in the previous part, is the clearest public account of these controls working and failing on one morning. The United Kingdom's (UK) Financial Conduct Authority (FCA) stated its expectation in the final notice: "It is essential that systems, including internal order management systems that have the capability to send instructions to create orders in algorithmic trading systems, have suitable and robust pre trade controls" ([FCA, Final Notice to CGML, 22 May 2024](https://www.fca.org.uk/publication/final-notices/citigroup-global-markets-limited-2024.pdf)).

| Time, 2 May 2022 | What happened |
|---|---|
| Morning | A trader means to sell a basket worth $58 million and enters the value "in the wrong field, the unit quantity field rather than the notional value field"; the basket's notional is $444 billion across 349 stocks |
| 08:48 | The desk that monitors internal algorithmic executions hands over to the desk that watches client flow, because of scheduled leave |
| 08:56 | A "Trade Limit Warning" pop-up shows 711 warnings, hard and soft, of which only the first 18 lines are visible without scrolling; the trader overrides the soft warnings |
| Next | Two hard blocks in the order management system stop $248 billion; the trader confirms the remaining $196 billion |
| Next | Controls in CitiSmart, the algorithmic system, block seven orders; $189 billion goes to a volume-weighted average price (VWAP) algorithm to be sold over the day |
| While executing | Four further controls suspend 242 orders worth $163 billion; $1.4 billion is executed on European exchanges |
| 09:10 | The trader cancels the remaining orders |
| 09:31 | The trading risk team's escalation reaches the monitoring desk, 20 minutes after the cancellation; its system had filtered out all but eight of the alerts |

Source for every row: [FCA, Final Notice to CGML, 22 May 2024](https://www.fca.org.uk/publication/final-notices/citigroup-global-markets-limited-2024.pdf). The FCA said that "there was no hard block that would have rejected this large erroneous basket of equities in its entirety", that the pop-up could be overridden without reading it, and that real-time monitoring "was too slow to escalate internal alerts" ([FCA, press release, 22 May 2024](https://www.fca.org.uk/news/press-releases/fca-fines-cgml-27-million)). It fined CGML £27,766,200 after a 30% settlement discount, from £39,666,000, for breaches of its Principles 2 and 3 and of rule 7A.3.2 of its Market Conduct sourcebook, the British rule that "requires firms that engage in algorithmic trading to have in place effective systems and controls"; the Prudential Regulation Authority (PRA) fined the firm £33,880,000 the same day ([FCA, 22 May 2024](https://www.fca.org.uk/news/press-releases/fca-fines-cgml-27-million); [Bank of England, PRA fines CGML, 22 May 2024](https://www.bankofengland.co.uk/news/2024/may/pra-fines-citygroup-global-markets-limited)).

The numbers make the case's point. Controls stopped $248 billion, then $7 billion, then suspended $163 billion: about $418 billion of the $444 billion, or 94%. The 0.3% that was executed, $1.4 billion, was enough to move European indices for a few minutes ([FCA, 2024](https://www.fca.org.uk/news/press-releases/fca-fines-cgml-27-million)). Most of the controls worked; the one that was missing was the one that would have rejected the whole basket at the start.

When the European Securities and Markets Authority (ESMA) reviewed the algorithmic trading regime in 2021, it proposed, among other changes, extending some requirements to systematic internalizers (SIs), investment firms that deal on their own account when executing client orders outside trading venues ([EU, Directive 2014/65/EU, article 4(1)(20)](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32014L0065)), including "a kill functionality and other risk controls" ([ESMA, MiFID II/MiFIR review report on algorithmic trading, ESMA70-156-4572, 28 September 2021](https://www.esma.europa.eu/sites/default/files/library/esma70-156-4572_mifid_ii_final_report_on_algorithmic_trading.pdf)). The same report records that Japan amended its Financial Instruments and Exchange Act in May 2017 to require anyone doing "High-Speed Trading" in its market to register as a "High-Speed Trader" ([ESMA, 2021](https://www.esma.europa.eu/sites/default/files/library/esma70-156-4572_mifid_ii_final_report_on_algorithmic_trading.pdf)).

## Futures: a rule withdrawn and principles adopted

The US futures regulator, the Commodity Futures Trading Commission (CFTC), took a longer road. It published a concept release on risk controls for automated trading in the Federal Register (FR) on 12 September 2013, then proposed Regulation Automated Trading (Regulation AT) on 17 December 2015 and a supplemental proposal on 25 November 2016 ([CFTC, concept release, 78 FR 56542, 12 September 2013](https://www.govinfo.gov/content/pkg/FR-2013-09-12/pdf/2013-22185.pdf); [CFTC, Regulation AT, 80 FR 78824, 17 December 2015](https://www.govinfo.gov/content/pkg/FR-2015-12-17/pdf/2015-30533.pdf); [CFTC, supplemental proposal, 81 FR 85334, 25 November 2016](https://www.govinfo.gov/content/pkg/FR-2016-11-25/pdf/2016-27250.pdf)). The first proposal drew 54 comment letters; the views included "opposition to the proposed three-level risk control framework", opposition to registering automated traders, "opposition to provisions relating to source code preservation and accessibility to the Commission without a subpoena" and "opposition to prescriptive, one-sized fits all rules"; the supplemental version cut the controls to two levels, the trader or its futures commission merchant (FCM), the broker, and the exchange ([CFTC, Regulation Automated Trading; Withdrawal, 85 FR 42755, 15 July 2020](https://www.govinfo.gov/content/pkg/FR-2020-07-15/html/2020-14383.htm)). On 15 July 2020 the CFTC withdrew both proposals ([CFTC, 15 July 2020](https://www.govinfo.gov/content/pkg/FR-2020-07-15/html/2020-14383.htm)).

What replaced them binds the exchanges. The Electronic Trading Risk Principles, effective on 11 January 2021 with compliance by 12 July 2021, require each designated contract market (DCM), a futures exchange, to adopt rules for participants to prevent, detect and mitigate market disruptions and system anomalies, to implement "exchange-based pre-trade risk controls for all electronic orders", and to notify CFTC staff promptly of significant disruptions ([CFTC, Electronic Trading Risk Principles, 86 FR 2048, 11 January 2021](https://www.govinfo.gov/content/pkg/FR-2021-01-11/html/2020-27622.htm)). The comments split along familiar lines: most commenters, including CME Group, the Futures Industry Association (FIA) and other exchanges and trade bodies, "supported a principles-based approach", while Americans for Financial Reform Education Fund, Better Markets, the Institute for Agriculture and Trade Policy and an individual commenter "disagreed with the Commission's principles-based approach, and asserted that the incentives of DCMs and public regulators are not fully aligned", Better Markets calling the principles "too imprecise and unenforceable" ([CFTC, 2021](https://www.govinfo.gov/content/pkg/FR-2021-01-11/html/2020-27622.htm)).

The industry's own standard is the FIA's, updated in July 2024. Its first recommendation sets the order of priorities: "Localized pre-trade risk controls, not credit controls, should be the primary tools used to prevent inadvertent market activity due to unauthorized access, system failures and errors", placed at the trader, the broker and the exchange, with the same check, such as a maximum order size, often repeated at each level from a different point of view ([FIA, Best Practices for Automated Trading Risk Controls and System Safeguards, July 2024](https://fia.org/sites/default/files/2024-07/FIA_WP_AUTOMATED%20TRADING%20RISK%20CONTROLS_FINAL_0.pdf)). It adds that "Systems should prevent orders from being placed in cases where no order size limits have been set for an instrument" ([FIA, 2024](https://fia.org/sites/default/files/2024-07/FIA_WP_AUTOMATED%20TRADING%20RISK%20CONTROLS_FINAL_0.pdf)), the opposite of a default that lets everything through.

CME Group's tools show what an exchange offers a clearing firm's risk administrator: monetary and position limits, limit alerts, blocking new orders, cancelling open orders, cancel on disconnect, maximum order size, self-match prevention, order and trade copies, and product permissions, all "offered by CME Group on a best-efforts basis" ([CME Group, Risk Management Services, client systems wiki, read 16 November 2026](https://cmegroupclientsite.atlassian.net/wiki/spaces/EPICSANDBOX/pages/457412195/Risk+Management+Services)). Its credit control front end, CME Globex Credit Controls, rejects an order above a set clip size with the text "Credit Limit Violation: Order Quantity x exceeds Clip Size: y" ([CME Group, CME Globex Credit Controls](https://cmegroupclientsite.atlassian.net/wiki/spaces/EPICSANDBOX/pages/457219125/CME+Globex+Credit+Controls)).

## Kill switches, mass cancels and cancel on disconnect

A kill switch is the control of last resort, and the sources agree on what it does while differing on who holds it. The FIA defines it as "a control that, when activated, immediately disables all trading activity for a particular participant or group of participants, typically preventing the ability to enter new orders and cancelling all working orders" ([FIA, 2024](https://fia.org/sites/default/files/2024-07/FIA_WP_AUTOMATED%20TRADING%20RISK%20CONTROLS_FINAL_0.pdf)).

| Where | Name | What it does | Who can pull it |
|---|---|---|---|
| Investment firm, EU | Kill functionality (RTS 6, article 12) | Cancels any or all unexecuted orders on any or all venues, immediately | The firm |
| Trading venue, EU | Kill functionality (RTS 7, article 18) | Cancels a member's or sponsored client's unexecuted orders | The venue, on request or in set circumstances |
| CME Group | Kill Switch | "immediately block all new order entry and cancel all working orders" | Clearing and execution firm risk administrators |
| New York Stock Exchange (NYSE) | Pre-Trade Risk Controls, Rule 7.19 | Automated breach actions, up to "Cancel and Block", when a firm's limits are breached | Entering firm and its clearing firm, in advance |
| B3 | Mass cancel with block; LiNe blocked mode | Cancels a connection's or client's offers and blocks the connection or client; blocks a client, account or operator | Participant, client (for its own orders) or B3 |
| FIX protocol | OrderMassCancelRequest (35=q) | Requests cancellation of "all of the remaining quantity of a group of orders matching criteria" | Whoever holds the session |

Sources: [EU, Regulation 2017/589, article 12](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32017R0589); [EU, Regulation 2017/584, article 18](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32017R0584); [CME Group, Risk Management Services](https://cmegroupclientsite.atlassian.net/wiki/spaces/EPICSANDBOX/pages/457412195/Risk+Management+Services); [SEC, NYSE notice of proposed Rule 7.19, 11 December 2019](https://www.govinfo.gov/content/pkg/FR-2019-12-17/html/2019-27082.htm) and [SEC, NYSE notice amending Rule 7.19, 5 March 2024](https://www.sec.gov/files/rules/sro/nyse/2024/34-99677.pdf); [B3, Trading Operating Procedures Manual (in Portuguese), 1 July 2026](https://www.b3.com.br/data/files/CF/D0/64/95/753D0A105BF9020AAC094EA8/MPO%20de%20Negociacao%20da%20B3.pdf); [B3, LiNe 5.0 Working Manual (in Portuguese), undated](https://www.b3.com.br/data/files/E3/94/BF/D6/5F2F6610E634FD66AC094EA8/LiNe-Trading-Manual-de-Telas.pdf); [FIX Latest, OrderMassCancelRequest](https://orchimate.org/fixtrading/fix-latest/messages/OrderMassCancelRequest).

The NYSE's rule shows the design choices. Its 2019 filing defined limits such as a "Single Order Maximum Notional Value Risk Limit" and a "Gross Credit Risk Limit", let an entering firm and its clearing firm both set them, enforced "the more restrictive limit" when they differ, and made the breach actions automatic, so that the exchange "would not need further direction" from either firm to act ([SEC, NYSE notice, 11 December 2019](https://www.govinfo.gov/content/pkg/FR-2019-12-17/html/2019-27082.htm)). The NYSE added the rule in 2020 as a set of "optional pre-trade risk controls" and extended it in 2024 ([SEC, NYSE notice, 5 March 2024](https://www.sec.gov/files/rules/sro/nyse/2024/34-99677.pdf)).

The FIA puts the kill switch in its place. It "may provide exchanges, brokers and market participants with an immediate and effective way to remove or reduce risk", but should be "only invoked based on a qualitative decision taken as a last resort", and "In an environment where adequate pre-trade risk controls are implemented at all appropriate levels, i.e., the market participant, broker and exchange, a kill switch may ultimately be considered redundant" ([FIA, 2024](https://fia.org/sites/default/files/2024-07/FIA_WP_AUTOMATED%20TRADING%20RISK%20CONTROLS_FINAL_0.pdf)). Where a broker relies on an exchange tool for a direct access customer, "the automated trader should not be able to override a kill switch invoked by the broker" ([FIA, 2024](https://fia.org/sites/default/files/2024-07/FIA_WP_AUTOMATED%20TRADING%20RISK%20CONTROLS_FINAL_0.pdf)).

Cancel on disconnect (COD) is the automatic cousin of the kill switch, triggered by losing the session rather than by a person; [Anatomy of a FIX message and the session layer](https://ronutz.com/en/learn/anatomy-of-a-fix-message-and-the-session-layer) describes how a FIX session detects the loss. Exchanges set it differently. At CME Group it is "mandatory across all iLink sessions", with one exception for a class of gateway sessions, it acts on "involuntary lost connections", it does not cancel good-till-cancel or good-till-date orders, and "There is no charge for the COD service" ([CME Group, Cancel on Disconnect, client systems wiki](https://cmegroupclientsite.atlassian.net/wiki/spaces/EPICSANDBOX/pages/457216487/Cancel+on+Disconnect)). At B3 the default is the opposite, "not to cancel offers in the event of disconnection" (our translation here and below), and the participant chooses among cancelling on involuntary disconnection, on voluntary disconnection, or on both, with a grace period in milliseconds to reconnect ([B3, Trading Operating Procedures Manual (in Portuguese), 1 July 2026](https://www.b3.com.br/data/files/CF/D0/64/95/753D0A105BF9020AAC094EA8/MPO%20de%20Negociacao%20da%20B3.pdf)). The FIA recommends that the function be optional, since it may mitigate risk or add to it ([FIA, 2024](https://fia.org/sites/default/files/2024-07/FIA_WP_AUTOMATED%20TRADING%20RISK%20CONTROLS_FINAL_0.pdf)). How the cancelled orders are then reported to the client, with the restatement reasons B3 and the FIX standard each define for them, is in [The life of an order in FIX](https://ronutz.com/en/learn/the-life-of-an-order-in-fix).

## Brazil: B3's LiNe and the CVM's rules

Brazil's securities regulator, the Comissão de Valores Mobiliários (CVM), requires a broker that receives orders by DMA to try to identify their origin and to keep a pre-trade risk control system with operating limits and error parameters, under article 16 of Resolução CVM 35 of 2021, as [The rules that rewired markets](https://ronutz.com/en/learn/the-rules-that-rewired-markets-reg-ats-reg-nms-mifid-and-brazil) and [Brazil: BM&F, Bovespa, B3 and electronic access](https://ronutz.com/en/learn/brazil-bmf-bovespa-b3-and-electronic-access) set out. The CVM's market structure rule of 2022, Resolução CVM 135, adds duties for the exchange itself: an operator's business continuity plans must cover, among its critical processes, "pre-trade risk management" (article 105), and an applicant for authorization must describe the procedures it will use against "incorrect offers or offers incompatible with the intraday risk limits", the loss of a participant's connection, attempts at price manipulation and overloads of message volume ([CVM, Resolução CVM 135, 10 June 2022, consolidated text, article 105 and annex B, item 9.1](https://conteudo.cvm.gov.br/export/sites/cvm/legislacao/resolucoes/anexos/100/resol135consolid.pdf)).

B3's trading procedures manual turns these into rules in a chapter on technological risk control. Its first sentence is a mandate: "the use of the pre-trade risk control tool developed by B3 is compulsory for all offers sent to the trading platform"; participants must configure their own risk policies' limits in it, and "If additional controls are needed, participants must develop and implement" them themselves ([B3, Trading Operating Procedures Manual (in Portuguese), 1 July 2026](https://www.b3.com.br/data/files/CF/D0/64/95/753D0A105BF9020AAC094EA8/MPO%20de%20Negociacao%20da%20B3.pdf)). The same chapter sets the other controls:

- **Message control.** B3 counts offers registered, modified and cancelled against trades and against volume, and charges for the excess each month: the charge is the larger of A = (messages − Ratio A × trades − F) × C and B = (messages − Ratio B × volume − F) × C, where F is a monthly allowance and C is 0.01 for shares and futures and 0.001 for options ([B3, 2026](https://www.b3.com.br/data/files/CF/D0/64/95/753D0A105BF9020AAC094EA8/MPO%20de%20Negociacao%20da%20B3.pdf)).
- **Market protection.** A participant sets parameters that, when reached within a time interval, cancel its resting offers and stop new ones: by fully executed offers, by number of executions, by quantity traded, by the imbalance of buys and sells, or by the aggregate delta of options on one underlying ([B3, 2026](https://www.b3.com.br/data/files/CF/D0/64/95/753D0A105BF9020AAC094EA8/MPO%20de%20Negociacao%20da%20B3.pdf)).
- **Throttle.** B3 sets a maximum number of offer messages per second for each connection, and the participant chooses whether excess messages are rejected or queued ([B3, 2026](https://www.b3.com.br/data/files/CF/D0/64/95/753D0A105BF9020AAC094EA8/MPO%20de%20Negociacao%20da%20B3.pdf)).
- **Self-trade prevention.** An optional function that stops a client's buy and sell offers carrying the same identifier from trading with each other during continuous trading ([B3, 2026](https://www.b3.com.br/data/files/CF/D0/64/95/753D0A105BF9020AAC094EA8/MPO%20de%20Negociacao%20da%20B3.pdf)).
- **Cancel on disconnect and mass cancel.** As described above; a mass cancel can also block the connection or the client identifier afterwards, and a client may cancel its own offers across all its DMA connections, but only through binary gateways ([B3, 2026](https://www.b3.com.br/data/files/CF/D0/64/95/753D0A105BF9020AAC094EA8/MPO%20de%20Negociacao%20da%20B3.pdf)).

The manual also lists what B3 may do when a participant misuses the tool or the limits it assigns: warn in writing, "immediately block the connections not connected to the pre-trade risk control tool that are in use by clients classified as high frequency", limit the participant's order flow, or take other prudential measures ([B3, 2026](https://www.b3.com.br/data/files/CF/D0/64/95/753D0A105BF9020AAC094EA8/MPO%20de%20Negociacao%20da%20B3.pdf)). B3 publishes a graded regime of fines for repeated breaches of client limits, including breaches of the "pre-trade residual risk limit (LiNe)" ([B3, Circular Letter 048/2023-PRE (in Portuguese), 6 April 2023](https://www.b3.com.br/data/files/5C/94/06/8A/5375781064456178AC094EA8/OC%20048-2023%20PRE%20Reincid%C3%AAncia%20de%20Viola%C3%A7%C3%B5es%20(PT).pdf)).

### LiNe: the risk check in the order's path

The tool is LiNe, now in version 5. B3 describes it as integrated into its PUMA trading platform, letting participants "set pre-trade limits and monitor the clients trading in the markets managed by B3, whatever the form of access (DMA, trading desk or investment adviser)" ([B3, LiNe Trading, undated](https://b3.com.br/pt_br/solucoes/plataformas/gestao-de-risco/line-5/line-trading/)). Its architecture moved the check out of the order entry gateways into a component B3 calls the risk centre, one per matching core, which B3 says guarantees first-in, first-out ordering and lets a client reach the market through more than one gateway ([B3, LiNe architecture (in Portuguese), undated](https://b3.com.br/pt_br/solucoes/plataformas/gestao-de-risco/line-5/arquitetura/)); in B3's words, "The Trading centre, which is in the critical path of the offer" ([B3, LiNe Trading](https://b3.com.br/pt_br/solucoes/plataformas/gestao-de-risco/line-5/line-trading/)).

LiNe splits its measures in two. Before an offer reaches the matching core, the Trading risk centres check the maximum offer size for buys and sells (TMOC and TMOV), the potential buy and sell balance per instrument (SPCI and SPVI) and the balance of forward operations per client (STD), "rejecting the offers if they breach one or more limits" ([B3, LiNe Trading](https://b3.com.br/pt_br/solucoes/plataformas/gestao-de-risco/line-5/line-trading/)). After the offer or trade reaches the core, the Clearing risk centres evaluate aggregate measures: the potential uncovered short sale balance (SPVD), the potential debit balance (SDP), the day-trade financial balance (SFD) and two measures of market risk (RMKT and RMKTN) ([B3, LiNe Clearing, undated](https://b3.com.br/pt_br/solucoes/plataformas/gestao-de-risco/line-5/line-clearing/)). B3 sets a maximum for each instrument that applies to all participants, which a participant may lower but not exceed ([B3, LiNe, Conceptual Manual 3.12 (in Portuguese), 24 July 2026](https://www.b3.com.br/data/files/28/14/BC/A8/D049F91094DCD8F9AC094EA8/LiNe%20-%20Manual%20Conceitual_3.12.pdf)), and the participant's screens let it put a client, an account or an operator into a blocked mode, or a client into a protected mode with its own risk limit ([B3, LiNe 5.0 Working Manual (in Portuguese)](https://www.b3.com.br/data/files/E3/94/BF/D6/5F2F6610E634FD66AC094EA8/LiNe-Trading-Manual-de-Telas.pdf)). B3 adds a caution of its own: LiNe "does not replace all the market's risk management alternatives", and each participant must judge what else it needs ([B3, Conceptual Manual 3.12 (in Portuguese), 2026](https://www.b3.com.br/data/files/28/14/BC/A8/D049F91094DCD8F9AC094EA8/LiNe%20-%20Manual%20Conceitual_3.12.pdf)).

### Worked example: B3's potential balance

The conceptual manual gives the formula for a client's ordinary ("definitive") account. The potential bought balance in an instrument is SPCI = S + ΣOFC + ofc, and the potential sold balance is SPVI = −S + ΣOFV + ofv, where S is the net balance of the day's trades in that instrument, ΣOFC and ΣOFV are the open buy and sell offers in the book, and ofc and ofv are the new buy or sell offer being checked; B3 notes that negative values indicate positions to be reversed and so "aumentam" the room under the limit ([B3, Conceptual Manual 3.12 (in Portuguese), 2026](https://www.b3.com.br/data/files/28/14/BC/A8/D049F91094DCD8F9AC094EA8/LiNe%20-%20Manual%20Conceitual_3.12.pdf)). Its own example, in US dollar futures (DOLF21), sets the SPCI and SPVI limits at 400 contracts for an account already long 100 contracts with a buy offer for 100 resting in the book; a new buy offer for 100 brings consumption of the SPCI measure to 75% and of the SPVI measure to 0% ([B3, Conceptual Manual 3.12 (in Portuguese), 2026](https://www.b3.com.br/data/files/28/14/BC/A8/D049F91094DCD8F9AC094EA8/LiNe%20-%20Manual%20Conceitual_3.12.pdf)). The two further rows below apply the same formula to offers chosen for illustration.

| New offer | Calculation | Result against the limit of 400 | What LiNe does |
|---|---|---|---|
| Buy 100 (B3's example) | SPCI = 100 + 100 + 100 = 300 | 300 ÷ 400 = 75% | Accepts |
| Buy 250 | SPCI = 100 + 100 + 250 = 450 | 450 > 400 | Rejects before the matching core |
| Sell 300 | SPVI = −100 + 0 + 300 = 200 | 200 ÷ 400 = 50% | Accepts: the first 100 sold only close the long position |

The third row shows why the measure is a "potential balance" rather than a gross count: selling against a long position reduces risk until the position is flat, and the formula gives that credit.

B3 also has controls at the level of the whole market. Under its circuit breaker, trading in shares, their options and private fixed income stops for 30 minutes if the Ibovespa index falls 10% or more from the previous close, for one hour if it then reaches a fall of 15%, and for a period B3 sets if it reaches 20%, with no new trigger in the last 30 minutes of the session ([B3, Trading Operating Procedures Manual (in Portuguese), 1 July 2026](https://www.b3.com.br/data/files/CF/D0/64/95/753D0A105BF9020AAC094EA8/MPO%20de%20Negociacao%20da%20B3.pdf)). Those protect the market from everyone; LiNe protects it, and the broker, from one client.

## One order through the checks

The table runs a single order through the checks the sources name, in roughly the order a broker's gateway would apply them. The client, the stock and every number are invented. The stock last traded at 20.00 and averages 500,000 shares a day. The client's limits at the broker are a maximum order of 50,000 shares, a maximum order value of $1 million, a price collar of 5% from the last trade, and a daily credit limit of $10 million, of which $8.5 million is already used. The order is a buy of 1,000,000 shares at a limit of 21.50, the kind of extra digits the Rochdale order carried.

| Check | Source of the check | Calculation | Result |
|---|---|---|---|
| Duplicate order identifier (ClOrdID) | Rule 15c3-5(c)(1)(ii); FIX Trading Community 2012 | New identifier | Pass |
| Restricted list and permissions | Rule 15c3-5(c)(2)(ii); RTS 6, article 15(5) | Not restricted | Pass |
| Maximum order volume | RTS 6, article 15(1)(c); FIA 2024 | 1,000,000 > 50,000 | Fail |
| Maximum order value | RTS 6, article 15(1)(b) | 1,000,000 × 21.50 = $21.5 million > $1 million | Fail |
| Price collar | RTS 6, article 15(1)(a); FIA 2024 | (21.50 − 20.00) ÷ 20.00 = 7.5% > 5% | Fail |
| Share of average daily volume | FIX Trading Community 2012 | 1,000,000 ÷ 500,000 = 200% of a day's volume | Flag |
| Aggregate credit | Rule 15c3-5(c)(1)(i) | 8.5 + 21.5 = $30 million > $10 million | Fail |

Sources for the checks: [17 CFR 240.15c3-5](https://www.law.cornell.edu/cfr/text/17/240.15c3-5); [EU, Regulation 2017/589, article 15](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32017R0589); [FIA, 2024](https://fia.org/sites/default/files/2024-07/FIA_WP_AUTOMATED%20TRADING%20RISK%20CONTROLS_FINAL_0.pdf); [FIX Trading Community, Recommended Risk Control Guidelines, 2012](https://fixtrading.org/download/recommended-risk-control-guidelines-2012/).

What happens next depends on the order type. The FIX guidelines of 2012 describe three outcomes, "Accept", "Pause" and "Reject": for direct access orders with short horizons, "orders are either immediately accepted or rejected", while an algorithmic order that breaches a threshold may be paused and sent to a sales trader's blotter, the client's order management system being told with a pending new message, so that "a subsequent decision to accept or reject the order will be made" ([FIX Trading Community, 2012](https://fixtrading.org/download/recommended-risk-control-guidelines-2012/)). The same document lists the scenarios brokers look for, among them "An order where the client has mistakenly sent an exceedingly large quantity (i.e. fat finger)" and "An order that is potentially duplicative or unintentionally repeating (i.e. runaway)", and it insists that "Neither party should entirely rely on their counterparty to implement comprehensive risk controls" ([FIX Trading Community, 2012](https://fixtrading.org/download/recommended-risk-control-guidelines-2012/)). The same order sent with 1,000 shares at 20.00 would pass every row: value $20,000, collar 0%, 0.2% of daily volume, credit $8.52 million.

## What the controls cannot do

The sources disagree less about what controls are than about how far rules should prescribe them. The CFTC withdrew a prescriptive proposal after comments that opposed a three-level control framework and access to source code, and adopted principles that most industry commenters supported and that public interest groups called too imprecise to enforce ([CFTC, 2020](https://www.govinfo.gov/content/pkg/FR-2020-07-15/html/2020-14383.htm); [CFTC, 2021](https://www.govinfo.gov/content/pkg/FR-2021-01-11/html/2020-27622.htm)). Europe went the other way, listing the controls in a regulation, and the London case shows a firm with many of the listed controls in place still losing $1.4 billion of sales to the one gap ([FCA, 2024](https://www.fca.org.uk/publication/final-notices/citigroup-global-markets-limited-2024.pdf)). The US cases show the gap more often lies in the settings than in the absence of a control: limits too high to bind, checks too wide before the opening, a block lifted by an employee, a credit limit raised under pressure ([SEC, 2016-192](https://www.sec.gov/newsroom/press-releases/2016-192); [SEC, 2015-133](https://www.sec.gov/newsroom/press-releases/2015-133); [SEC, 2014-274](https://www.sec.gov/newsroom/press-releases/2014-274)).

Every check also sits in the path of the order and takes time. The FIX guidelines call DMA orders "latency sensitive" ([FIX Trading Community, 2012](https://fixtrading.org/download/recommended-risk-control-guidelines-2012/)), and B3 built LiNe's architecture so that the risk centre itself sits in the critical path ([B3, LiNe architecture (in Portuguese)](https://b3.com.br/pt_br/solucoes/plataformas/gestao-de-risco/line-5/arquitetura/)); how much a check may cost in microseconds is the same race described in [Colocation, microwaves and the race for latency](https://ronutz.com/en/learn/colocation-microwaves-and-the-race-for-latency). The failures in this article are also failures of a kind [How systems fail](https://ronutz.com/en/learn/how-systems-fail) and [Therac-25: the machine whose predecessor had the same bugs and hurt nobody](https://ronutz.com/en/learn/therac-25-and-defence-in-depth) describe in other fields: a defence that depends on a person reading a screen in time is weaker than one that refuses the input.

## What to remember

- The firm whose identifier is on the order answers for it: DMA passes through the broker's systems, sponsored access bypasses them through a risk gateway, and naked access, with no pre-trade filter, is effectively prohibited in the US by Rule 15c3-5 (compliance from July 2011).
- Rule 15c3-5 requires automated pre-trade checks on credit and capital in aggregate, on price, size and duplicates, and on regulatory restrictions, under the broker's direct and exclusive control, with an annual review and CEO certification.
- The enforcement cases define a working control: wired to order entry, not post-trade (Knight); set at levels that bind (Merrill Lynch); not lifted or computed twice an hour (Goldman Sachs); not raised under pressure (Morgan Stanley).
- RTS 6 lists the firm's checks (price collars, maximum order value and volume, message limits, throttles, kill functionality, five-second alerts, annual stress tests at twice peak messages); RTS 7 puts a matching set at the venue. The CGML case of 2022 shows 94% of an erroneous basket stopped and $1.4 billion sold anyway.
- The CFTC withdrew Regulation AT in 2020 and put pre-trade controls on the exchanges through principles in 2021; the FIA's 2024 standard makes localized pre-trade controls, not credit controls, the first line.
- At B3, every order passes LiNe in its critical path (TMOC, TMOV, SPCI, SPVI and STD before the matching core), on top of the broker's own controls required by Resolução CVM 35; cancel on disconnect is off by default at B3 and mandatory at CME.

<ReaderQuestions>

- If a broker can raise a client's limit by phone in the middle of the day, as Morgan Stanley's desk did twice, is the limit a control or a negotiating position, and who should be allowed to move it?
- Rules list the checks; the cases show the failures were in the settings. Should regulators set minimum thresholds, or would that turn every limit into the regulatory maximum?
- B3 runs its own risk check on every order, CME offers its tools on a best-efforts basis, and the FIA says a kill switch may be redundant where controls are layered: where should the last line of defence sit, at the firm, the broker or the exchange?
- A pop-up with 711 warnings was overridden in seconds: what does a control designed for humans need, beyond being present, to count as effective?
- Every check adds time to the order's path. Who should bear that cost, and should exchanges that compete on microseconds be the ones that set the checks?

</ReaderQuestions>

## Sources

- [US Securities and Exchange Commission, SEC Penalizes Morgan Stanley for Violating Market Access Rule, press release 2014-274, 2014: Rochdale's orders, the limit of $200 million raised to $500 million and $750 million, $4 million penalty (accessed 16 November 2026)](https://www.sec.gov/newsroom/press-releases/2014-274)
- [US Securities and Exchange Commission, Release No. 34-63241, Risk Management Controls for Brokers or Dealers with Market Access, 3 November 2010: legal responsibility under the MPID, sponsored and naked access, estimates reported, the 1,000-orders-per-second example (accessed 16 November 2026)](https://www.sec.gov/files/rules/final/2010/34-63241.pdf)
- [Federal Register vol. 75, 15 November 2010, Risk Management Controls for Brokers or Dealers with Market Access: effective 14 January 2011, compliance 14 July 2011 (accessed 16 November 2026)](https://www.govinfo.gov/content/pkg/FR-2010-11-15/pdf/2010-28303.pdf)
- [17 CFR 240.15c3-5, Risk management controls for brokers or dealers with market access, as published by the Cornell Legal Information Institute: paragraphs (a) to (e) (accessed 16 November 2026)](https://www.law.cornell.edu/cfr/text/17/240.15c3-5)
- [US Securities and Exchange Commission, Division of Trading and Markets, Responses to Frequently Asked Questions Concerning Risk Management Controls for Brokers or Dealers with Market Access, 15 April 2014, last reviewed 6 June 2014: all orders including market maker quotes (accessed 16 November 2026)](https://www.sec.gov/rules-regulations/staff-guidance/trading-markets-frequently-asked-questions/divisionsmarketregfaq-0)
- [European Union, Directive 2014/65/EU (MiFID II), 15 May 2014: article 4(1)(41) on direct electronic access, article 17 on algorithmic trading and DEA (accessed 16 November 2026)](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32014L0065)
- [International Organization of Securities Commissions, Principles for Direct Electronic Access to Markets, FR08/10, August 2010, read through a fetch tool: markets and intermediaries to use automated pre-trade controls (accessed 16 November 2026)](https://www.iosco.org/library/pubdocs/pdf/IOSCOPD332.pdf)
- [FIX Trading Community, FPL Americas Risk Management Working Group, Recommended Risk Control Guidelines, 2012: DMA platforms and sponsored access, accept, pause and reject, scenarios, pre-acceptance checks (accessed 16 November 2026)](https://fixtrading.org/download/recommended-risk-control-guidelines-2012/)
- [B3, Manual de Procedimentos Operacionais de Negociação da B3, 1 July 2026: technological risk control chapter, message control, market protection, throttle, self-trade prevention, cancel on disconnect, mass cancel, penalties, circuit breaker (accessed 16 November 2026)](https://www.b3.com.br/data/files/CF/D0/64/95/753D0A105BF9020AAC094EA8/MPO%20de%20Negociacao%20da%20B3.pdf)
- [National Futures Association, Interpretive Notice 9046, Supervision of the Use of Automated Order-Routing Systems, 21 June 2002, revised 12 December 2006: pre-execution limits and blocking (accessed 16 November 2026)](https://www.nfa.futures.org/rulebook/rules.aspx?RuleID=9046&Section=9)
- [US Securities and Exchange Commission, In the Matter of Knight Capital Americas LLC, Release No. 34-70694, 16 October 2013: capital thresholds, the 33 Account, PMON, compliance date extension, findings under Rule 15c3-5 (accessed 16 November 2026)](https://www.sec.gov/files/litigation/admin/2013/34-70694.pdf)
- [US Securities and Exchange Commission, SEC Charges Knight Capital With Violations of Market Access Rule, press release 2013-222, 16 October 2013: $12 million, first case under the rule (accessed 16 November 2026)](https://www.sec.gov/newsroom/press-releases/2013-222)
- [US Securities and Exchange Commission, SEC Announces Charges Against Wedbush Securities and Two Officials for Market Access Violations, press release 2014-115, 2014 (accessed 16 November 2026)](https://www.sec.gov/newsroom/press-releases/2014-115)
- [US Securities and Exchange Commission, SEC Charges Goldman Sachs With Violating Market Access Rule, press release 2015-133, 2015: 16,000 mispriced options orders on 20 August 2013, $7 million (accessed 16 November 2026)](https://www.sec.gov/newsroom/press-releases/2015-133)
- [US Securities and Exchange Commission, Merrill Lynch Charged With Trading Controls Failures That Led to Mini-Flash Crashes, press release 2016-192, 2016: limits of 5 million and 25 million shares, $12.5 million (accessed 16 November 2026)](https://www.sec.gov/newsroom/press-releases/2016-192)
- [US Securities and Exchange Commission, SEC Charges Three Individuals and Broker-Dealer With Violating Market Structure Rules, press release 2016-266, 2016: Wilson-Davis, first CEO charged over the certification (accessed 16 November 2026)](https://www.sec.gov/newsroom/press-releases/2016-266)
- [Staff of the US Securities and Exchange Commission, Staff Report on Algorithmic Trading in U.S. Capital Markets, 5 August 2020: citation of the settled Wedbush order of 20 November 2014 (accessed 16 November 2026)](https://www.sec.gov/files/Algo_Trading_Report_2020.pdf)
- [US Securities and Exchange Commission, SEC Charges Firms Involved in Layering, Manipulation Schemes, press release 2017-63, 2017: Lek Securities relaxed its layering controls (accessed 16 November 2026)](https://www.sec.gov/newsroom/press-releases/2017-63)
- [US Securities and Exchange Commission, Litigation Release No. 24639, 2019: final judgments of 1 October 2019 against Lek Securities and its chief executive (accessed 16 November 2026)](https://www.sec.gov/litigation/litreleases/lr-24639)
- [US Securities and Exchange Commission, SEC Obtains Final Judgments Against Lek Securities and CEO in Layering, Manipulation Case, press release 2019-205, 2019 (accessed 16 November 2026)](https://www.sec.gov/newsroom/press-releases/2019-205)
- [European Union, Commission Delegated Regulation (EU) 2017/589 (RTS 6), 19 July 2016: articles 9, 10, 12, 15, 16, 17, 20 and 22; application from 3 January 2018 (accessed 16 November 2026)](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32017R0589)
- [European Union, Commission Delegated Regulation (EU) 2017/584 (RTS 7), 14 July 2016: articles 18, 20 and 22 (accessed 16 November 2026)](https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32017R0584)
- [Financial Conduct Authority, Final Notice to Citigroup Global Markets Limited, 22 May 2024: the expectation on order management systems, the timeline of 2 May 2022, controls and monitoring (accessed 16 November 2026)](https://www.fca.org.uk/publication/final-notices/citigroup-global-markets-limited-2024.pdf)
- [Financial Conduct Authority, FCA fines CGML £27,766,200 for failures in its trading systems and controls, 22 May 2024: no hard block, the pop-up, monitoring, penalty and discount, MAR 7A.3.2 (accessed 16 November 2026)](https://www.fca.org.uk/news/press-releases/fca-fines-cgml-27-million)
- [Bank of England, The Prudential Regulation Authority fines Citigroup Global Markets Limited £33,880,000, 22 May 2024 (accessed 16 November 2026)](https://www.bankofengland.co.uk/news/2024/may/pra-fines-citygroup-global-markets-limited)
- [European Securities and Markets Authority, MiFID II/MiFIR review report on algorithmic trading, ESMA70-156-4572, 28 September 2021: kill functionality for systematic internalizers, Japan's High-Speed Traders (accessed 16 November 2026)](https://www.esma.europa.eu/sites/default/files/library/esma70-156-4572_mifid_ii_final_report_on_algorithmic_trading.pdf)
- [Commodity Futures Trading Commission, Concept Release on Risk Controls and System Safeguards for Automated Trading Environments, 78 FR 56542, 12 September 2013 (accessed 16 November 2026)](https://www.govinfo.gov/content/pkg/FR-2013-09-12/pdf/2013-22185.pdf)
- [Commodity Futures Trading Commission, Regulation Automated Trading, proposed rule, 80 FR 78824, 17 December 2015 (accessed 16 November 2026)](https://www.govinfo.gov/content/pkg/FR-2015-12-17/pdf/2015-30533.pdf)
- [Commodity Futures Trading Commission, Regulation Automated Trading, supplemental proposed rule, 81 FR 85334, 25 November 2016 (accessed 16 November 2026)](https://www.govinfo.gov/content/pkg/FR-2016-11-25/pdf/2016-27250.pdf)
- [Commodity Futures Trading Commission, Regulation Automated Trading; Withdrawal, 85 FR 42755, 15 July 2020: comment letters, the objections, two levels of controls, withdrawal (accessed 16 November 2026)](https://www.govinfo.gov/content/pkg/FR-2020-07-15/html/2020-14383.htm)
- [Commodity Futures Trading Commission, Electronic Trading Risk Principles, final rule, 86 FR 2048, 11 January 2021: the three principles, dates, the comments for and against a principles-based approach (accessed 16 November 2026)](https://www.govinfo.gov/content/pkg/FR-2021-01-11/html/2020-27622.htm)
- [FIA, Best Practices for Automated Trading Risk Controls and System Safeguards, July 2024: localized pre-trade controls, maximum order size, cancel on disconnect, kill switches (accessed 16 November 2026)](https://fia.org/sites/default/files/2024-07/FIA_WP_AUTOMATED%20TRADING%20RISK%20CONTROLS_FINAL_0.pdf)
- [CME Group, Risk Management Services, client systems wiki, undated (accessed 16 November 2026)](https://cmegroupclientsite.atlassian.net/wiki/spaces/EPICSANDBOX/pages/457412195/Risk+Management+Services)
- [CME Group, CME Globex Credit Controls, client systems wiki, undated: clip size rejection text (accessed 16 November 2026)](https://cmegroupclientsite.atlassian.net/wiki/spaces/EPICSANDBOX/pages/457219125/CME+Globex+Credit+Controls)
- [CME Group, Cancel on Disconnect, client systems wiki, undated: mandatory on iLink sessions with one exception, involuntary disconnections, no charge (accessed 16 November 2026)](https://cmegroupclientsite.atlassian.net/wiki/spaces/EPICSANDBOX/pages/457216487/Cancel+on+Disconnect)
- [US Securities and Exchange Commission, New York Stock Exchange LLC, Notice of Filing of Proposed Rule Change To Add New Rule 7.19 (Pre-Trade Risk Controls), Release 34-87715, 11 December 2019, Federal Register 17 December 2019 (accessed 16 November 2026)](https://www.govinfo.gov/content/pkg/FR-2019-12-17/html/2019-27082.htm)
- [US Securities and Exchange Commission, New York Stock Exchange LLC, Notice of Filing and Immediate Effectiveness of Proposed Rule Change to Amend Rule 7.19, Release 34-99677, 5 March 2024: Rule 7.19 added in 2020 as optional controls (accessed 16 November 2026)](https://www.sec.gov/files/rules/sro/nyse/2024/34-99677.pdf)
- [B3, Manual de trabalho do LiNe 5.0, undated: blocked and protected modes for clients, accounts and operators (accessed 16 November 2026)](https://www.b3.com.br/data/files/E3/94/BF/D6/5F2F6610E634FD66AC094EA8/LiNe-Trading-Manual-de-Telas.pdf)
- [FIX Trading Community, FIX Latest on Orchimate, OrderMassCancelRequest (35=q) (accessed 16 November 2026)](https://orchimate.org/fixtrading/fix-latest/messages/OrderMassCancelRequest)
- [Comissão de Valores Mobiliários, Resolução CVM 135, 10 June 2022, consolidated text: article 105 and annex B, item 9.1 (accessed 16 November 2026)](https://conteudo.cvm.gov.br/export/sites/cvm/legislacao/resolucoes/anexos/100/resol135consolid.pdf)
- [B3, Ofício Circular 048/2023-PRE, Reincidência de Violações de Saldo Operacional, Limites de Concentração de Posição em Aberto e Limites de Risco Residual de Pré-Negociação (LiNe), 6 April 2023 (accessed 16 November 2026)](https://www.b3.com.br/data/files/5C/94/06/8A/5375781064456178AC094EA8/OC%20048-2023%20PRE%20Reincid%C3%AAncia%20de%20Viola%C3%A7%C3%B5es%20(PT).pdf)
- [B3, LiNe Trading, undated web page: pre-trade limits whatever the access, TMOC/TMOV, SPCI/SPVI and STD evaluated before the matching core, the Trading risk centre in the critical path (accessed 16 November 2026)](https://b3.com.br/pt_br/solucoes/plataformas/gestao-de-risco/line-5/line-trading/)
- [B3, LiNe, arquitetura, undated web page: risk centres outside the gateways, one per matching core, FIFO (accessed 16 November 2026)](https://b3.com.br/pt_br/solucoes/plataformas/gestao-de-risco/line-5/arquitetura/)
- [B3, LiNe Clearing, undated web page: SPVD, SDP, SFD, RMKT and RMKTN evaluated after the offer reaches the core (accessed 16 November 2026)](https://b3.com.br/pt_br/solucoes/plataformas/gestao-de-risco/line-5/line-clearing/)
- [B3, LiNe, Manual Conceitual 3.12, 24 July 2026: B3's per-instrument limit, the SPCI and SPVI formulas and the DOLF21 example, LiNe does not replace other risk tools (accessed 16 November 2026)](https://www.b3.com.br/data/files/28/14/BC/A8/D049F91094DCD8F9AC094EA8/LiNe%20-%20Manual%20Conceitual_3.12.pdf)
