Getting started
How does the stock market work?
How the stock market works: who trades on an exchange, how the order book sets prices, market vs limit orders and when NYSE, Nasdaq and Xetra open.

In short
The stock market works as a marketplace where buy and sell orders meet: an exchange collects them in an order book and matches each buyer with a seller at the best available price. Private investors cannot trade on an exchange directly — they send their orders through a licensed broker that is a member of the exchange or has access to it.
What is a stock exchange?
A stock exchange is a regulated market where shares, bonds, ETFA fund traded on the exchange like a share. It usually tracks an index, so one purchase buys a whole basket of companies at low cost.Full explanation in the glossary and other securities are bought and sold under the same rules for everyone. In the EU, regulated markets are defined by the MiFID II directive and supervised by national regulators.
Who meets on an exchange:
- Listed companies — they raise money from investors only when they first sell shares, for example in an IPOInitial public offering: the moment a private company first sells its shares on the stock exchange. The company raises capital, and founders and early investors can sell part of their stake.Full explanation in the glossary. After that, the shares change hands between investors and the company receives nothing from those trades.
- Exchange members — investment firms and banks allowed to send orders to the exchange directly.
- Investors — individuals and institutions. A private investor trades through a BrokerThe company that sends your orders to the exchange and keeps your shares and cash in an account. It earns from fees, currency conversion or interest on idle cash.Full explanation in the glossary, which passes the order on to the exchange or another trading venue.
- Market makers — firms that continuously quote buying and selling prices, so there is someone to trade with even in quieter shares.
Well-known exchanges include the New York Stock Exchange (NYSE), Nasdaq, Xetra in Frankfurt and the Prague Stock Exchange. How to choose a broker and place your first order is covered in our guide how to buy stocks.
How is a share price set on the exchange?
The price is set by the order book: a list of all buy and sell orders waiting to be executed. A trade happens when a buyer is willing to pay at least as much as a seller is asking.
- Bid — the highest price a buyer is willing to pay right now.
- Ask (offer) — the lowest price a seller is willing to accept right now.
- Spread — the difference between the two. It is a hidden cost: if you buy and immediately sell, you lose roughly the spread.
Example: the best bid is 99.90 and the best ask 100.10. A market buy order pays 100.10, a market sell order gets 99.90. The spread of 0.20 is 0.2 % of the price.
Orders are matched by price, then time: a better price goes first, and among orders at the same price the one entered earlier goes first. Large, frequently traded companies have narrow spreads; small, rarely traded shares can have wide ones — that is what liquidity means in practice.
Market order or limit order: what is the difference?
A market order buys or sells immediately at the best available price — it guarantees execution, not the price. A limit order sets the worst price you will accept: a buy limit is executed only at that price or lower, a sell limit only at that price or higher. It may therefore not be executed at all.
- Market order — works for large, liquid shares during normal trading hours. It is risky right after the open, in fast-moving markets or in thinly traded shares, when the price can jump between your click and the execution. The last traded price you see is not necessarily the price you will get.
- Limit orderAn order to buy or sell only at a set price or better. It protects against a bad fill, but if the price never gets there, the trade does not happen.Full explanation in the glossary — gives you control over the price. You also choose how long it stays valid, for example until the end of the day or until cancelled.
- Stop order (Stop-lossAn order that sells automatically once the price falls to a set level. It caps the loss — but in a sudden gap the sale can happen well below that level.Full explanation in the glossary) — waits until the price reaches a set level and then becomes a market order. It limits a loss only roughly: if the price jumps past the stop level, the sale happens at the next available price.
When does the stock market open?
Each exchange has its own trading hours and holiday calendar. Main trading sessions on weekdays (checked on 30 November 2026):
- NYSE and Nasdaq (New York): 9:30 a.m. to 4:00 p.m. New York time, which is usually 2:30 p.m. to 9:00 p.m. UK time.
- Xetra (Frankfurt): 9:00 a.m. to 5:30 p.m. Central European Time, i.e. 8:00 a.m. to 4:30 p.m. UK time, followed by the closing auction.
The US and Europe switch to and from summer time on different dates. For a few weeks in March and around the turn of October and November, the New York session therefore starts and ends one hour earlier in European time.
Outside the main session there is also extended-hours trading. Nasdaq runs a pre-market session from 4:00 a.m. and an after-hours session until 8:00 p.m. New York time, and from 6 December 2026 it plans to add an overnight session from 9:00 p.m. to 3:55 a.m. — trading would then run 23 hours a day, five days a week. Fewer people trade outside the main session, so spreads tend to be wider and prices can jump more.
Exchanges are closed at weekends and on public holidays in their country; each exchange publishes its calendar on its website.
What are opening and closing auctions?
An auction is a short phase at the start and end of the trading day when the exchange only collects orders and then sets a single price at which the largest volume can trade. Between the auctions runs continuous trading, when orders are matched one by one as they arrive.
- Opening auction — gathers the orders collected overnight, so the opening price can differ noticeably from the previous close. On the Prague Stock Exchange it runs from 8:50 to 9:00 a.m. CET.
- Closing auction — on Xetra it starts at 5:30 p.m., in Prague at 4:10 p.m. CET. Its result is the official closing price, which funds and indices use for ValuationWhat a company is worth to the market relative to its profit, sales or assets — usually expressed as a multiple such as P/E or EV/EBITDA.Full explanation in the glossary.
- Random end — order collection ends at a random moment, so that nobody can push the price in the last second.
Exchanges also use VolatilityHow strongly and how often a price swings. High volatility means bigger moves in both directions — more opportunity and more risk.Full explanation in the glossary interruptions: if the price would move outside a set range, continuous trading pauses briefly and switches to an auction. In New York, the main session likewise opens and closes with an auction (NYSE) or a cross (Nasdaq).
What do stock market indices show?
A Stock indexA basket of shares whose value shows how a market or sector is doing — the S&P 500, Nasdaq 100 or FTSE 100. An index cannot be bought directly, only a fund that tracks it.Full explanation in the glossary sums up in one number how a group of shares is doing, so you don't have to follow hundreds of prices. It is a measure, not a security — you can invest in it only through a fund that tracks it.
- S&P 500 — around 500 large US companies, weighted by their market value. The most-watched measure of the US stock market.
- PX — the main index of the Prague Stock Exchange. It is made up of the most liquid shares, weighted by the market value of their freely traded shares.
Most indices are weighted by company size, so a handful of the largest companies can move the whole index. Some indices count only price changes, others add reinvested DividendThe part of profit a company pays out to shareholders in cash, usually quarterly or yearly. It is not guaranteed — the board can cut it.Full explanation in the glossary — PX is a price index and leaves dividends out. Past performance of any index does not guarantee future returns.
Check yourself
A few questions on the text. Your answers are not sent anywhere — your browser checks them.
Frequently asked questions
Can I trade on the stock exchange myself, without a broker?
No. Only exchange members may send orders to an exchange, so you need an account with a licensed broker; in the EU you can check it in the ESMA register. You can compare brokers on our brokers page. What and when to buy remains your own decision.
What time does the US stock market open in the UK?
The main session of NYSE and Nasdaq starts at 9:30 a.m. New York time, which is 2:30 p.m. UK time for most of the year, and ends at 4:00 p.m., i.e. 9:00 p.m. UK time. For a few weeks in March and around the turn of October and November it is one hour earlier.
How does the stock market work after hours?
Outside the main session, some exchanges and brokers allow trading before the open and after the close; Nasdaq, for example, from 4:00 a.m. to 8:00 p.m. New York time. Fewer people trade at those times, so spreads are wider and prices can jump. Orders that are not allowed in extended hours wait until the next open.
Is the stock market open at weekends?
No. The main stock exchanges trade Monday to Friday and are closed at weekends and on public holidays in their country. An order entered at the weekend waits until the next open, when the price may jump because of news from the weekend.
What is the difference between a stock exchange and the stock market?
The stock market is the whole system of trading in shares: exchanges, other trading venues, brokers and investors. A stock exchange is one specific regulated marketplace within it, such as NYSE, Nasdaq or Xetra.
Sources
- New York Stock Exchange: Holidays & Trading Hours
- Nasdaq: 23/5 Trading Information Hub
- Deutsche Börse Cash Market: Trading calendar and trading hours
- Deutsche Börse Cash Market: Xetra: Continuous trading with auctions
- Prague Stock Exchange: Trading hours
- Prague Stock Exchange: Burzovní pravidla, část III: Samostatná aukce a kontinuální obchodování
- Prague Stock Exchange: FAQ – investor trading
- Prague Stock Exchange: PX index
- U.S. Securities and Exchange Commission (Investor.gov): Types of Orders
- U.S. Securities and Exchange Commission (Investor.gov): Bid Price/Ask Price
- EUR-Lex: Directive 2014/65/EU on markets in financial instruments (MiFID II) · Published 15/05/2014
- ESMA: Databases and registers