2.1.1 Who touches your order
Between your submit() call and shares that are legally yours stand at least five firms. None of them is there by accident: each removes a risk you could not carry alone.
In Session 1.1 you met the buy side, which decides what to own, and the sell side, which sells it the service of trading. This session follows what happens when the buy side acts: one order, from your code to a line in a ledger — every intermediary, what it charges, and what breaks when it fails. Realistic backtests, execution algorithms and live systems all sit on this plumbing.
The cast: an exchange is a regulated venue that runs a public order book and matches buyers with sellers under published rules; only its members may send it orders. A broker is the member that does so for you: it accepts, checks and routes your orders, reports fills and holds your account. After the trade a clearing house confirms, nets and guarantees it; when it becomes buyer to every seller and seller to every buyer it is a central counterparty (CCP). Settlement — securities delivered against cash — happens in the books of a central securities depository (CSD), and a custodian holds the securities for you, apart from its own assets.
| Participant | US example | EU / UK example | The risk it takes off you |
|---|---|---|---|
| Broker | a registered broker-dealer | an authorised investment firm | needing your own exchange membership |
| Exchange | NYSE, Nasdaq, Cboe | Euronext, Xetra, London Stock Exchange | finding someone to trade with |
| Clearing house (CCP) | NSCC (part of DTCC) | LCH, Eurex Clearing | the other side failing to pay or deliver |
| Depository (CSD) | DTC (part of DTCC) | Euroclear, Clearstream; CREST in the UK | paying cash and never getting the shares |
| Custodian | a custodian bank or the broker's custody arm | the same | your assets vanishing with a failed broker |
The broker sells access, the exchange a counterparty, the clearing house certainty that the counterparty pays, the depository finality, the custodian safekeeping. Even the market maker quoting on the exchange is selling something: immediacy. Every cost in trading is the price of a risk someone else agreed to carry for you.
2.1.2 The life of an order, hop by hop
Seven hops, two clocks. The trade itself takes well under a second. Making it final takes until the next business day in the US (two in the EU and UK until October 2027) — and most of the plumbing exists to make that gap safe.
Your code sends the order — side, quantity, type, limit price, time in force (§2.1.5) — through the broker's API. The broker's order management system tracks its state (new, acknowledged, partly filled, filled, cancelled, rejected), and pre-trade risk checks ask whether you can afford it, whether it breaches a limit, and whether its price is absurd; in the US the SEC's Market Access Rule requires them. A smart order router then picks the venue (§2.1.3). There an order that can trade does; one that cannot waits in the book, and each execution comes back as a fill report. Now you own a promise, not yet a position: the clearing house nets it and holds margin against it (§2.1.6), and on the settlement date the depository swaps shares for cash.
| Hop | Who | When | What can go wrong |
|---|---|---|---|
| 1 · order | your code | t = 0 | a bug sends the wrong size, twice, or forever |
| 2 · checks | broker OMS | microseconds to milliseconds | rejection; a broker outage |
| 3 · route | broker's router | milliseconds | a venue that suits the broker, not you |
| 4 · match | venue | microseconds, or never (resting limit) | partial fill; a price far from the one you saw |
| 5 · clear | CCP | trade date, into the evening | a margin call, passed on to you |
| 6 · settle | CSD | T+1 in the US; T+2 in the EU and UK until October 2027 | a failed delivery |
| 7 · custody | custodian | from settlement on | the broker fails |
Read fig 2.1.2 as a distributed transaction: the fill is the acknowledgement, settlement the commit, the depository the database of record — and the clearing house guarantees the commit even if one side crashes.
Each hop returns as engineering: the order state machine in Session 15.1, the broker API and the FIX protocol in Session 15.3, pre-trade checks and the kill switch in Session 15.4, and the data every hop emits in Session 4.1.
2.1.3 Where orders trade
"The stock market" is dozens of venues competing for your order. Which one fills it decides your price — and a US retail order is often filled by no exchange at all.
A lit venue displays its orders: anyone can see the best bids and offers, and the exchange matches them by price, then by time of arrival (price-time priority, Session 14.1). But a fund showing a two-million-share sell order tells everyone a seller is coming. A dark pool hides orders until they trade, often crossing them at the midpoint of the public quotes; in the US such systems operate as alternative trading systems (ATSs) and disclose their workings on Form ATS-N (SEC 2018), while EU dark trading runs on venues under capped waivers from pre-trade transparency.
The third route is a dealer trading against you from its own inventory. US retail brokers send most orders to a handful of off-exchange market makers, the wholesalers; off-exchange activity, a partial proxy for retail trading, first passed 50% of US equity volume on a single day on 23 December 2020 (SEC staff report, October 2021). The EU cousin is the systematic internaliser, a firm dealing on its own account with client orders outside a venue "on an organised, frequent systematic and substantial basis" (MiFID II, Article 4(1)(20)).
| Venue | What others see | Who is on the other side | Why you would use it | What it costs you |
|---|---|---|---|---|
| Lit exchange | your order, while it rests | anyone: market makers, funds, algorithms | the public price; the deepest pool | a taker fee; leakage for big orders |
| Dark pool / ATS | nothing, until the trade prints | other hidden orders | size without moving the price | uncertain fills; better-informed traders |
| Wholesaler / SI | nothing beforehand | the dealer itself | small orders filled at once | a conflict if the dealer pays your broker |
Payment for order flow: the debated practice
Why would a wholesaler pay to trade with you? Small retail orders are on average uninformed, so filling them carries little adverse selection (Session 1.1). The wholesaler shares that value with the broker as payment for order flow (PFOF), which is how many US brokers charge zero commission. Critics see a conflict; defenders point to price improvement. Execution quality does differ: Battalio, Corwin and Jennings (2016) found limit orders did worse on venues paying the highest rebates, and Schwarz, Barber, Huang, Jorion and Odean (2025), sending 85,000 simultaneous market orders through six accounts at five brokers, found mean round-trip costs from 0.07% to 0.46%, excluding commissions — the same wholesalers gave different prices to different brokers, and differences in PFOF did not explain the gap.
PFOF. US: legal, with quarterly routing disclosure (Rule 606); the SEC's proposed Order Competition Rule, which would have sent certain retail orders to auctions before internalisation, was withdrawn on 12 June 2025. UK: effectively banned since the FSA's 2012 guidance (FG12/13). EU: banned by Regulation (EU) 2024/791, Article 39a; the last national exemption (Germany's) expired on 30 June 2026.
Order protection and best execution. US: Regulation NMS's Order Protection Rule (Rule 611, 2005) bars trading centres, wholesalers included, from trading through better protected quotes elsewhere, which ties prices to the national best bid and offer (NBBO); the SEC proposed rescinding it on 11 June 2026, still pending as of September 2026. Best execution itself is a broker's duty of "reasonable diligence" under FINRA Rule 5310. EU: MiFID II, Article 27 (from 3 January 2018), requires "all sufficient steps" towards the best result. Best execution as a duty is Session 15.6's.
2.1.4 The book: bid, ask & the price of now
Every lit venue shows two numbers first: the most anyone will pay and the least anyone will accept. The gap is what it costs to trade right now — and it grows with the size you want.
The bid is the highest price at which someone will buy right now, with the size; the ask (or offer) is the lowest price at which someone will sell. The bid-ask spread is ask minus bid; halfway between sits the mid price. Behind the best prices sit worse ones, level by level: the limit order book. A limit order — trade at a stated price or better — that cannot trade at once joins the book and provides liquidity; a market order — trade now at the best prices available — takes it.
The lab builds a small synthetic book for a $50 stock quoted in one-cent ticks (illustrative sizes, not market data). The top five of its 20 levels a side:
| Level | Bid size | Bid | Ask | Ask size |
|---|---|---|---|---|
| best | 1,000 | 49.99 | 50.01 | 1,100 |
| 2 | 1,200 | 49.98 | 50.02 | 600 |
| 3 | 1,700 | 49.97 | 50.03 | 1,200 |
| 4 | 2,600 | 49.96 | 50.04 | 1,400 |
| 5 | 2,200 | 49.95 | 50.05 | 1,500 |
The spread is $0.02 around a mid of $50.00: 4.0 basis points. A market buy takes the best ask first and, when that level runs out, the next — it walks the book. Measured against the mid, the cost of its volume-weighted average price splits exactly in two. With ask , mid , and shares filled at price on level , for an order of shares:
For a sell, the bid replaces the ask and the signs flip. The lab's sweep is three lines of array arithmetic:
size = levels["size"].to_numpy() before = np.concatenate([[0], np.cumsum(size)[:-1]]) # shares resting ahead of each level take = np.clip(qty - before, 0, size) # shares taken at each level
An order of 1,000 shares fits on the best ask and pays only the half-spread, 2.0 basis points. One of 10,000 shares ($500,000) reaches 7 levels (emptying 6), pays up to $50.07, averages $50.0457 and costs 9.1 basis points — $457 above the mid. At 25,000 shares the cost reaches 15.6 basis points. Twice the distance from the mid is the trade's effective spread — 18.3 basis points here — which Session 14.2 explains as the price of adverse selection.
Treat the walk as a first estimate of slippage: hidden orders may add depth, but others also see you coming and the book does not refill for free — market impact, which Session 14.3 measures.
A market order buys certainty and pays in price; a resting limit order saves the price and pays in uncertainty. The cost of a market order is half the spread plus the depth it eats, and neither appears on any bill. Measure every fill against the mid when you decided to trade.
2.1.5 Order types & the gap
Order types are not a menu of features. They are one trade-off — certainty of execution against certainty of price — asked twice, and then given a lifetime.
A stop order is dormant until the market trades at or through its stop price; then it becomes a market order (FINRA). A sell stop below the market is the classic "stop-loss". A stop-limit order becomes a limit order instead, so it may not trade at all. Fig 2.1.4 puts the four together; a time in force then says how long the order lives.
| Time in force | The order lives… | Typical use |
|---|---|---|
DAY | until the end of today's session, then expires | the default for most orders |
GTC — good till cancelled | until it fills or you cancel it (brokers often cap how long) | a limit or stop you want to leave working |
IOC — immediate or cancel | for an instant: fills what it can now, cancels the rest | taking liquidity without leaving a visible order behind |
FOK — fill or kill | for an instant: fills in full now, or not at all | when a partial fill is worse than none |
MOC / LOC — market / limit on close | until the closing auction, which sets the official closing price (a LOC trades only within its limit) | funds that are valued at the close; the closing auction is Session 14.1's |
In US equities your stop usually lives at your broker, not the exchange: NYSE stopped accepting new stop and GTC orders on 26 February 2016 (NYSE client notice, November 2015). The broker watches the trigger and sends the market order — one more system that must be up when it matters.
The gap: a Monte Carlo
You buy at $100 and place a sell stop at $95, believing your loss is capped at 5%. The lab tests the belief with a Monte Carlo simulation: 20,000 paths of a stock with 30% annual volatility and no drift, watched every five minutes for 63 trading days. Overnight, news arrives 12 times a year on average, gapping the price up or down by an exponentially distributed amount with mean 3% (log terms; all parameters illustrative). The stop fills at the first price at or below $95, before any spread.
Theory checks the simulation twice. An intraday trigger overshoots by part of one small step: for a Gaussian random walk the expected overshoot of a distant barrier is about , with 0.5826 (ζ is the Riemann zeta function) — Siegmund's (1985) overshoot result, which is the Broadie–Glasserman–Kou correction for daily monitoring used in Session 2.4. Gaps are different: exponential gaps are memoryless, so given that one crossed the stop, the distance it went past, , is again exponential with mean . A stop-limit whose limit sits a log distance below the stop therefore fails to fill with probability
| Within one quarter | Triggered intraday | Triggered by an overnight gap |
|---|---|---|
| Share of all triggers | 92% | 8% |
| Average fill below the stop price | 0.12% (theory 0.12%) | 2.98% (theory 2.91%) |
| Worst 5% of fills: below the stop by at least | 0.34% | 9.0% |
| Average loss from the $100 entry | 5.1% | 7.8% |
| Stop-limit at $93: not fillable at the open | never | 49.5% (theory 49.2%) |
Three lessons. A 5% stop on a 30%-volatility stock sits inside ordinary noise: it fired on 75% of paths within a quarter, with no drift at all. Gaps are rare but decisive: 8% of triggers produced 68% of all the slippage past the stop, each landing on average 24 times further away than an intraday fill. And the stop-limit swaps one risk for another: after 50% of gaps it could not sell at the open — it rests at $93 while the stock trades below it, and a day order may expire unfilled, leaving you holding the stock you wanted out of.
The extreme case came on 6 May 2010: in the "flash crash", sell orders "including many retail stop-loss orders" met vanishing bids, and over 20,000 trades in more than 300 securities executed more than 60% away from their values moments before, some at a penny or less; the exchanges and FINRA later cancelled them (SEC & CFTC 2010).
A stop fixes where your exit starts, not where it ends: in the lab, positions stopped out by a gap lost 7.8% on average and one in twenty lost more than 13.6%. Cap risk with position size, assuming the gap will happen, and treat a stop as an exit rule, not insurance.
2.1.6 After the fill: clearing, settlement & custody
A fill is a promise — shares against cash, one business day later in the US (two in the EU and UK until October 2027). Clearing makes the promise safe, settlement keeps it, custody guards what you received.
Without a clearing house, every firm is exposed to every firm it traded with until settlement. With one, the contract between buyer and seller is replaced by two — buyer with CCP, CCP with seller — a step called novation. In US equities the CCP is NSCC, which in DTCC's words "becomes the legal counterparty to every trade, guaranteeing settlement and mitigating counterparty risk". Your clearing broker's counterparty risk becomes risk on one institution, backed mainly by its members' margin and a mutualised default fund — you still face your broker — and a web of promises becomes a star, which, crucially, can be netted.
Netting: why the plumbing batches
The lab simulates 200 days of one stock traded among 20 clearing members: 50,000 trades a day between random buyers and sellers, 500 shares on average. Netting pair by pair (bilateral) leaves 6.6% of gross volume to settle; netting each member against the CCP (multilateral) leaves 1.51%.
The theory is the central limit theorem: a member's net position is a sum of many signed trades, so it grows like the square root of the number of trades while gross volume grows linearly. For clearing members (here counts firms), trades a day and trade size :
which predicts 1.51% and 6.6%: multilateral netting beats bilateral by a factor of , about 4.4 here. Real markets agree: DTCC's chief executive told Congress that on 3 March 2020 over $3.5 trillion of shares moved through NSCC, but netting cut the money that had to settle by over 98%, to $80.3 billion (Bodson 2021). Netting has limits, though: a CCP that clears only one asset class can net less than bilateral netting across all of a firm's trades (Duffie & Zhu 2011).
Why not settle every trade instantly? Because real-time gross settlement "would eliminate the substantial efficiencies of netting" (same testimony): every trade would need its cash in advance. Batching buys capital efficiency at the price of time — and time is risk, which the CCP covers with margin. DTCC estimated that moving from T+2 to T+1 could cut NSCC's value-at-risk charges by as much as 40%. US equities have settled T+1 since 28 May 2024 (SEC rule adopted 15 February 2023); the EU moves on 11 October 2027 (Regulation (EU) 2025/2075), and HM Treasury published a draft statutory instrument on 20 November 2025 for the UK to move the same day, subject to approval by Parliament (status as of September 2026). Until then both settle T+2.
When the plumbing bites: January 2021
Margin is how the CCP's safety becomes your problem. As "meme stocks" such as GameStop swung wildly, on 27 January 2021 NSCC made intraday margin calls totalling $6.9 billion on 36 clearing members, bringing total required margin to $25.5 billion, and some brokers with mainly retail customers restricted trading in the most volatile stocks (SEC staff report, October 2021; the squeeze itself is in Session 2.2). The CCP protected the system by demanding cash; its members passed the squeeze on to customers. Session 2.4 shows the same machine in futures, where it runs every evening as variation margin.
Settlement and custody
At settlement the depository moves shares and cash together — delivery versus payment — so neither side can hand over its half and get nothing. Sellers must deliver on time, which is why a short seller borrows shares first (Session 2.2). Then your shares sit at the custodian, usually held in the broker's or custodian's name for you and segregated from the firm's own assets. If a US broker fails, SIPC protects customers up to $500,000, including $250,000 of cash, but "does not protect against the decline in value of your securities"; the UK's FSCS covers investments up to £85,000 per person per firm, and EU law sets a minimum of €20,000. Crypto venues often bundle broker, exchange and custodian into one firm, which is why custody risk gets its own treatment in Session 2.6.
Once a trade is cleared you no longer worry whether the other side can pay; you worry whether your side of the chain can meet tonight's margin call. Central clearing doesn't make risk disappear; it pools it, prices it as margin and bills it in cash, on the days cash is scarcest.
2.1.7 Where every fee and risk sits
Put the whole path on one bill. The explicit fees are the line items you read; the spread and the book are the ones you actually pay.
The lab prices one round trip — buy 2,000 shares with a market order, later sell them the same way — in two $50 stocks: the liquid book of §2.1.4 and a thin one with a 20-basis-point spread and 13,400 shares displayed on its ask side against 68,600. Billed rates: a commission of $0.0035 a share and a clearing fee of $0.0002 a share (both illustrative); an exchange fee of $0.003 a share for taking liquidity, the Regulation NMS cap on fees for trading against a protected quote (a 2024 SEC amendment lowering it to $0.001 has been postponed to November 2027, as of June 2026); and, on the sale only, the SEC's Section 31 fee of $20.60 per million dollars (from 4 April 2026) and FINRA's Trading Activity Fee of $0.000195 a share, capped at $9.79 a trade (2026).
| Round trip, 2,000 shares, $100,000 | Liquid large cap (bp) | Thin small cap (bp) |
|---|---|---|
| Commission | 1.4 | 1.4 |
| Exchange fees | 1.2 | 1.2 |
| Clearing + regulatory | 0.32 | 0.32 |
| Spread (half on each side) | 4.0 | 20.0 |
| Walking the book | 2.2 | 39.9 |
| Total | 9.1 ($91) | 62.8 ($628) |
The billed fees, mostly per share, come to 2.9 basis points in both stocks. The unbilled spread and depth are 68% of the liquid stock's cost and 95% of the thin one's, which costs 6.9 times as much to trade. In Session 2.3's terms, a round-trip cost is a simple return surrendered on every trip, so a fully invested strategy making round trips a year multiplies its wealth by :
At 50 round trips a year — turning positions over about weekly — that is 4.5% a year in the liquid stock and 27.0% in the thin one (the linear shortcut would say 31.4%), before the strategy has earned anything. A backtest without costs is fiction; Session 6.5 gives transaction costs and capacity a session of their own, and slicing a large order to pay less of them is Session 14.4's subject.
The commission is a small line on the lab's bill: 1.4 of 9.1 basis points even in the liquid stock. A zero-commission broker is paid another way, often by the wholesaler that fills you, and fill quality varies a lot: Schwarz and co-authors measured mean round-trip costs from 0.07% to 0.46% across six accounts, excluding commissions — the same wholesalers gave different prices to different brokers, and the size of the PFOF did not explain the gap. So measure your own fills against the mid, and never backtest with commission as the only cost.
2.1.8 Try it
Open the companion lab, predict before you run, and change one thing at a time.
1. Fatter gaps. In section 2, set GAP_MEAN = 0.06. Predict the stop-limit's unfilled share from with before you run, then compare.
2. Run out of book. In section 1, add 100_000 to ORDER_SIZES. The displayed book runs out: what happens to the rest in a real market?
3. The √n rule. In section 3, set TRADES_PER_DAY = 200_000: predict the share left to settle, then try N_MEMBERS = 5.
4. A bigger ticket. In section 4, set QTY = 10_000. Which components grow, and which barely move?
Success: step 1 lands within 2 percentage points of your prediction, step 3 within 10% of it (relative), and you can say in one sentence why the billed fees in step 4 hardly move.
2.1.9 Glossary · Check yourself · Go deeper
Check yourself
1. Your strategy sends a market buy for 10,000 shares into the book of §2.1.4. What does it cost against the mid, and how much of that appears on your broker's statement?
2. You hold a stock bought at $100 with a sell stop at $95. Results come out after the close, and the stock opens at $88. Where does the stop fill, and what would a stop-limit at $93 have done?
3. 20 clearing members trade 50,000 times a day in one stock. Why does the clearing house need to move so little, and what would happen to that advantage if every trade had to settle instantly?
4. Your app shows an order as "filled". Name two things that can still go wrong before the shares are yours, and what protects you from each.
5. A broker advertises zero commissions and "best execution". What would you check before trusting it with an active strategy?
1. Your broker's bill. Put a real broker's published fees into the constants of lab section 4, rerun, and date every number. Which component moves most?
2. Limit-order fill odds. In a new lab section, rest a buy limit 1% below the price for one day under section 2's intraday model without news. Compare its simulated fill probability with the reflection principle for driftless Brownian motion, , with the level moved further away for five-minute checks; assert agreement within 4 standard errors.
3. Read chapters 4 ("Orders and Order Properties") and 7 ("Brokers") of Harris (2003).
4. Map one foreign stock. Find its exchange, CCP, CSD and settlement cycle — the plumbing behind Session 2.2.
📚 Go deeper
- Harris, L. (2003). Trading and Exchanges: Market Microstructure for Practitioners, ch. 4 "Orders and Order Properties", ch. 5 "Market Structures", ch. 7 "Brokers" and ch. 25 "Internalization, Preferencing, and Crossing". Oxford University Press. ISBN 978-0-19-514470-3
- Bouchaud, J.-P., Bonart, J., Donier, J. & Gould, M. (2018). Trades, Quotes and Prices: Financial Markets Under the Microscope. Cambridge University Press. doi:10.1017/9781316659335
- Duffie, D. & Zhu, H. (2011). "Does a Central Clearing Counterparty Reduce Counterparty Risk?" Review of Asset Pricing Studies 1(1), 74–95. doi:10.1093/rapstu/rar001
- Schwarz, C., Barber, B. M., Huang, X., Jorion, P. & Odean, T. (2025). "The 'Actual Retail Price' of Equity Trades." Journal of Finance 80(5), 2507–2541. doi:10.1111/jofi.13467
- Battalio, R., Corwin, S. A. & Jennings, R. (2016). "Can Brokers Have It All? On the Relation between Make-Take Fees and Limit Order Execution Quality." Journal of Finance 71(5), 2193–2238. doi:10.1111/jofi.12422
Sources for the numbers
- US Securities and Exchange Commission (2023, 15 February). "SEC Finalizes Rules to Reduce Risks in Clearance and Settlement" (T+1, compliance date 28 May 2024). Press release 2023-29. https://www.sec.gov/newsroom/press-releases/2023-29
- European Parliament and Council (2025). Regulation (EU) 2025/2075 of 8 October 2025 amending Regulation (EU) No 909/2014 as regards a shorter settlement cycle in the Union (T+1 from 11 October 2027). https://eur-lex.europa.eu/eli/reg/2025/2075/oj/eng
- Financial Conduct Authority (2025, 21 November). "Government publishes draft Statutory Instrument on T+1 settlement" (draft SI of 20 November 2025; UK T+1 from 11 October 2027). https://www.fca.org.uk/news/statements/government-publishes-draft-statutory-instrument-t-plus-1-settlement
- Bodson, M. C. (2021, 6 May). Written testimony of the Chief Executive Officer, The Depository Trust & Clearing Corporation, before the US House Committee on Financial Services (NSCC netting, real-time settlement, T+1 margin estimate). https://www.congress.gov/117/meeting/house/112590/witnesses/HHRG-117-BA00-Wstate-BodsonM-20210506.pdf
- DTCC. "CNS®" (novation and the NSCC trade guarantee). https://www.dtcc.com/clearing-and-settlement-services/equities-clearing-services/cns
- US Securities and Exchange Commission, staff (2021, 14 October). "Staff Report on Equity and Options Market Structure Conditions in Early 2021" (off-exchange share; NSCC margin calls of 27 January 2021). https://www.sec.gov/files/staff-report-equity-options-market-struction-conditions-early-2021.pdf
- US Commodity Futures Trading Commission & US Securities and Exchange Commission (2010, 30 September). "Findings Regarding the Market Events of May 6, 2010." https://www.sec.gov/news/studies/2010/marketevents-report.pdf
- US Securities and Exchange Commission (2018). "Regulation of NMS Stock Alternative Trading Systems" Final rule (Form ATS-N; ATSs "including so called 'dark pools'"). https://www.sec.gov/rules-regulations/2018/07/regulation-nms-stock-alternative-trading-systems
- Directive 2014/65/EU (MiFID II), Article 4(1)(20) (systematic internaliser) and Article 27 (best execution). https://eur-lex.europa.eu/eli/dir/2014/65/oj
- Regulation (EU) 2024/791 (MiFIR review), Article 39a (prohibition of payment for order flow; exemptions until 30 June 2026). https://eur-lex.europa.eu/eli/reg/2024/791/oj/eng
- Financial Services Authority (2012, May). "Guidance on the practice of 'Payment for Order Flow'." Finalised guidance FG12/13. https://www.fca.org.uk/publication/finalised-guidance/fg12-13.pdf
- US Securities and Exchange Commission (2025, 12 June). "Withdrawal of Proposed Regulatory Actions" (including the Order Competition Rule). Release 33-11377. https://www.sec.gov/files/rules/final/2025/33-11377.pdf
- US Securities and Exchange Commission (2005, 9 June). "Regulation NMS." Release 34-51808. https://www.sec.gov/rules-regulations/2005/06/regulation-nms
- US Securities and Exchange Commission (2026, 11 June). "SEC Proposes Rescission of Regulation NMS Rules 611 and 610(e)." Press release 2026-54. https://www.sec.gov/newsroom/press-releases/2026-54-sec-proposes-rescission-regulation-nms-rules-611-610e
- FINRA. Rule 5310, "Best Execution and Interpositioning." https://www.finra.org/rules-guidance/rulebooks/finra-rules/5310
- FINRA. "Order Types" (market, limit, stop and stop-limit orders). https://www.finra.org/investors/investing/investment-products/stocks/order-types
- NYSE (2015, 16 November). "Elimination of Stop and GTC order types." Client notice. https://www.nyse.com/publicdocs/NYSE_Client_Notice_Removal_of_Stop_and_GTC_orders_112015.pdf
- US Securities and Exchange Commission (2026). Fee Rate Advisory 2026-2 (Section 31: $20.60 per million from 4 April 2026). https://www.sec.gov/rules-regulations/fee-rate-advisories/2026-2
- FINRA. Trading Activity Fee adjustment schedule, SR-FINRA-2024-019 (2026: $0.000195 a share, maximum $9.79 a trade). https://www.finra.org/rules-guidance/rule-filings/sr-finra-2024-019/fee-adjustment-schedule
- US Securities and Exchange Commission (2024, 18 September). "SEC Adopts Rules to Amend Minimum Pricing Increments and Access Fee Caps…" Press release 2024-137; and Atkins, P. S. (2026, 11 June). "Statement Regarding Minimum Pricing Increments and Access Fee Caps" (compliance postponed to November 2027). https://www.sec.gov/newsroom/press-releases/2024-137 · https://www.sec.gov/newsroom/speeches-statements/atkins-statement-minimum-pricing-increments-access-fee-caps-061126
- SIPC. "What SIPC Protects." https://www.sipc.org/for-investors/what-sipc-protects; FSCS. "What we cover." https://www.fscs.org.uk/what-we-cover/; Directive 97/9/EC on investor-compensation schemes. https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A31997L0009
- Siegmund, D. (1985). Sequential Analysis: Tests and Confidence Intervals. Springer. doi:10.1007/978-1-4757-1862-1
Educational material only — not investment, legal or tax advice. Backtests and simulations are hypothetical. Disclaimer · Text CC BY 4.0 · Code MIT.