The stock market works by connecting buyers and sellers of company shares through regulated exchanges, where prices change continuously based on supply and demand. When you buy a stock, you are purchasing a small ownership stake in a business. When more investors want to own that stake than want to sell it, the price rises. When sellers outnumber buyers, it falls. At its core, the stock market is a price-discovery mechanism — a giant, real-time auction that attempts to reflect what millions of people collectively believe a business is worth.

Understanding how this system functions matters well beyond Wall Street. The performance of equity markets affects retirement accounts, pension funds, corporate investment decisions, and economic confidence. Whether you plan to invest or simply want to understand the financial news, knowing how the machinery of markets operates gives you a significant advantage over those who see only prices moving without reason.

This article explains the full chain: how exchanges are structured, who the participants are, what moves prices, how indices are constructed, and what a beginner should know before placing a first trade.

"The stock market is a device for transferring money from the impatient to the patient." — Warren Buffett


Key Definitions

Share (stock): A unit of ownership in a company. Owning shares entitles you to a proportional claim on the company's assets and, if declared, dividends.

Exchange: A regulated marketplace where securities are bought and sold. Major examples include the New York Stock Exchange (NYSE) and the Nasdaq.

Market maker: A financial firm that continuously quotes both a buy price (bid) and a sell price (ask) for a security, providing liquidity so that other participants can always trade.

Bid-ask spread: The difference between the highest price a buyer is willing to pay (bid) and the lowest price a seller will accept (ask). This spread is the primary cost of trading for most retail investors.

Index: A statistical composite that tracks the performance of a selected group of stocks. The S&P 500, for example, tracks 500 large US companies and is weighted by market capitalization.


How Exchanges Work

The Role of Stock Exchanges

A stock exchange is not a physical marketplace in the traditional sense — it is primarily a set of rules, systems, and technology that match buy and sell orders. The NYSE still maintains a famous trading floor in Manhattan, but the vast majority of matching now happens electronically. Nasdaq has never had a physical floor; it was the world's first electronic stock exchange when it launched in 1971.

Companies list their shares on an exchange through an Initial Public Offering (IPO). The IPO is managed by investment banks that underwrite the offering, help set an initial price, and distribute shares to institutional investors before the stock starts trading publicly. Once listed, the company's shares trade freely on the secondary market — meaning investors buy and sell among themselves, with the company receiving no proceeds from those transactions.

Order Types and Matching

When you place a trade through a brokerage, your order enters the exchange's order book. A limit order specifies the maximum price you will pay (or minimum you will accept). A market order executes immediately at whatever the current best price is. The exchange's matching engine pairs buyers and sellers: if your buy limit order matches a sell limit order at the same price, the trade executes.

Price priority and time priority govern the queue. If two buy orders are at the same price, the one placed earlier gets priority. This system ensures fair, orderly execution.

Market Makers and Liquidity

Who Are Market Makers?

Market makers are firms — typically large financial institutions or specialist trading companies — that are obligated to continuously quote both sides of a market for certain securities. They buy at the bid price and sell at the ask price, profiting from the spread between the two. In exchange for this service, they provide liquidity: you can buy or sell almost any major stock instantly rather than waiting for a matching counterparty.

Citadel Securities, Virtu Financial, and Susquehanna International Group are among the largest market makers in US equities. They use sophisticated algorithms to manage their inventory and hedge risk, processing millions of trades daily.

The Bid-Ask Spread

For a stock trading at $100, a market maker might quote a bid of $99.97 and an ask of $100.03. That $0.06 spread is the market maker's gross margin per share. For highly liquid large-cap stocks, spreads are tiny — often just a penny or two. For thinly traded small-cap stocks or securities on less active exchanges, spreads can be substantial, adding meaningfully to trading costs.

For a buy-and-hold investor making infrequent trades, the spread matters little. For frequent traders, it is a significant drag on returns.

How Stock Prices Move

Supply and Demand

At the most fundamental level, prices move when the balance between buyers and sellers shifts. A company announcing better-than-expected earnings creates a surge of buyers, pushing the price up until it reaches a level where sellers are again willing to transact. Disappointing news, rising costs, or a competitor gaining market share can produce the opposite effect.

This process happens continuously during trading hours. On a given day, a single large institutional sell order can push a stock down 2-3% if there are not enough ready buyers at the current price.

Fundamental Factors

Academic finance, particularly work associated with Benjamin Graham and later developed by researchers including Eugene Fama and Robert Shiller, distinguishes between a stock's intrinsic value (based on the present value of future cash flows) and its market price. In the long run, prices tend to move toward intrinsic value. In the short run, sentiment, momentum, and market narratives can push prices well above or below fundamental worth.

Key fundamental drivers include:

  • Earnings per share (EPS) and whether results beat or miss analyst expectations
  • Revenue growth and the trajectory of the business
  • Interest rates — rising rates reduce the present value of future earnings, making stocks less attractive relative to bonds
  • Macroeconomic conditions — GDP growth, unemployment, and consumer confidence all affect corporate profits

