Skip to main content
Financial Education

Mastering How Does the Stock Market Work: A Value Investor's Comprehensive Guide

JS
Written by Javier Sanz
14 min read
Share:

Mastering How Does the Stock Market Work: A Value Investor's Comprehensive Guide

how does the stock market work — chart and analysis

Understanding how does the stock market work begins with one simple concept: a stock represents partial ownership of a real business. When you buy one share of Apple (AAPL), you own a tiny fraction of a company that earns over $120 billion per year, holds $65 billion in cash, and generates a 45.1% return on invested capital. The market is the mechanism that sets a price on that ownership stake every second of every trading day. How it arrives at that price, and why that price is sometimes wrong in ways you can profit from, is what this guide explains.

The stock market is not a casino, though it behaves like one over short periods. Over long periods, it is a precision weighing machine. Benjamin Graham wrote that prices in the short run are driven by sentiment and in the long run by earnings. The entire discipline of value investing rests on that observation.

Key Takeaways

  • The stock market is a network of exchanges where buyers and sellers trade ownership stakes in publicly listed companies. The largest U.S. exchanges are the NYSE and Nasdaq.
  • Stock prices are determined by supply and demand in real time. When more people want to buy a stock than sell it, the price rises. When sellers outnumber buyers, it falls.
  • U.S. stock markets are open Monday through Friday from 9:30 a.m. to 4:00 p.m. Eastern Time. They are closed on federal holidays and weekends.
  • Short-term price moves are driven by sentiment, news, and flows. Long-term price moves reflect changes in the underlying business's earnings power.
  • Value investors use the gap between price and intrinsic value to their advantage. When the market sends quality stocks to irrational discounts, patient buyers profit.
  • Key metrics for evaluating stocks in the market: P/E ratio, ROE, ROIC, dividend yield, and free cash flow yield.

How Does the Stock Market Work: The Basic Mechanics

A stock exchange is a marketplace that matches buyers and sellers. When you place an order to buy 10 shares of Microsoft (MSFT) at the market price, your brokerage sends that order to an exchange (or a market maker who interacts with the exchange). The exchange finds a seller willing to sell at the current asking price and executes the transaction. The whole process takes milliseconds.

Every listed stock has a bid price (the highest price any buyer is willing to pay) and an ask price (the lowest price any seller will accept). The difference between the two is the spread. For large, liquid stocks like AAPL or MSFT, the spread is fractions of a cent. For thinly traded small-cap stocks, spreads can be 1-2% of the stock price, which acts as a hidden transaction cost.

Order types shape how your trade executes. A market order buys or sells immediately at the best available price. A limit order only executes at your specified price or better, giving you control but no guarantee of execution. A stop-loss order automatically sells your position if the price falls to a specified level, limiting downside but sometimes triggering during temporary volatility you would have been better off ignoring.

How Stock Prices Are Actually Determined

Stock prices reflect the collective judgment of every market participant about what a company's future cash flows are worth today. That judgment is expressed through buying and selling pressure every second the market is open.

Three forces move prices most reliably.

First, earnings. When a company reports earnings that beat expectations, buyers typically outnumber sellers and the price rises. When earnings miss, sellers dominate and the price falls. Apple's price moved roughly 7% on its last earnings announcement.

Second, interest rates. Higher rates make future earnings worth less in present value terms. They also make bonds more competitive versus stocks. When the Federal Reserve raised rates aggressively in 2022, every valuation model in the market repriced downward, which is why the S&P 500 fell 18.1% that year even though most major companies continued earning money.

Third, sentiment. In the short run, fear and greed move markets more than fundamentals. The March 2020 crash dropped the S&P 500 34% in 33 days, far faster than any fundamental deterioration could justify. Companies like JNJ (yield 3.1%, 60-year dividend streak) and KO (yield 3.0%, similar record) saw their prices collapse alongside unprofitable speculative stocks, because fear does not discriminate.

Value investors treat the third force as an opportunity rather than a threat.

What Time Does the Stock Market Open and Close

