Inside the Trading Machine: How Stock Markets Actually Function

Just entered the market? Learn how stock exchanges, invisible market makers, and liquidity windows dictate your real trading costs behind your brokerage app.

Inside the Trading Machine: How Stock Markets Actually Function

When someone says "the market is up today," they're referencing a number that summarizes the collective movement of hundreds or thousands of stocks. That number is an index. Understanding what each major index actually measures – and what it doesn't – changes how you interpret financial news and benchmark your own portfolio.

What an Index Is and Why It Exists

A stock market index is a calculated value that tracks the collective price performance of a defined group of stocks. It's updated continuously during trading hours as the component stocks move. It doesn't trade itself – you can't buy "the S&P 500" the way you buy a share of Apple. The index is a measuring instrument.

Indices exist because tracking hundreds of individual stock prices to assess the market's direction would be impractical. An index collapses that information into a single number that changes in real time, giving investors an immediate read on whether the market is broadly rising or falling.

They also function as benchmarks. If your portfolio grew 8% over a year while the S&P 500 grew 14%, that 6-point gap is information. It may reflect sector exposure, individual stock selection, or the period's specific dynamics – all worth understanding.

The S&P 500: The Primary Benchmark

The S&P 500 tracks 500 large U.S. companies selected by a committee at S&P Dow Jones Indices. Selection criteria include market capitalization above $14.5 billion, positive total earnings over the prior four quarters (with the most recent quarter profitable), a float-adjusted market cap of at least 50% of total shares outstanding, and minimum monthly trading volume. Companies that no longer meet the criteria are removed and replaced.

The index covers approximately 80% of total U.S. stock market value by capitalization. It spans all 11 GICS sectors – information technology, healthcare, financials, consumer discretionary, communication services, industrials, consumer staples, energy, utilities, real estate, and materials.

How weighting works: The S&P 500 is market-cap weighted. A company's share of the index is proportional to its market capitalization relative to the total cap of all 500 constituents. As of 2024-25, the top 10 holdings – Apple, Microsoft, Amazon, Nvidia, Alphabet, Meta, Berkshire Hathaway, Tesla, Eli Lilly, and Broadcom – represent roughly 35% of the entire index. Technology and technology-adjacent sectors account for approximately 30% of total index weight.

The long-term record: Since 1928, the S&P 500 has returned approximately 10% per year on average, including dividends reinvested. That figure spans the Great Depression, multiple recessions, the 2000 dot-com collapse, the 2008 financial crisis, and the 2020 pandemic crash. Investors who stayed invested through all of those periods captured that return. Investors who sold during downturns and waited for better conditions typically did not.

In 2022, the index fell roughly 18%. By end of 2023, it had recovered those losses on a total return basis (including dividends) and reached new highs. Investors who sold in mid-2022 and waited for conditions to improve locked in losses and missed the recovery.

How to invest: Three major ETFs replicate the S&P 500: VOO (Vanguard, expense ratio approximately 0.03%), SPY (State Street, approximately 0.095%), and IVV (iShares, approximately 0.03%). All three hold the same underlying stocks in the same proportions. At these fee levels, expense ratios are functionally negligible – a $10,000 investment in VOO costs about $3 per year.

The S&P SPIVA scorecard documents that approximately 85 to 90% of actively managed U.S. large-cap funds underperform the S&P 500 over 15-year periods. A low-cost S&P 500 index fund outperforms most professional stock pickers over long horizons – making it the empirically stronger default choice for most investors.

The Dow Jones Industrial Average: History Over Precision

The DJIA tracks 30 large U.S. companies selected by editors at S&P Dow Jones Indices. Founded in 1896, it's the oldest major U.S. stock index and the most-cited in mainstream media. When a news anchor says "the market closed up 300 points," they almost always mean the Dow.

Current components include Apple, Microsoft, Nike, Disney, Goldman Sachs, JPMorgan Chase, Coca-Cola, McDonald's, Walmart, and Boeing, among others. Notable absences: Alphabet, Meta, Netflix, and Tesla – which means the Dow underrepresents technology and growth sectors relative to the broader market.

The price-weighting problem: The Dow uses price weighting – a company's influence on the index is proportional to its share price, not its total market value. A stock at $300 moves the Dow three times as much as a stock at $100, regardless of which company is larger. Goldman Sachs, with a historically high share price, has moved the Dow more than some companies with far larger market caps. Market-cap weighting – used by the S&P 500 – more accurately reflects each company's actual economic scale.

Coverage: The Dow covers roughly 25% of total U.S. stock market capitalization versus the S&P 500's 80%. For portfolio benchmarking, the S&P 500 is more representative. The Dow's primary utility is historical context – it has data going back to 1896, making it the only index with meaningful coverage across that full span – and quick daily market pulse for casual monitoring.

Points vs. percentages: At a Dow level of 42,000, a 600-point drop is 1.43%. The same 600 points at 10,000 would be 6% – four times the proportional impact. Always convert to percentage. Points without context mislead.