Behavioral Factors

Robert Shiller's Nobel Prize-winning work demonstrated that stock market volatility far exceeds what can be explained by changes in dividends or earnings alone. Investor psychology plays a major role. Fear of missing out drives prices up in bull markets; panic accelerates declines in bear markets. The tendency of investors to anchor on recent price levels, to follow the crowd, and to overreact to news creates patterns that fundamental analysis cannot always predict.

Bull Markets and Bear Markets

Defining Bull and Bear

A bull market is conventionally defined as a rise of 20% or more from a recent trough, sustained over an extended period. A bear market is a decline of 20% or more from a recent peak. These thresholds are arbitrary — markets do not pause at round numbers — but they provide a useful framework for discussing broad market regimes.

Since World War II, the US has experienced roughly 13 bear markets. The average bear market has lasted about 11 months and produced an average loss of around 35%. The average bull market has lasted over 4 years and produced gains of over 150%. This asymmetry is central to the case for long-term equity investing: time in the market matters more than timing the market.

Causes of Bull and Bear Markets

Bull markets typically coincide with strong economic growth, low or falling interest rates, rising corporate profits, and high investor confidence. The longest bull market in US history ran from March 2009 to February 2020, a period of extraordinary monetary stimulus following the financial crisis.

Bear markets are triggered by recessions, rising interest rates, financial crises, geopolitical shocks, or the bursting of asset price bubbles. The 2000-2002 bear market followed the collapse of the dot-com bubble. The 2008-2009 bear market was driven by the housing crisis and subsequent financial system stress.

Stock Market Indices

How Indices Are Constructed

An index is not a tradeable security itself; it is a formula that calculates a composite value from the prices of its constituent stocks. The S&P 500, maintained by S&P Dow Jones Indices, tracks 500 large US companies selected by a committee based on market capitalization, liquidity, and financial viability. It is market-cap weighted, meaning larger companies have more influence on the index level.

The Dow Jones Industrial Average (DJIA), by contrast, is price-weighted: a stock with a higher share price has greater influence regardless of the company's actual size. This is an artifact of its 19th-century origins and makes it a less accurate reflection of the overall market.

The Nasdaq Composite tracks all stocks listed on Nasdaq — over 3,000 companies — with a heavy weighting toward technology. The Russell 2000 tracks 2,000 smaller US companies and is often used as a benchmark for small-cap performance.

Why Indices Matter for Investors

Index funds and ETFs (Exchange-Traded Funds) that track these indices have become the dominant investment vehicle for long-term investors. A single S&P 500 index fund gives a retail investor exposure to 500 major US companies at annual costs often below 0.05%. This low-cost diversification is why index investing has grown dramatically since John Bogle launched the first retail index fund at Vanguard in 1976.

Institutional vs. Retail Investors

Who Moves the Market?

Institutional investors — pension funds, mutual funds, insurance companies, sovereign wealth funds, and hedge funds — control the vast majority of assets in the market. BlackRock, Vanguard, and State Street together hold stakes in virtually every major US public company. When large institutions rebalance portfolios, their trades can move markets meaningfully.

Retail investors — individuals trading through brokerage accounts — have grown significantly as a force in markets since the emergence of commission-free trading apps. The GameStop short squeeze of January 2021, coordinated through the WallStreetBets community on Reddit, demonstrated that coordinated retail activity could overwhelm institutional short positions in specific stocks. However, for the broad market, institutional activity dominates volume.

Information Asymmetry

Institutional investors have significant advantages: research teams, access to company management through investor days, sophisticated data tools, and lower transaction costs. Retail investors, however, are no longer completely at a disadvantage. The SEC's Regulation FD (Fair Disclosure), introduced in 2000, requires companies to disclose material information publicly, preventing selective disclosure to favored institutions.

How to Start Investing: A Practical Framework

Step 1: Open a Brokerage Account

Reputable brokerages offering commission-free trading include Fidelity, Schwab, and Vanguard in the US. Each allows you to open a standard taxable account or a tax-advantaged account such as an IRA (Individual Retirement Account). Tax-advantaged accounts offer significant compounding benefits for long-term investors.

Step 2: Build a Core Portfolio with Index Funds

Before buying individual stocks, most financial researchers — including work from SPIVA (S&P Indices Versus Active), which compares active fund managers to their benchmark indices — recommend a foundation of low-cost index funds. SPIVA data consistently shows that the majority of actively managed funds underperform their benchmark over periods of 10 years or more, after fees.

A simple three-fund portfolio — a US total market index fund, an international index fund, and a bond index fund — provides broad diversification at minimal cost.

Step 3: Invest Consistently and Resist Market Timing

Dollar-cost averaging — investing a fixed amount at regular intervals regardless of market conditions — reduces the risk of buying a large position at a market peak. Research from Vanguard and other institutions shows that most investors who attempt to time the market underperform those who simply invest consistently.

Step 4: Understand Risk Tolerance

