You press buy. Then what?
Between your click and your fill sits a hidden industry — routers, wholesalers, matching engines, hidden pools, and a consolidated tape. Milliseconds, not moments. This is the machinery the chart never shows you.
The life of an order
Your order doesn't "go to the stock market." It takes a route — and which route it takes decides your price. Step through it.
Inside the matching engine
At the heart of every exchange sits one piece of software: the matching engine. It holds the order book and decides, thousands of times a second, who trades with whom.
◈ Live order book (SIM) — price/time priority: best price wins; at equal prices, first in line fills first
Price–time priority
The rule almost every exchange runs on: best price first — and among equals, whoever queued first.
A resting limit order joins a queue at its price level. A new order that crosses the spread is matched against the best available price; if several orders sit at that price, the oldest gets filled first. That's why posting early at a level matters, and why latency is worth so much to professional firms — being first in the queue is a real, structural advantage.
This is also the mechanic beneath everything you see on a chart: price only moves when the resting orders at a level are consumed and the engine reaches for the next level. The chart is the exhaust; the book is the engine.
Lit, dark & internalized
There isn't one market — there are dozens of venues, and a smart order router (SOR) decides, order by order, where yours goes.
Public exchange
A central limit order book — NYSE, Nasdaq and others. Bids and offers are displayed to everyone before they trade.
Wholesaler
A market-making firm buys retail flow from brokers and fills it against its own inventory — often at or slightly better than the public best price.
Dark pool (ATS)
A private venue that matches large orders without displaying them — commonly at the midpoint of the public spread.
Broker internal cross
Your broker matches one client's buy against another client's sell in-house, before routing anywhere — saving fees and impact.
▸ The SOR weighs price, fees, speed, and fill probability across all of these in real time. In current US equity markets, a large share of volume — commonly estimated around ~40–50% — trades off the public exchanges across these channels. Estimates vary by source and period.
Dark pools, properly explained Deep dive
Not a conspiracy — a regulated venue class solving a real problem. Here's the actual mechanism.
// 01 · The problem
Why hide an order at all?
Because on a lit book, size is a signal — and the signal costs you money.
Imagine you must sell a million shares. Post that on a public exchange and the whole market instantly sees a supply imbalance: price drops away before you're filled. That's market impact, and for institutions it's the single biggest execution cost. Pre-trade transparency, so good for price discovery, is actively expensive for big orders.
// 02 · The mechanism
How a dark pool actually matches
Orders rest invisibly inside the pool's matching engine and are paired anonymously — usually at the midpoint of the public spread.
Step by step: an order is sent to the pool, where it sits with zero pre-trade transparency — no one sees its size or price. The engine looks for a compatible counterparty inside the pool. When it finds one, it executes at a reference price taken from the lit market, most often the midpoint of the national best bid and offer — so both sides get price improvement over crossing the full spread. Both parties stay anonymous, and the completed trade is then reported to the consolidated tape.
So the transparency isn't abolished — it's delayed. Pre-trade: hidden. Post-trade: public. That single distinction is the whole design.
// 03 · The types
Who runs them
Dark pools are formally Alternative Trading Systems (ATS) — registered and regulated, not underground.
Broker-dealer pools are run by large banks, crossing their own clients' flow internally (which creates conflict-of-interest questions, since the operator may also trade). Agency/independent pools are run by neutral operators that don't trade for their own account, specialising in large block crossing. Exchange-owned pools are dark venues operated by the exchanges themselves to compete for that flow.
Regulators require them to register, disclose their matching logic, fees and access rules, and report trades — and bodies like FINRA publish venue-level activity data. Transparency about the mechanism, if not the orders.
// 04 · The catch
The honest downsides
Hiding liquidity has a cost — and it isn't paid by the people hiding it.
Because so much volume trades away from public books, price discovery on the lit market thins out: the visible book reflects less of the true supply and demand. There's an information asymmetry favouring those with access. And resting dark orders aren't immune — sophisticated players can use indirect signals to detect and trade against them (adverse selection again). Meanwhile, most retail orders end up off-exchange anyway, via wholesaler internalization, usually without the trader ever knowing.
The honest summary: dark venues genuinely reduce market impact for large trades and often deliver price improvement — while making the public market a slightly less complete picture of reality. Both things are true. This is an active regulatory debate, not a settled question.
▸ Sources & caveats: mechanics summarised from regulator materials (SEC/FINRA) and industry descriptions of ATS operation; volume figures are estimates that vary by source and period. Educational only — not trading advice, and not a claim that markets are "rigged." Dark pool activity is not a directional signal. Cross-reference the flagship advanced layer for market makers and payment for order flow.
Common questions
What is a matching engine?
The software at the core of an exchange. It holds the order book and pairs buyers with sellers under strict rules — usually price–time priority: the best price wins, and among equal prices, whoever arrived first fills first.
Does my order actually reach an exchange?
Often, no. Many retail brokers route orders to wholesalers who internalize them — filling against their own inventory, frequently at or slightly better than the public best price. Regulators have noted a large share of retail orders never touch a lit exchange.
Are dark pools illegal or shady?
No. They're regulated Alternative Trading Systems, required to register, disclose their mechanics, and report completed trades to the public tape. The legitimate criticism isn't legality — it's the effect on price discovery and information asymmetry.
Can I see dark pool activity as a trading signal?
Data exists, but it needs careful interpretation and doesn't indicate direction — institutions use these venues for many reasons. Treating dark-pool prints as a buy/sell signal is a misreading of what they are.