The New York Stock Exchange (NYSE) and Nasdaq both operate from 9:30 a.m. to 4:00 p.m. Eastern Time on regular trading days. Pre-market trading begins as early as 4:00 a.m. Eastern and after-hours trading runs until 8:00 p.m. Eastern, but these sessions have significantly lower liquidity and wider spreads.

SessionHours (Eastern Time)Liquidity
Pre-market4:00 a.m. to 9:30 a.m.Low, wide spreads
Regular session9:30 a.m. to 4:00 p.m.High, tight spreads
After-hours4:00 p.m. to 8:00 p.m.Low to moderate
Overnight8:00 p.m. to 4:00 a.m.Minimal (futures markets only)

Most retail investors should restrict trading to the regular session. Pre-market and after-hours moves on earnings releases are often sharp and short-lived, and executing orders in thin markets frequently results in worse prices than waiting for the opening bell.

Are Stock Markets Closed Today: Holiday Schedule

U.S. stock markets close on the following federal holidays each year: New Year's Day, Martin Luther King Jr. Day, Presidents' Day, Good Friday, Memorial Day, Juneteenth, Independence Day, Labor Day, Thanksgiving Day, and Christmas Day. When a holiday falls on a Saturday, markets typically close the preceding Friday. When it falls on a Sunday, they close the following Monday.

Markets also close occasionally for extraordinary events. The NYSE closed for four days following the September 11 attacks in 2001. It closed for two days during Hurricane Sandy in 2012. These unscheduled closures are rare; in the past 30 years they have occurred fewer than 10 times.

International exchanges follow their own local holiday schedules. If you invest across the 73 exchanges covered by the ValueMarkers screener, knowing when each market is open matters for executing orders and interpreting price gaps.

How the Stock Market Is Structured: Primary vs Secondary Markets

The primary market is where companies first sell shares to the public through an initial public offering (IPO). The company receives the proceeds from this sale directly. When a company IPOs at $20 per share and raises $500 million, that $500 million goes to the company to fund operations, pay down debt, or return to early investors.

The secondary market is where those shares trade among investors afterward. When you buy Apple on the Nasdaq, Apple receives no money from that transaction. You are buying shares from another investor who is selling. The company is unaffected by secondary market trading day to day, though its access to future capital raises depends on its stock price.

Value investors operate entirely in the secondary market. The opportunity lies in the gap between what the often-irrational collective mood of investors is willing to sell a share for and what that share is actually worth based on the underlying business.

The Major Market Participants and Their Motivations

Understanding who is on the other side of your trade matters. The market is not a monolith. It is composed of participants with different objectives, time horizons, and information sets.

Retail investors like you and me own roughly 20-25% of U.S. equities directly. Retail participants tend to be emotional buyers and panic sellers, which is why the market's most reliable pattern is that retail sentiment peaks near tops and troughs near bottoms.

Institutional investors (mutual funds, pension funds, insurance companies, endowments) own roughly 60% of U.S. equities. They move in large blocks, which is why a stock sometimes drops 4% on no visible news: a pension fund is rebalancing. Their time horizon is longer but constrained by quarterly reporting cycles.

Index funds and ETFs now own nearly 40% of the U.S. equity market. When a stock is added to the S&P 500, index funds must buy it regardless of price. This creates predictable distortions that active managers sometimes exploit.

Market makers are obligated to quote both a bid and an ask. They profit from the spread and manage inventory risk continuously. They provide liquidity and narrow spreads but add no analytical value to price discovery.

How Value Investors Use the Stock Market

A value investor's relationship with the stock market differs from the typical participant's. Benjamin Graham's metaphor of Mr. Market is still the clearest explanation: the market is a business partner who comes to your door every day and offers to either buy your shares or sell you his, at a different price each day. On bad days he is despondent and offers very low prices. On good days he is euphoric and offers high prices. You are under no obligation to trade with him.

This reframing changes everything. Market volatility is not risk for a value investor. It is the mechanism through which mispricings appear. When JNJ sells off to a dividend yield of 3.1% on temporary bad news and the business generates consistent free cash flow with a 60-year payout record, that is an opportunity priced by someone who needed to sell.

