What Is Tick-by-Tick Stock Data? Why Ticker Snapshots Miss Trades

TickDB Research ·

A conceptual illustration of trade events and sampled snapshots.

A stock ticker can show the latest price and cumulative volume, but it cannot tell you how many individual trades happened between two reads. Two executions for 40 and 60 shares at the same price can leave the same snapshot as one execution for 100 shares.

A trade is an event. A ticker is a view of the market.

For a watchlist, a snapshot answers exactly the question you asked: “What does the feed report now?” It may include the last traded price, the best bid and ask, and cumulative volume. A change in the best bid does not mean a trade occurred, and a new execution does not have to move the last price.

Tick-by-tick trade data describes individual executions, typically with a price, size and timestamp. “Tick data” alone is ambiguous: some feeds use the term for quote updates too. Ask what triggers each record. If you need to count prints, look for a trade feed; if you need to track the spread, look for bid and ask updates.

Same snapshots, different trade counts

Suppose we sample at the start and end of one second. Both histories start with a last price of 100.00 and 1,000 shares of cumulative volume. In history A, 40 shares trade at 200 ms and 60 more at 700 ms. In history B, one 100-share trade prints at 700 ms. Every trade is at 100.00. Both closing snapshots show 100.00 and 1,100 shares, even though the two windows have different trade counts.

Synthetic timelines: 40 and 60 shares in A, one 100-share trade in B. The closing observations match.

This Python example recreates both windows. Timestamps are offsets in milliseconds. It assumes matched volume scope and no corrections.

from decimal import Decimal

opening = (Decimal("100.00"), 1000)
tape_a = [(200, "100.00", 40), (700, "100.00", 60)]
tape_b = [(700, "100.00", 100)]

def read_window(tape):
    events = [(t, Decimal(p), q) for t, p, q in tape if 0 < t <= 1000]
    last = events[-1][1] if events else opening[0]
    volume = opening[1] + sum(q for _, _, q in events)
    return (last, volume), len(events)

close_a, count_a = read_window(tape_a)
close_b, count_b = read_window(tape_b)
assert close_a == close_b == (Decimal("100.00"), 1100)
assert (count_a, count_b) == (2, 1)
print(f"Both end at {close_a[0]} and {close_a[1]} shares.")
print(f"Trade counts: A={count_a}, B={count_b}.")

Even with aligned volume counters, the difference gives you the quantity traded, not the number of executions or their individual sizes. Polling faster makes the blind interval shorter; it does not eliminate it. Switching to WebSocket only helps if the channel carries the events you need. A pushed ticker is not necessarily a trade tape.

Choose the input by what you need to measure

For a watchlist or last-price display, keep the ticker. For trade counts, size distributions or execution replay, keep the trade records. For a best-bid/best-ask display, keep quote or depth records; the latest trade is not a substitute for the book.

TickDB's REST Ticker Snapshot documents a last traded price and optional cumulative volume. Its WebSocket Trade channel documents individual execution records. The stock examples also show why counting messages is not the same as counting trades: US and Hong Kong stock messages contain a trade array, while A-share messages put one trade directly under the data field.

Before treating any feed as a complete tape, check venue and session coverage, batching, filtering and how corrections are expressed. If the feed exposes a trade ID, verify its scope before deduplicating. Two executions can share a price and millisecond timestamp. Check how to recover missed records after a disconnect; a live channel is not a promise of lossless delivery or historical replay.

The quick test: if replacing two same-price executions with one larger execution changes your answer, a ticker snapshot is the wrong input.

Documentation checked: TickDB Ticker Snapshot and WebSocket Trade channel, November 27, 2026. The example is synthetic, not a live coverage test.

7 markets · 43,111 symbols

US stocks
14,809
Hong Kong market
3,354
China stocks, ETFs & bonds
7,576
Forex & metals
1,228
Indices
13,960
Futures
1,172
Crypto
1,012
11/27/2026

Explore related data tools

Related articles

Choose a Stock API by Testing Disconnect Recovery, Not Just Streaming Speed

A stock API can reconnect quickly while leaving an application with incomplete subscriptions or an unexplained gap in event history. Choose it by testing when data becomes usable again, not merely when the socket opens. A fresh snapshot can restore current state; only a documented replay or backfill mechanism can establish the required event continuity. The acceptance test below separates those outcomes and includes a small, locally tested recovery gate.

TickDB Research ·

Choose a US Stocks API That Keeps Extended Hours Data Distinct

A US stocks API can return a valid price while leaving an extended-hours screen misleading. For a product that shows pre-market, post-market or overnight activity, choose a feed whose coverage and session semantics you can verify, then keep each observation tied to its session and timestamp. TickDB documents separate extended-session snapshot objects; Alpaca documents separate stock feeds. Those are different integration choices, and neither removes the need to test missing data and session transitions.

TickDB Research ·

Choose a Stock API by Testing Requirements Before Comparing Price

A stock API can return valid JSON and still be unsuitable for your application. Choose candidates that meet your required data coverage, permitted use and operating capacity, then compare their total cost under the same workload. Alpaca’s documented IEX and SIP feed distinction shows why matching ticker symbols is not enough. A small acceptance test, with unresolved requirements kept visible, produces a more defensible shortlist than a feature count.

TickDB Research ·

Stock API Watchlists Can Share Requests Without Hiding Stale Prices

A stock watchlist can exhaust an API budget even when every user follows the same symbols. Where data permissions allow it, batching those symbols and sharing retrieval across viewers reduces duplicate upstream requests while preserving each record's timestamp. In a hypothetical case with 20 identical 120-symbol watchlists, batches of 50, and a five-second polling interval, independent polling needs 720 requests per minute; one shared collector needs 36, before retries and other traffic.

TickDB Research ·