How Does the Stock Market Work? Exchanges, Orders and Prices for Beginners
The stock market, one order at a time: what a stock exchange is and how NYSE and Nasdaq match orders, how the bid and ask set your price, where your order fills, who polices it, and how trading differs from investing.
A company sells shares to the public to raise money, then investors trade them with each other through brokers, and the price moves with what buyers will pay and sellers will accept. That's the stock market. A stock exchange is one venue in it, and your broker picks where your order actually fills. That plumbing is what this post follows.
Quick Answer
The stock market is all the buying and selling of shares in public companies, on exchanges and off them. A stock exchange, such as the NYSE or Nasdaq, is one regulated marketplace inside it that lists companies meeting its standards and matches buy and sell orders from its member brokers. Companies first sell shares in an IPO (the primary market), and investors then trade with each other (the secondary market). You place orders through a broker, which picks where they fill, and most US stock trades settle one business day later (T+1).
What Is a Stock, and Where Does It Trade?
In the regulator's own definition, stocks are "a type of security that gives stockholders a share of ownership in a company." Own one of a million shares and you own a millionth of the company, usually with a vote and a claim on any dividends.
The primary market is where "newly issued securities are sold to investors and the issuer receives the proceeds," and an IPO, covered in the step-by-step guide to going public, is the famous example. The secondary market is where "existing securities are bought and sold." Buy 10 shares of a company that listed years ago and the money goes to whoever sold them, not the company. That's what people usually mean by "the stock market", and it gives investors a way out (liquidity) and a live price on every listed company (price discovery).
What Is a Stock Exchange?
A stock exchange is an organized, regulated marketplace that brings buyers and sellers together under one set of rules and lists companies that meet its standards. US law defines an exchange in Section 3(a)(1) of the Exchange Act, and the big ones register with the SEC as national securities exchanges under Section 6. Each is a self-regulatory organization that writes and enforces rules for its members, under SEC oversight. Only member broker-dealers trade on it directly, so you go through one.
Stock exchange vs stock market
An exchange is one venue. The stock market is all the trading, on exchanges and off them. A stock's primary listing is on one exchange, but its shares also trade on other exchanges and the off-exchange venues below, and unlisted companies trade over the counter (OTC), usually thinly, as the guide to OTC and listed penny stocks covers.
To list, a company must meet the exchange's minimums (share price, market value, shareholders, earnings or equity) and can be delisted if it stops meeting them. Most arrive by IPO, some by direct listing or SPAC merger. Exchanges list ETFs and other products too.
By the value of their listed companies, Nasdaq and NYSE are the world's two largest stock exchanges, with Nasdaq ahead in March 2026 per World Federation of Exchanges figures. Shanghai, Euronext and Japan Exchange Group are among the big ones abroad. At home, the SEC's list (updated January 2026) has 29 registered national securities exchanges, several options-only, mostly run by a few groups (NYSE, Nasdaq, Cboe, MIAX, MEMX) plus independents such as IEX.
How an exchange matches orders
Matching is electronic, though NYSE still keeps a trading floor. Orders line up by price, then by arrival time. NYSE and Nasdaq both run auctions at the open and the close, and NYSE assigns one Designated Market Maker per listed stock to help keep trading fair and orderly.
How Is a Stock Price Set?
A stock's quoted price is the last trade, made when someone crosses the spread between the bid (the highest price a buyer will pay now) and the ask (the lowest a seller will take). "Supply and demand" is true but useless at an order ticket.
Say Lanternfish Robotics (made up, like every price here) last traded at $25.00, bid $24.98, ask $25.03. That $25.00 is history. A market buy for 100 shares most likely fills at or near $25.03, and Investor.gov's page on order types warns that "the last-traded price is not necessarily the price at which a market order will be executed." Sell straight back at the bid and you've paid $5.00 in spread before the stock moves, which the breakdown of what the bid-ask spread costs you digs into.
A market order gets you in now but doesn't guarantee the price. A limit order guarantees the price but not the fill. The guide to choosing between market and limit orders covers when each fits. Prices move when people change their minds about what a share is worth, and how far and fast a stock swings is its volatility.
What Happens When You Tap Buy?
Your broker picks where your buy order goes (an exchange, a market maker, an ECN or ATS, or its own desk), then the trade clears through the NSCC and settles T+1. Most guides stop at the exchange. It took me a while to learn otherwise.
The path of one buy order
Your broker picks the venue and owes you best execution
Investor.gov's page on how an order gets executed puts it plainly: "Just as you have a choice of brokers, your broker generally has a choice of markets to execute your trade." An ATS meets the legal definition of an exchange but runs under an exemption, and it sets no rules for its users beyond how they trade there.
Under FINRA Rule 5310 on best execution, your broker must "use reasonable diligence to ascertain the best market" so your price is "as favorable as possible under prevailing market conditions." Some market makers pay brokers for retail orders, which is payment for order flow. It's legal and disclosed, and best execution still applies.
The trade clears and settles T+1
After the fill, the National Securities Clearing Corporation (NSCC) clears the trade and the Depository Trust Company (DTC) updates the ownership records, as Investor.gov's market participants page lays out. The SEC moved most broker-dealer trades to T+1, one business day after the trade date, from May 28, 2024, so explainers still saying T+2 are out of date.
Everyone involved, on one page:
| Participant | What it does | Where you notice it |
|---|---|---|
| You | Choose the stock, the number of shares and the order type | The order ticket in your brokerage app |
| Broker-dealer | Takes your order, picks the venue, owes you best execution | Your account and confirmations |
| Exchange (NYSE, Nasdaq and others) | A registered, self-regulatory market that lists companies and matches its members' orders | The listing venue next to the ticker |
| Market maker | Stands ready to buy or sell a stock at publicly quoted prices | Often the other side of a small retail order |
| ECN or ATS (including dark pools) | Electronic venues that match orders, often off the registered exchanges | Only if your account offers direct routing |
| Your broker's own desk (internalization) | Fills your order inside the firm instead of sending it out | The broker's routing disclosures |
| Clearing and settlement (NSCC, DTC) | NSCC clears member trades. DTC holds the securities and keeps the ownership records | Never, unless something goes wrong |
| Regulators (SEC, FINRA) | The SEC oversees the securities markets. FINRA supervises brokerage firms, under SEC oversight | Rules, investor alerts, broker background checks |
Market Hours, Indexes and Who Polices It
When the market is open
The regular session on the major US exchanges runs 9:30 a.m. to 4:00 p.m. ET, Monday to Friday, listed as the "Core Trading Session" on NYSE's holidays and trading hours page. There is no regular session on weekends, and the weekend trading guide covers what does and doesn't trade. Extended sessions before the open and after the close vary by venue and broker and trade thinner. The guide to trading before the opening bell and the walkthrough of the post-close session cover them.
What "the market is up" actually means
It means an index went up. Investor.gov defines a market index as "a measurement of the performance of a specific 'basket' of stocks," and the S&P 500 explainer compares it with the Nasdaq Composite and the Dow. An index isn't an exchange. It tracks a group of listed companies, and one stock can drop 8% on a day the index rises.
Who polices it
The SEC is the federal regulator of US securities markets, with a stated mission of "protecting investors, maintaining fair, orderly, and efficient markets, and facilitating capital formation." FINRA, a self-regulatory organization, supervises brokerage firms under SEC oversight.
Trading vs Investing: What's the Difference?
Same market, same stocks. A trader holds for minutes to weeks to catch price moves, leaning on technical analysis instead of fundamental analysis, while an investor buys a piece of a business for years. Side by side, with the tax row from IRS Topic 409:
| Topic | Trading | Investing |
|---|---|---|
| Holding period | Minutes to hours for day traders, who close out before the session ends. Days to weeks for swing traders | Years, often decades |
| Analysis | Technical analysis: the chart, volume, the bid and ask | Fundamental analysis: earnings, the business, valuation |
| Time it takes | Watching the screen through the session | Checking in now and then |
| Costs that bite | The spread and slippage on every entry and exit | Fund fees, and selling in a panic |
| Taxes (US) | Held one year or less: short-term. Net short-term gains are taxed as ordinary income | Held more than one year: long-term |
| Main risk | Small losses and costs adding up, and fast moves against you | A long drawdown, or one company going to zero |
| Account type | Shorting needs a margin account, and day trading on margin has extra rules | A cash account usually does the job |
The costs row surprises people. An investor might cross the spread a handful of times in a decade. A day trader crosses it in and out of every trade, so $0.05 a share stops being a rounding error.
Either way you can lose money, all of it if a company fails (a broad fund spreads that risk), and margin makes any loss bigger. Investor.gov is blunter about the short end: "Day trading is extremely risky and can result in substantial financial losses in a very short period of time." You don't have to pick one. Plenty of people invest for the long run and trade a small, separate slice, and the split comes down to goals, time and how much loss you can stand. The scalping, day trading and swing trading comparison lays out holding periods, and whether day trading beats an index fund gets its own verdict.
How a Beginner Reads a Stock Chart
A price chart is a record of trades that already happened. Each candlestick sums up one window, a minute, five minutes or a day, in four prices: open, high, low and close. Volume bars underneath count the shares traded in it.
One 5-minute candle, labelled
This 5-minute Lanternfish Robotics candle opened at $25.10, ran to $25.60, dipped to $24.90 and closed at $25.45, so it's green. It's still history, and the bid and ask show where the next trade can happen. The beginner's guide to candles, trends and volume goes further, and the momentum trading playbook shows what traders look for. Run the same read on the chart you have open:
- Last barRead its open, high, low and close.
- WicksA long upper wick means sellers pushed price back down before the bar closed.
- VolumeCompare that bar's volume with the recent bars. A big candle on light volume says less.
- SessionPremarket and after-hours bars come from much thinner trading.
Read the candles. Then grade the setup before you tap buy.
Upload the same chart screenshot. SnapPChart grades it A+ to F for momentum continuation, long or short, from the candles, EMAs, VWAP, MACD and volume in the image. It doesn't place or route orders.
Grade this chartWhat a Chart Grade Sees, and What It Doesn't
SnapPChart grades one chart screenshot for momentum continuation, long or short, from the candles, EMAs, VWAP, MACD and volume visible in the image, and it can read the ticker label on the chart. Every chart gets a grade from A+ to F. When a setup qualifies, a full analysis also gives you an entry, a stop with the reasoning behind it, and targets. When it doesn't, a full analysis tells you why.
It isn't a broker. It doesn't place or route orders, see the order book or the live bid and ask, or know where your broker sends your order, and its grade doesn't read the news. The AI chart analysis overview has the wider view.
Frequently Asked Questions
Are trading profits taxed differently from long-term investing?
In the US, the holding period decides it. Under IRS Topic 409, a gain or loss on an asset held more than one year is long-term, and one held one year or less is short-term. Net short-term capital gains are taxed as ordinary income at graduated rates. Rates change, and this isn't tax advice.
Can I lose more money than I put in?
In a cash account, the most you can lose on a stock is what you paid. On margin you can lose more than your deposit, and a short position has no ceiling on the loss because a price can keep rising. Read your broker's margin agreement before you turn either on.
What does T+1 settlement mean for me in practice?
Your trade is legally done one business day after the trade date, though your broker shows the position right away. In a cash account, if you sell, buy something else with the proceeds, then sell that before the first trade settles, brokers can restrict the account. Ask yours how it handles unsettled funds.
Is the stock market open on weekends and holidays?
There is no regular session on weekends. NYSE says all of its markets observe US holidays, and it publishes 1:00 p.m. ET early closes on certain days, such as the day after Thanksgiving. Some brokers offer overnight trading on certain stocks and some exchanges plan overnight sessions, but liquidity outside regular hours is thinner, so check your broker and the exchange calendar.
Does SnapPChart place trades or show me the bid and ask?
No. SnapPChart is not a broker. It grades one chart screenshot you upload for momentum continuation, long or short, and can read the ticker label on it. It doesn't see the order book, the live bid and ask, or where your broker routes orders, and its grade doesn't read the news. You place and manage trades with your broker.
This is general education, not investment, financial, tax or trading advice, and no broker, platform or security is recommended. Lanternfish Robotics and its prices are hypothetical. Sources (Investor.gov, the SEC, the Exchange Act, FINRA, NYSE, Nasdaq's listing guide, the World Federation of Exchanges, the IRS) were read in November 2026, and hours, settlement, listing and tax rules can change. You can lose money investing or trading. SnapPChart grades one static chart screenshot. It is not a broker and does not place, route or execute orders or see live quotes or the order book, and its grade does not read news.
Writes about AI-assisted day trading, technical analysis, and the systems traders actually use to stay disciplined.
You know how the market works. Now grade the setup before you click buy.
Upload a chart screenshot. SnapPChart grades the momentum setup on it, long or short, and when it qualifies gives you, on full analyses, an entry, a stop with the reasoning behind it, and targets. It isn't a broker, doesn't place orders, and its grade doesn't read the news. One skipped C-grade trade can pay for the subscription.