The practical discipline looks like this. Identify a business with durable competitive advantages, high ROIC relative to cost of capital, and honest management. Estimate what the business is worth independently of the current stock price. Wait for the market to offer you that business at a meaningful discount to your estimate. Buy and hold until either the price reflects full value or the business thesis breaks.

Warren Buffett applied this framework to Coca-Cola (KO) in 1988. KO now yields 3.0% on its current share price, and Buffett's yield on his original cost basis is a multiple of that, because he bought when the market was indifferent to one of the most durable consumer brands ever built.

Order Types and How They Affect Your Execution Price

Most retail investors use two order types without fully understanding the trade-offs, and that costs them money over time.

A market order executes immediately at the best available price. In liquid stocks like AAPL or MSFT, the spread is negligible and market orders work fine. In thinly traded small caps, a market order can move the price against you by 1-3% in a single execution because there are not enough shares at the current quoted price to fill your whole order.

A limit order sets the maximum you will pay (for a buy) or the minimum you will accept (for a sell). Your order sits in the book until a counterparty meets your price or you cancel it. Limit orders give you price control but no execution guarantee. In a fast-moving market, the stock can run past your limit without filling you.

A stop order triggers a market order when the price reaches a specified level. Stop losses are appealing in theory but can be dangerous in practice during flash crashes or high-volatility opens, when they execute at prices far below the trigger. Long-term value investors generally skip stop losses because they treat price drops as potential buying opportunities rather than automatic sell signals.

Order TypePrice ControlExecution CertaintyBest Use Case
Market orderNoneHighLiquid large-caps, small sizes
Limit orderFullLow to MediumIlliquid stocks, patient buying
Stop marketTrigger onlyMedium (slippage risk)Risk management on speculative names
Stop limitFull (at limit)LowPrecise exit levels, active traders

For value investors, limit orders are almost always preferable. You have already calculated a fair price. You are waiting for the market to offer you that price. A limit order operationalizes that discipline mechanically.

Reading Market Indices as a Value Investor

Market indices like the S&P 500, Dow Jones, and Nasdaq-100 get treated as scorecards. They are more useful as valuation reference points.

The S&P 500's median P/E, the Shiller CAPE ratio, and the aggregate dividend yield all give you a rough read on whether the broad market is expensive or cheap relative to history. As of 2026, the S&P 500 trades at a CAPE above 35, which historically correlates with below-average 10-year forward returns. That does not mean sell everything. It means individual stock selection matters more when the index itself is not cheap.

IndexConstituentsWeightingTech Weight10-Year CAGR
S&P 500500Market cap29.8%12.1%
Dow Jones30Price15.4%10.4%
Nasdaq-100100Modified market cap57.3%16.2%
Russell 20002,000Market cap13.1%7.8%

The higher the tech weight, the higher both the returns and the volatility. Berkshire Hathaway (BRK.B) trades at roughly 1.5x book value, which Buffett has historically treated as his own floor for buybacks. When BRK.B's price-to-book drops toward that level, Buffett buys back shares, signaling where he believes intrinsic value sits per share.

The Role of Dividends and Buybacks in Total Return

Stock market returns come from two sources: price appreciation and income (dividends and buybacks). Retail investors focus almost entirely on price appreciation and underweight the income component.

Over the last 100 years, dividends have contributed roughly 40% of the S&P 500's total return. Companies like KO and JNJ that have grown dividends for 30-60 consecutive years are not doing so by accident. Consistent dividend growth requires consistent free cash flow growth, which requires durable competitive advantage.

Share buybacks are economically equivalent to dividends but with tax advantages. When a company trades at a P/E of 15 and management buys back 5% of shares, they are acquiring pieces of the business at a 6.7% earnings yield. For a business with a 45.1% ROIC like Apple, the calculus is more nuanced: it depends on whether internal reinvestment opportunities offer a better return than repurchasing shares at current prices.

How Earnings Reports Move Stock Prices

Quarterly earnings reports are the single most predictable source of large stock price moves. Every publicly traded U.S. company reports four times per year, and analysts maintain consensus estimates for revenue, EPS, and forward guidance. When results diverge from those estimates, the market reprices immediately.

