TradeLabs AILearn

Market Data Explained

Market data covers trades, quotes, order book depth and reference data. Learn the main types, levels of data, real time vs delayed feeds, costs and common pitfalls.

Intermediate3 min readUpdated 3 Oct 2026
Markdown
Lesson 1 of 12

Market data is the information generated by trading: the prices at which trades happen, the bids and offers waiting in the order book, volumes and related reference information. Every chart, indicator, backtest and trading algorithm depends on it. Understanding what market data contains, how it is delivered and where it can mislead you is a foundation for both discretionary and systematic trading.

Types of market data#

TypeContainsUse
Trades (time and sales)Price, size and time of each tradeVolume analysis, VWAP, tape reading
Quotes (top of book)Best bid and best ask with sizesSpreads, execution decisions
Depth of book (Level 2)Multiple price levels of bids and offersOrder flow, liquidity assessment. See Market Data Levels: Level 1, 2 and 3
Full order book (Level 3)Individual orders, additions, cancellationsMarket making, research
Bars (OHLCV)Open, high, low, close and volume per intervalCharts and most backtests. See Tick Data and OHLCV Data
Reference dataSymbols, contract specifications, corporate actions, trading calendarsCorrect processing
Derived dataIndices, implied volatility, GreeksAnalysis

Levels of data#

LevelTypical content
Level 1Last trade, best bid and ask, daily volume
Level 2Several price levels of the order book, often aggregated by price
Level 3Individual orders (and, for some participants, ability to enter quotes)

Real time, delayed and historical#

Consolidated vs direct feeds#

In US equities, trades and quotes from all exchanges are combined into consolidated feeds (the Securities Information Processors, or SIPs). Large firms also buy direct feeds from each exchange, which are faster and contain more detail. The difference in speed, often measured in microseconds to milliseconds, matters for high frequency trading. See Latency in Trading.

Common data problems#

ProblemEffect
Bad ticksErroneous prints create false highs and lows
Missing dataGaps in history distort indicators
Unadjusted corporate actionsSplits and dividends create false jumps. See Splits and Dividends in Price Data
Time zone errorsMisaligned data across markets. See Timestamps, Time Zones and Daylight Saving
Survivorship biasDatasets missing delisted securities. See Survivorship and Selection Bias
Different session definitionsIncluding or excluding pre and post market trading

See Cleaning Market Data.

Market data in crypto and prediction markets#

Crypto exchanges publish their own trades and order books through APIs and WebSockets, usually free. Prices differ across exchanges, so many traders use indices that combine several venues. Prediction markets such as Polymarket publish order books and trade data, and settlement sources such as Chainlink price feeds are a separate data stream. See WebSocket Market Data Streams and Oracles.

Choosing market data#

  1. Match data to strategy: daily bars for swing trading; tick or depth data for scalping and execution research.
  2. Check licensing and redistribution rules.
  3. Understand timestamps and session rules.
  4. Validate data quality before trusting backtests.

Frequently asked questions#

What is market data?#

Information produced by trading activity, including trade prices and sizes, bid and ask quotes, order book depth and related reference data.

What is the difference between Level 1 and Level 2 data?#

Level 1 shows the best bid, best ask and last trade; Level 2 shows multiple price levels of bids and offers in the order book.

Why do exchanges charge for market data?#

Real time data is a major revenue source for exchanges, and fees depend on usage, user type and how the data is distributed.

Next, learn about company financial data in Fundamental Data.

Check your understanding

3 quick questions on this lesson. Get them all right to finish it.

Turn on JavaScript to take the quiz.

Finished this lesson?Sign in to save your progress across devices.
Next lessonFundamental DataFundamental data covers company financials, estimates and economic statistics. Learn where it comes from, point in time issues, restatements and how quants use it.

Mentioned in