How to invest: DIA (SPDR Dow Jones Industrial Average ETF Trust) tracks the Dow, with an expense ratio of approximately 0.16% – meaningfully higher than VOO or IVV, with narrower coverage.

The NASDAQ Composite: The Technology Lens

The NASDAQ Composite includes every company listed on the NASDAQ exchange – approximately 3,000 stocks. Unlike the S&P 500, which applies selection criteria, the Composite is purely a function of exchange listing.

It's market-cap weighted and heavily tilted toward technology: Apple, Microsoft, Nvidia, Amazon, and Alphabet together represent a significant share of the total index value. The top 10 holdings account for roughly 44% of the Composite's weight. Technology and technology-adjacent sectors represent approximately 50% of the index by weight.

Volatility profile: The NASDAQ is more volatile than the S&P 500. Technology companies tend to be valued on future earnings expectations rather than current profits, making them more sensitive to interest rate changes. During the 2022 rate-hiking cycle, the NASDAQ fell approximately 33% while the S&P 500 fell roughly 18%. In technology-driven bull markets, the NASDAQ frequently outpaces the S&P 500.

NASDAQ Composite vs. NASDAQ-100: These are distinct. The Composite includes all 3,000-plus NASDAQ-listed stocks. The NASDAQ-100 is the 100 largest non-financial NASDAQ companies – tracked by QQQ (Invesco QQQ Trust, expense ratio approximately 0.20%) and its lower-cost equivalent QQQM (0.15%). When investors say they're buying "the NASDAQ," they typically mean QQQ.

While ONEQ (Fidelity NASDAQ Composite Index ETF) tracks the full Composite, most investors seeking technology exposure gravitate toward the NASDAQ-100 via QQQ or QQQM, which are far more liquid and widely followed.

Choosing the Right Index as Your Benchmark

The index you use to benchmark your portfolio should reflect what you actually own.

If your holdings are primarily technology stocks – Apple, Microsoft, Nvidia, Alphabet, Meta – the NASDAQ Composite or NASDAQ-100 is the natural benchmark. If you hold a diversified cross-section of U.S. companies, the S&P 500 applies. Using the wrong benchmark produces misleading conclusions about your performance.

Consistently trailing the relevant benchmark by a meaningful margin over several years is worth acting on. The S&P SPIVA data suggests that for most investors, a low-cost S&P 500 index fund would outperform their self-selected portfolio over 15-year periods. That's not a criticism – it's a data point worth incorporating into your thinking.

Index Funds vs. Actively Managed Funds

An index fund holds shares in the same companies and proportions as a given index, tracking its performance closely. A low-cost S&P 500 index fund gives you exposure to all 500 constituent companies through a single purchase, with automatic rebalancing as the index's composition changes.

An actively managed fund employs professional portfolio managers who attempt to outperform the index through stock selection and timing. They charge higher fees – typically 0.5 to 1.0% annually versus 0.03% for index funds – which must be overcome through performance just to break even on costs.

The persistent underperformance of active funds versus their benchmark indices over long periods (85 to 90% underperform over 15 years per SPIVA) reflects the difficulty of consistently adding alpha after fees. For most investors, the passive index approach outperforms the average active fund by a margin that compounds meaningfully over decades.

What Indices Don't Tell You

Indices measure aggregate price movement – not economic health, not corporate profitability trends, and not the performance of any individual stock within them.

The S&P 500 at an all-time high doesn't mean every constituent is doing well. In late 2023, the index reached new highs largely driven by a handful of large-cap technology names – the "Magnificent 7" – while the median stock in the index was significantly below its own peak.

Index performance and portfolio performance can diverge substantially even for investors who own index funds, if they own funds tracking different indices. An investor in QQQ and an investor in VTI owned dramatically different return profiles in 2022 – both are "index investors," but the indices they tracked behaved very differently.

Reading an index accurately means understanding what it tracks, how it weights its components, and what falls outside its scope.

This content is for educational purposes only and does not constitute investment, legal, or tax advice. Investing in securities involves risk, including possible loss of principal. Always conduct your own research and consult a licensed financial professional before making investment decisions.

Free educational guide by BreakoutBulletin.com

Go deeper: 

Indices are the primary language of financial news and the benchmark every investor's portfolio gets measured against. For the broader market context - including how prices form and what circuit breakers do - the full guide covers the complete infrastructure.

 

How the Stock Market Works → The complete guide: exchanges, liquidity, market phases, and trading mechanics  -  www.breakoutbulletin.com/article/how-the-stock-market-works

 

 What Are Stock Market Indices? → The concept, the three major U.S. indices, and how to use them as benchmarks  -  www.breakoutbulletin.com/article/stock-market-indices-for-teens

 

 The S&P 500 Deep Dive → The index that outperforms 85–90% of professional fund managers over 15 years  -  www.breakoutbulletin.com/article/sp-500-for-teens-guide

 

 NASDAQ Composite Explained → Why it moves more than the S&P 500 and what drives the difference  -  www.breakoutbulletin.com/article/nasdaq-composite-for-teens