A company reporting EPS 15% above consensus will typically gap up 5-10% at the open. A company missing by 5% and cutting guidance may fall 15-20% in a session. Value investors approach earnings differently from momentum traders. A value investor does not change position before earnings because one quarter's results do not determine intrinsic value. If AAPL misses an iPhone shipment estimate by 2% and the stock drops 8%, a value investor with a pre-calculated intrinsic value estimate knows whether that drop creates an opportunity or is noise.

The practical habit: before any company you watch reports, write down what the business is worth and what news would actually change that estimate. Companies like JNJ and KO rarely see quarterly results that genuinely alter the 10-year earnings thesis. When their stocks sell off on minor misses, the thesis usually has not changed.

What Causes Market Crashes and How Value Investors Respond

Market crashes have occurred roughly every 8-12 years in the U.S. since 1900. They share common features: excessive debt, concentrated positioning, and a triggering event that forces involuntary selling. The 2008 financial crisis involved mortgage-backed securities. The 2020 crash involved pandemic-driven demand destruction. The mechanisms differ. The behavioral pattern does not.

In every crash, fundamentally sound businesses sell off alongside speculative ones. When margin calls come in, investors sell what they can, not what they should. High-quality names like JNJ, KO, and MSFT sell off 30-40% alongside genuinely impaired businesses.

Value investors prepare for crashes in two ways. First, they hold cash reserves. Second, they do the valuation work in advance. When you have already calculated that JNJ is worth $180/share and the market drops it to $120 during a panic, the decision is simple. Without prior work, the panic is just terrifying noise.

The ValueMarkers screener lets you set valuation filters so you can track when specific quality businesses move into your target price range. The VMCI Score, which weighs Value (35%), Quality (30%), Integrity (15%), Growth (12%), and Risk (8%), gives you a systematic composite view so you are not guessing which names to buy when the panic hits.

Further reading: SEC EDGAR · Investopedia

Why stock market basics Matters

This section anchors the discussion on stock market basics. The detailed treatment, formula, and worked examples appear in the body of this article above. The points below summarize the most important takeaways for value investors who want to apply stock market basics in real portfolio decisions. ValueMarkers exposes the underlying data on every covered ticker via the screener and stock profile pages, so the concepts in this article translate directly into actionable filters.

Key inputs for stock market basics

See the main discussion of stock market basics in the sections above for the full treatment, including the inputs, the calculation methodology, the typical sector benchmarks, and the most common pitfalls to avoid. The ValueMarkers screener lets value investors filter the full universe of 100,000+ stocks across 73 exchanges using stock market basics alongside the rest of the 120-indicator composite, with sector percentiles and historical trends shown on every stock profile.

Sector benchmarks for stock market basics

See the main discussion of stock market basics in the sections above for the full treatment, including the inputs, the calculation methodology, the typical sector benchmarks, and the most common pitfalls to avoid. The ValueMarkers screener lets value investors filter the full universe of 100,000+ stocks across 73 exchanges using stock market basics alongside the rest of the 120-indicator composite, with sector percentiles and historical trends shown on every stock profile.

Frequently Asked Questions

what happens if the stock market crashes

A stock market crash means broad index declines of 20% or more, typically within weeks or months. Businesses do not instantly become less valuable just because share prices fall. What changes is the forced-selling dynamic: margin calls, redemptions from retail mutual funds, and panic among momentum traders all push prices below fundamental values temporarily. Historically, every U.S. market crash has been followed by a full recovery, and the correct response for a long-term investor is to assess which quality businesses became cheaply priced and act accordingly. Selling everything to stop the emotional pain has been the most expensive mistake investors make.

what time does the stock market open

The major U.S. stock exchanges, NYSE and Nasdaq, open for regular trading at 9:30 a.m. Eastern Time on weekdays. Most brokerages also offer pre-market trading from 4:00 a.m. to 9:30 a.m. Eastern. Pre-market volume is thin, spreads are wide, and prices can be erratic. Value investors generally avoid pre-market and after-hours sessions except to monitor earnings reactions before deciding whether to act at the regular open.

are stock markets closed today

