Stock Market Basics Guide

How the Stock Market Works: A Simple Guide: A Quick Guide

The stock market is where millions of people buy and sell ownership in companies every trading day. This guide walks through what actually happens when you place a real order — from clicking 'Buy' to owning shares in under a second — then covers NYSE vs Nasdaq, what drives prices, and why the market is not the economy.

11 min readBeginnerUpdated Apr 3, 2026
Written by StockCram Editorial TeamEditorially reviewed for accuracy

Educational purposes only. This content does not constitute investment advice. Read our disclaimer

StockCram is not a broker-dealer, investment adviser, or financial institution. All content is for educational and informational purposes only and should not be construed as personalized investment advice. Consult a qualified financial professional before making investment decisions. Past performance does not guarantee future results.
Share

What You'll Learn

  • What happens step by step when you buy 10 shares of Apple
  • How your order gets matched in 0.3 seconds
  • The key differences between NYSE and Nasdaq
  • Why the stock market can rise during a recession and fall during growth
  • How trading hours, indexes, and regulation all fit together

A Real Example: Placing Your First Order

You tap 'Buy' on your phone. 0.3 seconds later, a computer on Wall Street matched your order with a seller in Tokyo. 6.5 billion shares change hands daily. Here's how it all works.

Let's walk through exactly what happens when you buy stock, step by step.

