When you tap “buy” or “sell” on a brokerage app, the trade moves through a pipeline before you actually own the shares or receive the cash. Here is what happens when you trade a stock: your order is routed to a trading venue and matched with a counterparty, the National Securities Clearing Corporation steps between the two brokerages to guarantee the trade, obligations are netted down, and the Depository Trust Company moves shares and money by electronic book entry. Under current U.S. rules, the whole sequence finishes one business day after the trade.
The Order You Place Shapes the Fill
What happens first depends on the order type you chose. A market order tells your broker to execute immediately at the best available price. You get speed and sacrifice control, because the final fill can differ from the quote you saw. The gap is usually tiny for heavily traded stocks and can widen for thinly traded ones, especially in volatile sessions.
A limit order flips the tradeoff. You set a ceiling for buys or a floor for sells, and the order only executes at that price or better. If the market never reaches your number, the order sits unfilled.
A stop order stays dormant until the stock hits a trigger price, then converts into a market order. Investors use stops to cap losses on a position moving against them. Because the triggered order becomes a market order, the actual fill can slip past the trigger in fast-moving markets. A stop-limit order converts into a limit order instead, which protects your price but may leave you unfilled if the stock blows through your limit.
Where Your Order Goes and How Price Is Protected
Once submitted, your order has to be routed somewhere. Federal rules impose a “best execution” duty, meaning the firm has to seek the most favorable terms reasonably available for your trade, not just a convenient fill.1Federal Register. Regulation Best Execution In practice that means a national securities exchange or an off-exchange market maker, chosen on some combination of price, speed, and the likelihood of filling the full order.
Price protection comes from the National Best Bid and Offer, or NBBO: a continuously updated quote reflecting the highest buy price and lowest sell price available across all exchanges at any moment. The SEC’s Order Protection Rule prohibits trading venues from executing your order at a price worse than the NBBO, which prevents one exchange from filling your trade at an inferior price when a better quote exists somewhere else.2eCFR. 17 CFR 242.611 – Order Protection Rule
Most zero-commission brokerages make money by routing retail orders to wholesale market makers who pay for that order flow. The arrangement, payment for order flow, has drawn scrutiny because of a potential conflict: the broker could be tempted to route where the payment is highest rather than where execution is best. Major brokers typically charge a flat rate to all market makers, which removes the incentive to route based on payment size. You can see exactly where your broker sends orders and what it receives: SEC Rule 606 requires every broker to publish quarterly reports disclosing routing destinations and any payment-for-order-flow arrangements.3eCFR. 17 CFR 242.606 – Disclosure of Order Routing Information
Clearing Through the NSCC
Once your order executes, you and the counterparty have agreed on a price, but nobody has exchanged anything yet. That is the clearing stage. The National Securities Clearing Corporation steps between the two brokerages and, through a process called novation, becomes the buyer to every seller and the seller to every buyer.4DTCC. CNS If the other side of your trade defaults, the NSCC still guarantees delivery, so individual failures don’t cascade through the system.5SEC.gov. Order Approving Proposed Rule Change – NSCC Central Counterparty
The NSCC also compresses the workload through netting. Instead of processing every trade individually, it aggregates all of a brokerage’s buy and sell activity in each stock into a single net obligation. If your broker bought 10,000 shares of a company across all client orders and sold 9,700 of the same stock, netting reduces the obligation to a delivery of 300 shares. Across the whole market, netting eliminates roughly 98% of the value that would otherwise need to move between institutions.6DTCC. Equities by the Numbers
Settlement on T+1
Settlement is the moment shares and cash actually change hands. Since May 28, 2024, the standard settlement cycle for most U.S. stock trades is T+1: everything must finalize by one business day after the trade date.7U.S. Securities and Exchange Commission. Shortening the Securities Transaction Settlement Cycle – Frequently Asked Questions The cycle was shortened from the prior T+2 to narrow the window of risk between agreement and completion.8U.S. Securities and Exchange Commission. Shortening the Securities Transaction Settlement Cycle
The Depository Trust Company handles the actual asset movement through an electronic book-entry system. No paper certificates are involved. The DTC updates its ledgers to move the securities from the seller’s account to the buyer’s account while the buyer’s funds transfer to the seller’s brokerage.9SEC.gov. Exhibit 3 – DTC Book-Entry-Only Issuance Most shares are held in “street name”: the DTC’s nominee (Cede & Co.) is the registered owner on the books of the issuing company, your broker holds a position at the DTC, and you hold a beneficial interest through your broker. That layered structure is what makes near-instant electronic settlement possible.
Fractional Shares Settle Differently
If you bought a fractional share, the whole-share portion of your order clears through the NSCC like any other trade. The fractional piece settles internally at your brokerage. The broker buys or holds a full share and allocates you a fractional interest, acting as the counterparty on that portion. This is why fractional shares generally can’t be transferred between brokerages: they exist only in your broker’s internal ledger, not at the DTC.
Dividend Timing Depends on Settlement
Settlement timing determines whether you receive a dividend. When a company declares a dividend, it sets a record date, and you must be the shareholder of record on that day to collect the payment. The ex-dividend date is typically one business day before the record date. If you buy on or after the ex-dividend date, the trade settles too late for you to be the shareholder of record, and the seller receives the dividend instead.10U.S. Securities and Exchange Commission. Ex-Dividend Dates: When Are You Entitled to Stock and Cash Dividends Under T+1, you need to buy no later than the day before the ex-dividend date to qualify.
Your Trade Confirmation
Your broker must send a written trade confirmation at or before the completion of each transaction under SEC Rule 10b-10. The confirmation shows the date and time of the trade, the number of shares, the execution price, and whether the broker acted as your agent (matching you with another party) or as a principal (trading from its own inventory). It also discloses any commissions or markups the firm charged.11Reginfo.gov. Rule 10b-10 With T+1, the confirmation window has compressed, and most brokers now generate these electronically within hours of execution.
Keep these. They are your primary proof of what you paid, when you bought, and what you were charged, and the first thing to check if you suspect a trade was mishandled.
Cash Account Pitfalls During Settlement
If you trade in a cash account rather than a margin account, the settlement timeline creates constraints that catch new investors off guard. Three violations can restrict your trading:
- Free riding: buying a stock with unsettled funds and selling it before paying for it. Even one instance in a 12-month period can result in a 90-day restriction to settled-cash-only trading, and the broker can seize the profits.
- Good faith violation: buying a stock with unsettled funds and selling it before those funds settle. Three in 12 months triggers the same 90-day restriction.
- Cash liquidation violation: not having enough settled cash on the settlement date to cover your purchase, forcing a liquidation. Three in 12 months leads to the same 90-day freeze.
T+1 has shrunk the window these violations happen in, but the rules still apply. If you trade actively in a cash account, track which funds have settled before using them for new purchases. Most brokerage apps now show settled versus unsettled cash.
When a Trade Doesn’t Go Right
Failed Settlements
Sometimes a trade fails to settle on time, usually because the selling broker can’t deliver the shares. SEC Regulation SHO requires brokers to close out fail-to-deliver positions within a short deadline after the original settlement date by purchasing or borrowing the shares.12eCFR. 17 CFR 242.204 – Close-Out Requirement These forced buy-ins protect buyers from being left in limbo. Occasional settlement failures are a normal part of market operations, not a sign something went wrong with your specific order.
Clearly Erroneous Trades
If a trade executes at a wildly incorrect price because of a technology glitch or system error, the broker can petition FINRA to review and potentially cancel the transaction. The broker must certify that the trade resulted from a genuine technology or systems issue, and FINRA generally acts within 30 minutes of detecting the problem.13FINRA. Clearly Erroneous Transactions in Exchange-Listed Securities This process is for obvious errors, like a $50 stock filling at $5 because of a software bug, not for trades where you simply didn’t get the price you wanted.
Disputing a Trade
If you believe your broker mishandled a trade and informal complaints don’t resolve the issue, FINRA arbitration is the standard path for resolving disputes with brokerage firms.14FINRA. FINRA’s Arbitration Process Most brokerage account agreements include mandatory arbitration clauses, so going to court typically isn’t an option.
If Your Broker Fails
If your brokerage firm goes under financially, the Securities Investor Protection Corporation covers customer assets up to $500,000 per account, with a $250,000 sublimit for cash.15SIPC. What SIPC Protects SIPC restores securities and cash held at the failed firm; it does not cover investment losses from market declines. Because shares are held in street name at the DTC, a broker’s insolvency doesn’t destroy your ownership interest. It requires a transfer of your positions to a solvent firm, which SIPC facilitates.