U.S. stock markets are closed on weekends and on 10 federal holidays each year: New Year's Day, Martin Luther King Jr. Day, Presidents' Day, Good Friday, Memorial Day, Juneteenth, Independence Day, Labor Day, Thanksgiving Day, and Christmas Day. When a holiday falls on a Saturday, markets typically close the preceding Friday. When it falls on a Sunday, they close the following Monday. Your brokerage's website publishes the annual holiday schedule, and any orders placed while markets are closed queue for execution at the next open.

what time does the stock market close

The NYSE and Nasdaq close regular trading at 4:00 p.m. Eastern Time. After-hours trading continues until 8:00 p.m. Eastern through most major brokerages, though with lower volume and wider bid-ask spreads than regular hours. Major companies often release earnings after 4:00 p.m., which means the after-hours session is where you first see price reactions to quarterly reports. A 10% after-hours move often narrows to 5-6% by the time regular trading opens the next morning as more complete information arrives.

when does the stock market open

The U.S. stock market opens at 9:30 a.m. Eastern Time. The first 30 minutes of the trading day typically see the highest volume and the widest price swings as overnight orders clear and traders react to pre-market news. Many experienced value investors avoid placing orders in that first 30 minutes. The mid-day session from about 11:30 a.m. to 2:00 p.m. tends to be quieter with tighter spreads. Volume picks up again in the final hour as funds rebalance before the 4:00 p.m. close.

why is the stock market down today

On any given day the market can fall for reasons ranging from a Federal Reserve statement to a single large company's earnings miss, geopolitical news, or profit-taking after a sustained run-up. Most single-day moves of 0.5-1.5% have no meaningful cause. Investors attach narratives to price movements after the fact. For a value investor, a day when the market is down is a day to check whether any stocks on your watchlist have moved into your target price range. The business did not get 3% worse because the price dropped 3%.


Start building the skills to assess any market environment with confidence. The ValueMarkers academy walks you through the core indicators: P/E ratio, ROE, dividend yield, and more, so you can screen and analyze without relying on headlines.

Written by Javier Sanz, Founder of ValueMarkers. Last updated April 2026.


Ready to find your next value investment?

ValueMarkers tracks 120+ fundamental indicators across 100,000+ stocks on 73 global exchanges. Run the methodology above in seconds with our stock screener, or see today's top-ranked names on the leaderboard.

Related tools: DCF Calculator · Methodology · Compare ValueMarkers

Disclaimer: This content is for informational and educational purposes only and does not constitute investment advice, a recommendation, or an offer to buy or sell any security. Past performance does not guarantee future results. Consult a licensed financial advisor before making investment decisions.

Key Metrics Mentioned

Related Articles

Financial Education

Understanding Income Statement: An In-Depth Analysis for Value Investors

The income statement tells you whether a business actually makes money. This guide walks through every line, the reconciliations that matter, and the numbers that mislead.

13 min read

Financial Education

Frs 102 Investment Property Not Fair Valued Circumstances: What the Data Tells Value Investors

FRS 102 permits cost-model accounting for investment property when fair value cannot be measured reliably. Here is what that means for investors reading UK company accounts.

10 min read

Financial Education

Confirmation Bias Investing — Complete Guide for Value Investors

Confirmation bias investing is one of the most harmful patterns in behavioral finance. This cognitive bias leads people to seek out information that...

7 min read

Financial Education

9 Best Broker for Dividend Investing Reddit Tips Every Investor Needs

Reddit's dividend investing community has strong opinions on brokers. This listicle filters the noise and presents 9 evidence-based tips every dividend investor should know before.

8 min read

Financial Education

Compound Interest Calculator: A Step-by-Step Tutorial for Investors

Walk through a compound interest calculator one field at a time, with real portfolio math, stock return assumptions, and the math behind 72-rule shortcuts.

8 min read

Financial Education

Everything You Need to Know About How to Invest in Bitcoin [FAQ]

A clear, data-grounded guide to how to invest in bitcoin, covering wallets, exchanges, risk sizing, and how it fits alongside stocks.

6 min read

Weekly Stock Analysis - Free

5 undervalued stocks, fully modeled. Every Monday. No spam.

Cookie Preferences

We use cookies to analyze site usage and improve your experience. You can accept all, reject all, or customize your preferences.