You open your brokerage app — say, Fidelity. You search for AAPL (Apple's ticker symbol). The current price is $185.00. You select "Buy," enter 10 shares, and choose a market order (buy at whatever the current price is). You tap confirm. (StockCram is not affiliated with any brokerage.)

Here's what happens in the next 0.3 seconds.

Step 1 — Order routing. Your broker receives your order and routes it to an exchange or market maker. Fidelity's algorithms find the best available price, as required by SEC's best execution rule.

Step 2 — Matching. The exchange's matching engine pairs your buy order with a seller willing to sell at $185.00 (or the best available price). For a liquid stock like Apple, there are thousands of sellers at any moment.

Step 3 — Execution. The trade executes. You receive a confirmation: 10 shares of AAPL at $185.00, total $1,850.00.

Step 4 — Settlement. Behind the scenes, the actual transfer of shares and cash happens the next business day (T+1 settlement). Your brokerage shows the shares in your account immediately, but the formal transfer completes in T+1.

That's it. You just bought ownership in a $2.8 trillion company in less time than it takes to blink. The diagram below shows this process visually — from the moment you place your order to when the shares appear in your account.

Key Concept

The stock market is a network of exchanges where shares of publicly traded companies are bought and sold. When you click "Buy" on a liquid stock, your order is matched with a seller and executed in under a second.

Flowchart showing how a stock trade works — from placing an order through your broker to the exchange, trade execution, and T+1 settlement
Simplified illustration. Actual routing may involve market makers and ECNs.

What the Stock Market Actually Is

The stock market is a collection of exchanges and marketplaces where stocks, bonds, and other securities are bought and sold. It serves two purposes: it allows companies to raise capital by selling shares to the public, and it gives investors the opportunity to own pieces of those businesses.

Think of it like a massive, organized marketplace. Just as a farmer's market brings together buyers and sellers of produce with established rules, the stock market brings together buyers and sellers of stocks with regulations, standardized processes, and oversight.

The stock market also functions as a price discovery mechanism. Through the constant interaction of buyers and sellers, the market determines what each company is worth at any given moment. When Apple is trading at $185, that price reflects what millions of market participants collectively believe the company is worth right now.

For a structured introduction, see the What Is the Stock Market? lesson in the Foundations course.

NYSE vs. Nasdaq: Key Differences

The two dominant U.S. exchanges have distinct histories, structures, and listings. Understanding the differences helps you navigate financial news and company listings.

The New York Stock Exchange (NYSE) is the largest stock exchange in the world by total market capitalization. Founded in 1792 on Wall Street, it originally used a physical trading floor with human specialists.

While most trading is now electronic, the NYSE still operates a hybrid model with a physical floor. It lists many traditional blue-chip companies — Berkshire Hathaway, JPMorgan, Walmart, and Johnson & Johnson.

The Nasdaq is the second-largest exchange and was the world's first electronic stock market when it launched in 1971. It has no physical trading floor — all trading happens electronically. The Nasdaq is known for its concentration of technology companies: Apple, Microsoft, Amazon, Google (Alphabet), and Meta are all listed here.

Both exchanges are highly regulated, highly liquid, and accessible through any major brokerage. The exchange a company lists on can affect its visibility, but both provide excellent price discovery and execution quality.

Beyond the U.S., major exchanges include the London Stock Exchange (LSE), Tokyo Stock Exchange (TSE), Shanghai Stock Exchange (SSE), and Hong Kong Stock Exchange (HKEX).

Key differences between the two major U.S. stock exchanges
FeatureNYSENasdaq
Founded17921971
Trading modelHybrid (electronic + physical floor)Fully electronic
Known forTraditional blue-chips, financials, industrialsTechnology companies, growth stocks
Notable listingsBerkshire Hathaway, JPMorgan, WalmartApple, Microsoft, Amazon, Google
Listing feesGenerally higherGenerally lower
Market cap rank#1 globally#2 globally

What Drives Stock Prices

Stock prices change throughout the trading day based on supply and demand. But what makes people want to buy or sell?

Company fundamentals are the most direct influence. When Apple reports higher-than-expected earnings, more investors want to buy, and the price tends to rise. Disappointing results lead to selling pressure and falling prices.

Economic indicators affect the entire market. Employment data, inflation numbers, GDP growth, and consumer spending all shape investor expectations. The Economic Indicators lesson covers this in depth.

Interest rates, set by the Federal Reserve, have a significant impact. When rates rise, borrowing costs increase for companies, and bonds become relatively more attractive. When rates fall, the opposite tends to occur.

Investor sentiment and market psychology play a substantial role. Fear, greed, and herd behavior can push prices beyond what fundamentals justify. During a bull market, optimism drives prices higher; during a bear market, pessimism drives them lower.

Geopolitical events — wars, trade disputes, elections, pandemics — create uncertainty, and markets generally dislike uncertainty.

Here is the key insight many beginners miss: the market is not the economy. Stock prices reflect expectations about the future, not current conditions. In 2020, the S&P 500 hit new all-time highs while unemployment was still elevated.

In late 2007, GDP was growing when the stock market began its decline into the financial crisis. The disconnect happens because the market is a forward-looking mechanism — it prices in where things are headed, not where they are now.

Market Hours and Trading Sessions

U.S. stock markets (NYSE and Nasdaq) operate Monday through Friday, with three main sessions.

Pre-market trading: 4:00 AM to 9:30 AM Eastern Time. Lower volume, wider spreads, more volatile. Useful for reacting to overnight news or earnings released before the open.

Regular trading hours: 9:30 AM to 4:00 PM Eastern Time. This is when the most volume occurs and prices are most reliably established.

After-hours trading: 4:00 PM to 8:00 PM Eastern Time. Similar characteristics to pre-market — lower volume and wider spreads.

U.S. markets are closed on weekends and specific holidays. When significant news breaks outside regular hours, it can create a "gap" — the stock opens at a significantly different price than where it closed.

Global markets operate on different schedules. Tokyo opens while U.S. markets are closed. London overlaps with U.S. morning hours. Financial markets are active somewhere in the world nearly 24 hours a day during the business week.

9:30 AM

Market Open

Eastern Time

4:00 PM

Market Close

Eastern Time

T+1

Settlement

Trades settle next day

252

Trading Days

Per year (approx.)

Market Indexes and Benchmarks

A market index tracks the performance of a specific group of stocks. When news anchors say "the market is up today," they're usually referring to the S&P 500 — an index tracking 500 of the largest U.S. companies.

The Dow Jones Industrial Average (DJIA) tracks 30 large U.S. companies. It's price-weighted, meaning higher-priced stocks have more influence — a design some consider outdated.

The Nasdaq Composite tracks all 3,000+ stocks listed on the Nasdaq exchange. Because Nasdaq is tech-heavy, this index is often used as a gauge for the technology sector.

The Russell 2000 tracks 2,000 small-cap U.S. companies and serves as the benchmark for small-cap performance.

Investors use indexes as benchmarks to compare their own returns. If your portfolio returned 8% but the S&P 500 returned 12%, you underperformed. Indexes have also given rise to ETFs and index funds that let you buy the entire index in a single purchase.

Major U.S. stock market indexes compared
IndexNumber of StocksWeighting MethodPrimary Focus
S&P 500500Market-cap weightedLarge-cap U.S. companies
Dow Jones (DJIA)30Price weightedBlue-chip U.S. companies
Nasdaq Composite3,000+Market-cap weightedAll Nasdaq-listed (tech-heavy)
Russell 20002,000Market-cap weightedSmall-cap U.S. companies

Regulation and Investor Protection

The stock market is one of the most heavily regulated industries in the world.

The Securities and Exchange Commission (SEC) is the primary U.S. regulator. Created in 1934 after the 1929 crash, the SEC oversees exchanges, brokers, and investment advisors. It enforces laws against insider trading, market manipulation, and fraud.

FINRA (Financial Industry Regulatory Authority) is a self-regulatory organization that oversees broker-dealers, sets rules, and provides dispute resolution for investors.

The SIPC (Securities Investor Protection Corporation) provides limited protection if a brokerage firm fails — up to $500,000 in securities per customer. This is not insurance against investment losses; it protects against brokerage firm failure.

Publicly traded companies must file regular reports with the SEC — annual reports (10-K), quarterly reports (10-Q), and current event reports (8-K). These filings are publicly available and give investors standardized financial information.

Insider trading — trading on material, non-public information — is illegal and can result in severe civil and criminal penalties.

Key Considerations

Understanding how the stock market works is the foundation for every investment decision.

The market is not the economy. Stock prices can rise during recessions and fall during strong economic growth. The market reflects expectations about the future, not the current state of the economy. This disconnect surprises many beginners.

Most trading volume comes from institutions. Individual retail investors account for a relatively small share of daily volume. Hedge funds, pension funds, mutual funds, and algorithmic traders dominate most of the activity.

Market timing is extremely difficult. Even professional fund managers rarely outperform consistently by trying to predict short-term movements. For most investors, time in the market has historically mattered more than timing the market.

After-hours trading has different risks. Lower liquidity means wider spreads and more price volatility. Prices you see outside regular hours may not hold when the main session opens.

Continue Your Learning

Now that you understand how the stock market works, here are logical next steps.

If you haven't already, read What Is a Stock? to understand the fundamental security traded on the stock market. To learn about the most important benchmark index, explore What Is the S&P 500?.

For pooled investment vehicles that hold hundreds of stocks at once, read What Is an ETF?. To explore valuation concepts, What Is a P/E Ratio? explains the most commonly used metric for evaluating stock prices.

The Foundations course provides a structured, lesson-by-lesson path through market fundamentals. For those ready to take practical steps, the Start Investing course covers brokerage accounts, order types, and making your first investment.

Remember that all investing carries risk, and education is the starting point for understanding how financial markets work — not a guarantee of any particular outcome.

Related Guides

Continue Your Learning

Related Terms

Key Takeaways

1

Your order executes in under a second

When you click 'Buy' for a liquid stock like Apple, your brokerage routes your order to an exchange, it's matched with a seller, and you own the shares — all in about 0.3 seconds.

2

NYSE and Nasdaq serve different niches

The NYSE is the largest exchange by market cap and lists traditional blue-chips. The Nasdaq is fully electronic and technology-heavy. Both are highly regulated and liquid.

3

The market is not the economy

Stock prices reflect expectations about the future, not current economic conditions. Stocks can rise during recessions and fall during periods of strong GDP growth.

4

Markets have rules and protections

The SEC, FINRA, and SIPC create a framework of regulation, oversight, and limited insurance that protects investors — though none of these eliminate investment risk.

Frequently Asked Questions

The stock market is a network of exchanges where you can buy and sell shares of companies. When you place a buy order through a brokerage app, your order is routed to an exchange, matched with a seller, and executed — usually in under a second. You then own shares of that company. Prices change throughout the day based on supply and demand.

The NYSE (New York Stock Exchange) is the largest exchange by market capitalization and lists many traditional blue-chip companies like Berkshire Hathaway and JPMorgan. The Nasdaq is the second-largest, fully electronic, and known for technology companies like Apple, Microsoft, and Amazon. Both are highly regulated and liquid.

U.S. stock markets are open Monday through Friday from 9:30 AM to 4:00 PM Eastern Time. Pre-market trading starts at 4:00 AM ET, and after-hours trading runs until 8:00 PM ET. Markets are closed on weekends and certain holidays.

Yes. The stock market reflects expectations about the future, not current economic conditions. In 2020, the S&P 500 hit new all-time highs while unemployment was still elevated. The market often begins recovering before the economy does because investors price in future improvements.

Stock prices are driven by supply and demand, influenced by company earnings, economic data, interest rates, investor sentiment, and geopolitical events. When more people want to buy than sell, prices rise. When more want to sell than buy, prices fall.

The stock market carries inherent risk — prices can go down as well as up. However, the market is heavily regulated by the SEC and FINRA to ensure fairness and transparency. Many beginners start with diversified index funds or ETFs rather than picking individual stocks. Education and understanding risk are important first steps.

Sources & References

  1. U.S. Securities and Exchange Commission — How the Stock Market Works
  2. https://www.investor.gov/introduction-investing/investing-basics/how-stock-markets-work
  3. NYSE — Market Overview
  4. https://www.nyse.com/markets
  5. Nasdaq — About the Exchange

Found this guide helpful?

Share