Before investing any amount, assess your time horizon and risk tolerance. Money needed within 2-3 years should not be in equities. Historically, the US stock market has never produced a negative return over any 20-year period, but it has produced devastating short-term losses. The 2008-2009 bear market saw the S&P 500 fall nearly 57% from peak to trough.

The Power of Compounding Over Time

A $10,000 investment in an S&P 500 index fund in 1990 would have grown to approximately $200,000 by 2025, assuming reinvested dividends. This is not a guarantee of future results, but it illustrates why long-term equity investing has historically been one of the most powerful wealth-building tools available to ordinary individuals.

Practical Takeaways

Keep costs low. The single most controllable factor in long-term investment returns is expense ratios. A difference of 1% per year in fees compounds into a massive difference in wealth over 30 years.

Diversify broadly. Owning individual stocks concentrates risk. Index funds spread that risk across hundreds or thousands of companies.

Stay invested. Studies by Dalbar and others show that the average equity investor significantly underperforms the market due to buying high and selling low during volatility.

Understand what you own. If you invest in individual companies, read annual reports, understand the business model, and assess the valuation relative to peers.

Use tax-advantaged accounts. Roth IRAs, traditional IRAs, and 401(k)s offer substantial tax benefits that compound significantly over time.


References

  1. Fama, E. F. (1970). Efficient Capital Markets: A Review of Empirical Work. Journal of Finance, 25(2), 383-417.
  2. Shiller, R. J. (1981). Do Stock Prices Move Too Much to Be Justified by Subsequent Changes in Dividends? American Economic Review, 71(3), 421-436.
  3. Graham, B., & Dodd, D. (1934). Security Analysis. McGraw-Hill.
  4. Bogle, J. C. (2007). The Little Book of Common Sense Investing. Wiley.
  5. Malkiel, B. G. (1973). A Random Walk Down Wall Street. W. W. Norton.
  6. SPIVA US Scorecard. (2024). S&P Dow Jones Indices. https://www.spglobal.com/spdji/en/research-insights/spiva/
  7. Dalbar Quantitative Analysis of Investor Behavior. (2023). Dalbar Inc.
  8. Vanguard Research. (2022). Dollar-Cost Averaging: Just Following the Rules. Vanguard Group.
  9. NYSE Group. (2023). US Equity Market Structure Overview. New York Stock Exchange.
  10. Securities and Exchange Commission. (2000). Regulation FD (Fair Disclosure). 17 CFR Parts 240 and 243.
  11. Nasdaq. (2023). How the Nasdaq Market Works. Nasdaq OMX Group.
  12. Zweig, J. (2007). Your Money and Your Brain. Simon & Schuster.

Frequently Asked Questions

What is the stock market and how does it work?

The stock market is a network of exchanges where buyers and sellers trade shares of publicly listed companies. When a company goes public through an IPO, it sells ownership stakes (shares) to investors. After that, those shares trade on exchanges like the NYSE or Nasdaq, where prices move continuously based on supply and demand. Market makers stand ready to buy or sell shares at quoted prices, ensuring there is always a counterparty for your trade. Indices like the S&P 500 track the average performance of a group of stocks, giving a broad sense of market direction.

How do stock prices go up and down?

Stock prices move based on the balance between buyers and sellers. If more people want to buy a stock than sell it, the price rises. If more people want to sell than buy, it falls. Underlying this are expectations about a company's future earnings, economic conditions, interest rates, and investor sentiment. Positive earnings reports, new product launches, or strong economic data can push prices higher. Bad news, rising interest rates, or weak earnings tend to push them lower. In the short term, sentiment and momentum can drive prices far from fundamental value.

What is the difference between a bull market and a bear market?

A bull market is a period when stock prices are rising broadly, typically defined as a 20% gain from a recent low, and investor confidence is high. A bear market is the opposite: a decline of 20% or more from a recent peak, accompanied by widespread pessimism. Bull markets tend to last longer than bear markets historically. The average bull market since World War II has lasted about 4 years, while the average bear market has lasted around 11 months. Both are normal parts of the market cycle.

What is the difference between institutional and retail investors?

Institutional investors are large organizations such as pension funds, mutual funds, hedge funds, and insurance companies that trade in very large volumes. They have access to sophisticated research, lower trading costs, and sometimes preferential access to new share offerings. Retail investors are individual people trading through brokerage accounts. Retail investors now make up a meaningful share of daily trading volume, particularly since the rise of commission-free apps, but institutional players still dominate in total assets and often move markets with large block trades.

How can a beginner start investing in the stock market?

Start by opening a brokerage account with a reputable provider offering low or no commissions. Before buying individual stocks, consider low-cost index funds or ETFs that track a broad index like the S&P 500. These give instant diversification at minimal cost. Contribute regularly, reinvest dividends, and resist the urge to time the market. Most research shows that consistent, long-term investing in diversified index funds outperforms active stock picking for the vast majority of retail investors. Keep expenses low, stay diversified, and invest money you will not need in the near term.