Executive summary

Crypto HFT data is unusually accessible compared with traditional equities, but the apparent openness is deceptive. Most major exchanges expose real-time Level 2 order books and trades over public WebSockets, yet their feeds differ materially in publication cadence, sequence semantics, depth, timestamp precision, recovery behavior, and licensing. The strongest direct feeds now range from JSON WebSockets to institutional FIX and binary SBE/multicast: Binance offers JSON, FIX, and SBE with spot depth updates as fast as 20 ms; OKX exposes authenticated 50- and 400-level tick-by-tick books at 10 ms cadence; Bybit publishes top-of-book at 10 ms and 50 levels at 20 ms; Kraken offers up to 1,000 L2 levels over WebSocket and institutional FIX; and Deribit is moving further toward traditional-market infrastructure with SBE market-data multicast and hot-hot gateway architecture. (Binance SBE market data; Binance FIX API; OKX API guide; Bybit order book; Kraken L2 book; Deribit Starbase connectivity)

For historical research, exchange-native archives are uneven. OKX is the standout among large offshore venues because it explicitly publishes tick trades from September 2021 and high-resolution L2 order books from March 2023, including 50-, 400-, and 5,000-level historical modules. Binance publishes daily/monthly trades, aggregate trades, and candles but not a comparable public full-depth historical order-book archive. Kraken provides every public trade from each market’s inception through periodically refreshed CSV archives, while Coinbase sells microsecond-stamped exchange trade history through its Data Marketplace. Deribit provides historical public trade/instrument endpoints going back to its 2016 launch, but high-frequency historical book reconstruction is more naturally obtained from specialist vendors. (OKX historical data; OKX API changelog; Binance public data; Kraken trade history; Coinbase Data Marketplace; Deribit account setup guide)

For serious HFT research, the best general-purpose commercial choices are currently Kaiko, CoinAPI, Coin Metrics, and—although not requested explicitly—specialist raw-feed archives such as Tardis. Kaiko has the strongest combination of institutional normalization, long history, and full-book data: tick trades go back to 2010, raw order-book snapshots vary by exchange from 2015, and tick-level full-book history is available from August 2023; published tiers start at roughly $1,000/month for L1 aggregations and $2,500/month for L2 tick data. CoinAPI is materially cheaper at the entry level—$79/$249/$599 per month for Startup/Streamer/Pro—and covers more than 400 integrated exchanges, but users should verify per-symbol historical start dates and depth before assuming headline coverage applies uniformly. Coin Metrics is particularly attractive when data quality, timestamps, methodology, and reproducible research matter: it preserves native decimal precision, distinguishes exchange event time from collector time, publishes sequence IDs, and documents measured venue-to-collector latency. (Kaiko L1/L2 data; CoinAPI pricing; CoinAPI platform; Coin Metrics market trades; Coin Metrics market trades)

For production HFT, a normalized vendor feed should usually not be the sole price-forming input. The lowest-latency architecture is direct exchange connectivity—preferably binary/FIX or private/institutional feeds where available—co-located or regionally proximate to the venue, with a normalized vendor used independently for redundancy, reference data, recovery, and cross-venue checks. QuantHouse is strongest where crypto must coexist with conventional low-latency market infrastructure: its FeedOS feed handler claims single-digit-microsecond normalization and it operates a 100G network with 19 points of presence. CoinAPI advertises roughly 20 ms average public-endpoint latency and sub-1 ms connectivity for some Enterprise direct/VPC configurations, but that figure describes access to CoinAPI rather than matching-engine-to-strategy latency. Coin Metrics’ published Coinbase example—about 8 ms median exchange-to-collector, 11 ms p95 and 13 ms p99—illustrates why latency must be decomposed rather than represented by one vendor-wide number. (QuantHouse QuantFEED; QuantHouse raw feeds; CoinAPI EMS FAQ; Coin Metrics market trades)

One important current-market change is that Kaiko acquired Amberdata in June 2026. Amberdata should therefore no longer be treated as an independent long-term vendor choice; its historical product characteristics remain relevant, but procurement should be evaluated through the combined Kaiko offering. Kaiko says the combined organization covers more than 200 exchanges, 20+ blockchains and 20,000+ digital assets. (Kaiko/Amberdata acquisition)

The key engineering recommendation is to preserve raw native messages first, normalized events second, reconstructed books third. Persist exchange timestamps, local kernel receive timestamps, sequence numbers, connection IDs, native symbols, and raw payloads. HFT research becomes irreproducible when normalization overwrites venue-specific semantics or when only periodic reconstructed snapshots are retained.

Exchange-native market data

The table below separates publication cadence from network latency. Exchanges generally document how often they generate or push messages; they rarely provide a contractual end-to-end latency SLA for the public Internet.

Venue Main markets Real-time interfaces Fastest documented book behavior Depth Historical tick/book availability Format / sequencing HFT assessment
Binance Spot, perpetuals, futures, options REST, WebSocket, FIX, SBE SBE diff depth: 20 ms; trades real-time FIX diff depth configurable 2–5,000 Public daily/monthly trades, aggTrades, candles; no equivalent official public full-depth archive JSON, FIX 4.4-style, SBE; update IDs for reconstruction Excellent direct real-time feed; historical LOB generally requires self-capture/vendor. (Binance SBE market data; Binance FIX API; Binance public data)
OKX Spot, perpetuals, futures, options REST, WebSocket; institutional connectivity books-l2-tbt and books50-l2-tbt: 10 ms 1, 5, 50, 400; historical module also 5,000 Tick trades from Sep. 2021; high-res L2 from Mar. 2023 JSON; seqId/prevSeqId; checksum deprecated One of the strongest combinations of live and exchange-native historical L2. (OKX API guide; OKX historical data; OKX API changelog)
Bybit Spot, linear/inverse perps/futures, options REST, WebSocket L1 10 ms, L50 20 ms, L200 100 ms, L1000 200 ms Up to 1,000 displayed levels; full-depth stream at 200 ms Exchange download service includes trades, funding, K-lines and order-book snapshots JSON snapshot/delta with update identifiers and matching-engine timestamp cts Very good live derivatives feed; cadence increases with requested depth. (Bybit order book; Bybit full order book; Bybit API key guide)
Coinbase Exchange Primarily regulated spot REST, WebSocket, FIX Event-driven L2; optional L2 batch every 50 ms L2 aggregated price levels Commercial tick-trade history via Data Marketplace; microsecond timestamps JSON WebSocket; FIX for institutional connectivity Strong regulated-market source; public historical book depth less convenient than OKX/vendor archives. (Coinbase WebSocket feeds; Coinbase market data; Coinbase Data Marketplace)
Kraken Spot; separate derivatives stack REST, WebSocket v2, FIX Event-driven updates when subscribed depth changes 10, 25, 100, 500, 1,000 L2 levels Free complete trade CSV history from market inception; quarterly increments JSON; checksum/reconstruction guidance; FIX available Excellent free trade history and deep public L2. (Kraken L2 book; Kraken API documentation; Kraken trade history)
Deribit Options, perpetuals, futures, spot REST/WS, FIX; Starbase SBE Institutional SBE incremental multicast with redundant A/B feeds Institutional market-data books; options-centric Public trade/instrument history from launch in 2016; specialist vendors offer historical book events JSON-RPC/FIX plus SBE/UDP multicast in Starbase One of the strongest choices for options HFT; Starbase resembles traditional exchange infrastructure. (Deribit account setup guide; Deribit FIX changelog; Deribit Starbase connectivity)
BitMEX Perpetuals, futures REST, WebSocket WebSocket recommended for quickest data vs REST L2 and L2-25 style feeds Daily-updated public quote/trade files; REST historical queries JSON; partial/insert/update/delete table semantics Useful long-running derivatives dataset; less dominant today but valuable historically. (BitMEX API; BitMEX institutional services)
CME Globex Regulated BTC/ETH and other crypto futures/options MDP 3.0, SBE, WebSocket; DataMine Native exchange multicast-style market-data infrastructure Market-by-order datasets available DataMine historical MBO; BTC MBO custom history example priced at $34,155 SBE/MDP 3.0; deterministic exchange sequence model Best benchmark if comparing crypto HFT to traditional futures microstructure; expensive licensing/data. (CME cryptocurrency futures FAQ; CME DataMine catalog; CME 24/7 trading)

Two subtleties matter. First, feed cadence is not event granularity. OKX internally constructs books every 10 ms; if the depth changes A→B→A inside that interval, it may send no net depth change. Thus a 10 ms feed cannot be assumed to contain every matching-engine event. (OKX API guide) Second, depth is not equivalent to order-level information. Most crypto feeds are L2 price-level aggregates, not L3/MBO. Queue-position models trained on L2 must therefore infer rather than observe cancellations, replacements, individual order IDs, hidden liquidity, and priority changes.

Binance’s newer SBE market-data path is strategically important. It provides trades, best bid/ask, and 20 ms diff-depth in binary form, reducing JSON parsing overhead and garbage-generation risk. The SBE best-bid/ask stream also uses auto-culling under load: obsolete queued events can be discarded in favor of newer state. This is sensible for maintaining current BBO, but it means the feed is unsuitable for reconstructing every intermediate top-of-book state. (Binance SBE market data)

OKX has one of the cleanest continuity models for L2 reconstruction: clients use seqId and prevSeqId; the previously used checksum is now fixed to zero and should not be used. The 400-level 10 ms channel is tier-gated, while shallower public feeds are more broadly accessible. (OKX API guide; OKX API changelog)

Bybit’s feed exposes a useful matching-engine creation timestamp (cts) in addition to WebSocket timing, making it possible to separate exchange-side publication delays from network and client-side receive latency. Depth-specific cadence is explicitly documented, which is valuable when designing backtests that must reproduce production observability. (Bybit order book)

Low-latency ingestion practices

REST should be treated as a snapshot/recovery/control-plane interface, not the primary HFT market-data path. Use REST to discover instruments, seed a book, reconcile after a sequence gap, and backfill limited history. Continuous market state should come from WebSocket, FIX, SBE or exchange-native multicast where available. Kraken itself describes REST as request/response snapshots and WebSocket as live streaming. (Kraken REST vs WebSocket)

The receiving stack should timestamp at multiple points:

exchange_event_time → vendor_collect_time → NIC/kernel_receive_time → parser_time → strategy_time

Without these distinct clocks, “latency” conflates matching-engine publication, WAN propagation, vendor normalization, kernel scheduling, decoding and application backlog.

For Internet WebSockets, use one or a small number of symbols per latency-sensitive connection when exchange limits permit, disable unnecessary compression if CPU jitter matters, preallocate parse buffers, avoid DOM-style JSON parsing, pin feed-handler threads, isolate network IRQs, and record connection lifecycle events. For binary feeds, decode into fixed-layout structs and preserve the binary message sequence separately from downstream normalized sequence numbers.

A practical raw-event envelope is:

MarketEvent {
    venue               enum
    connection_id       u64
    native_symbol       bytes
    normalized_symbol   symbol_id
    channel             enum
    event_type          enum
    exchange_ts_ns      i64 nullable
    receive_ts_ns       i64
    sequence            i64 nullable
    prev_sequence       i64 nullable
    payload_schema_ver  u16
    raw_payload          bytes
}

Commercial vendors

Commercial vendors solve three problems that direct exchange feeds do not: historical backfill, normalization across incompatible venue schemas, and operational redundancy. They also introduce another network hop and normalization layer, so the best vendor for research is not necessarily the best feed for nanosecond- or microsecond-sensitive production.

Vendor Coverage / datasets Historical granularity Order-book capability Real-time interfaces / latency Normalization Pricing model Licensing / best fit
Kaiko 100+ exchange coverage historically; post-Amberdata combined platform says 200+ exchanges Tick trades since 2010; snapshot history often since 2015; full tick L2 since Aug. 2023 Full bids/asks tick stream; periodic raw snapshots; L1/L2 analytics gRPC Stream; 72 h replay; vendor describes near-zero latency but no universal numerical SLA Strong cross-venue normalization L1 agg from $1k/mo; L1 tick $1.5k; L2 agg $2k; L2 tick $2.5k; custom enterprise Strongest general institutional research choice; redistribution/index use subject to license. (Kaiko L1/L2 data; Kaiko streaming documentation; Kaiko pricing and licenses)
Amberdata Major CEXs, derivatives, order books, on-chain/DeFi Exchange-dependent; Binance spot back to 2017; tick/order-book event products Full-depth one-minute snapshots plus incremental/ticker data on supported venues REST, WS, S3, Snowflake Unified normalized API Historically quote/startup/enterprise; acquired by Kaiko June 2026 Evaluate as Kaiko product family rather than independent strategic vendor. (Amberdata Binance data; Amberdata market data; Kaiko/Amberdata acquisition)
CoinAPI 400+ exchanges, 18k+ assets, spot/derivatives/DEX Since ~2014 overall; exact start varies by symbol/data type L1/L2/L3 where available; current/historical books; full-book flat files REST, WebSocket, FIX, JSON-RPC; ~20 ms average public endpoints claimed; sub-1 ms Enterprise direct/VPC possible Extensive symbol/schema normalization $79 Startup; $249 Streamer; $599 Pro; Enterprise custom; data-volume overages Best value for broad normalized coverage; verify per-symbol depth and latency. (CoinAPI platform; CoinAPI market data; CoinAPI pricing; CoinAPI EMS FAQ)
Coin Metrics 40+ exchange universe; spot/futures/options Raw tick trades; historical order books and updates depending venue Full book snapshots; updates; historical L1 derived from snapshots HTTP + WebSocket; Coinbase example ~8 ms median exchange→collector Particularly rigorous timestamps, decimals, side normalization, metadata Professional pricing quote-based; some Community data free Excellent research/auditability; narrower HFT venue count than CoinAPI. (Coin Metrics data overview; Coin Metrics market data overview; Coin Metrics market trades; Coin Metrics community data)
CCData / CryptoCompare Spot and derivatives; Binance, OKX, Deribit, Bybit, Kraken, BitMEX, etc. Tick trades plus OHLCV/OI/funding/index histories Historically trade/order-book products; derivatives focus is stronger in public docs REST and custom cloud delivery; legacy CryptoCompare also used WS Standardized instrument mapping Institutional quote-based Good for standardized derivatives analytics and broad research rather than lowest-latency direct execution. (CCData derivatives data; CryptoCompare cloud delivery)
QuantHouse 240+ normalized feeds from 80+ sources; 145+ exchange raw/historical universe across asset classes Up to 15+ years; tick trades/quotes L1, L2 MBL; full-depth MBO/MBL depending source FeedOS C++/Java/.NET; TCP, multicast, shared memory; single-digit-µs normalization Institutional multi-asset normalization Quote-based Best candidate when crypto is integrated into traditional low-latency infrastructure/co-location. (QuantHouse; QuantHouse historical data; QuantHouse QuantFEED)
OneTick Cloud Crypto spot/futures: Binance, Bybit, Coinbase, Deribit, Gate.io, Hyperliquid, OKX, etc. Crypto archive currently starts mostly 2024–26 depending venue L2 price-level updates and reconstruction functions Cloud API/Python/SQL/Parquet; not positioned as direct-exchange ultra-low-latency feed Cleansed and normalized Quote/access-request model Excellent analytics/replay engine; crypto history currently much shorter than Kaiko/CoinAPI. (OneTick crypto coverage; OneTick crypto documentation; OneTick Cloud services)
dxFeed Top 20+ crypto exchanges plus CME and multi-asset markets Tick/historical/replay; exact crypto starts vary Price-level book; full depth where source supports it Java/C/C#/JS/REST; low-latency feed and market replay Normalized multi-asset model Quote-based Strong if crypto must coexist with futures/options/equities in one feed stack. (dxFeed crypto data; dxFeed Bitcoin futures; dxFeed market replay)

Kaiko

Kaiko is currently the most complete institutional “research-to-production” proposition among the named pure-crypto vendors. Its Level 2 tier includes full bids and asks at tick granularity in the live stream; its cloud files provide tick-level full-book history from August 2023; periodic order-book snapshots go much further back, typically to 2015 depending on venue. Tick trades reach back to 2010. Delivery includes stream, REST, cloud object storage, Snowflake and BigQuery. (Kaiko data dictionary; Kaiko L1/L2 data)

The main limitation for HFT research is the discontinuity between older snapshot data and newer full-event history. A strategy trained on one-minute snapshots cannot estimate queue dynamics, cancellation intensity or short-horizon imbalance in the same way as an event-by-event full-book archive.

CoinAPI

CoinAPI has the broadest advertised exchange footprint in this group and a much lower public entry price. Its normalized records typically include both time_exchange and CoinAPI processing time, which is valuable for measuring collection latency. Its product line now spans REST, WebSocket, FIX, flat files, S3-compatible delivery and L1/L2/L3 data where the source permits. (CoinAPI market data; CoinAPI latency comparison)

Its published latency numbers must be interpreted carefully. CoinAPI says public endpoints average around 20 ms and Enterprise direct/VPC configurations can reach sub-1 ms, while its REST FAQ gives 100–200 ms as a typical request latency. These figures describe different paths and service types; neither should be treated as a universal exchange-event-to-strategy latency guarantee. (CoinAPI EMS FAQ; CoinAPI market data FAQ)

Coin Metrics

Coin Metrics is unusually transparent about microstructure semantics. It preserves exchange-native timestamp resolution, uses exact decimal strings rather than floating point for prices and quantities, normalizes side to taker side, and exposes collector timestamps. Its documentation explicitly notes that live WebSocket observations can be a strict subset of the eventually complete historical dataset because redundant collectors and historical backfills may recover events missed in a live connection. (Coin Metrics market trades; Coin Metrics FAQ)

That distinction is critical: production-replay equivalence is not automatic. A backtest that uses vendor-repaired history can have better data than the strategy would actually have seen live.

For order books, Coin Metrics’ historical top-of-book series on major markets reflects its roughly 10-second snapshot cadence, while the live quote feed publishes whenever BBO changes. Cloud delivery includes full-depth snapshots for 29 exchanges, while raw order-book updates are currently a narrower set. (Coin Metrics quotes; Coin Metrics cloud delivery)

QuantHouse, OneTick and dxFeed

These three vendors are more compelling when the infrastructure requirement extends beyond crypto.

QuantHouse provides raw exchange feeds, normalized QuantFEED, proximity hosting and replay. Its normalized feed handler advertises single-digit-microsecond processing, while its infrastructure spans 19 points of presence, 10G connectivity and 100G data-center networking. Its historical service carries three timestamps per event, an important property for latency attribution. (QuantHouse QuantFEED; QuantHouse raw feeds; QuantHouse historical data)

OneTick is strongest as an analytical datastore and replay environment. Its crypto datasets expose L2 price-level updates and built-in book reconstruction, but its directly listed crypto archive starts only in 2024 for Binance/Bybit/OKX and in 2026 for newer Deribit/Hyperliquid coverage, making it much less suitable when a decade-scale crypto history is required. (OneTick crypto coverage; OneTick crypto documentation)

dxFeed offers normalized crypto, CME futures, historical tick retrieval and market replay through the same API family. It advertises sub-millisecond book snapshot retrieval from its historical infrastructure—under 400 microseconds for a full book snapshot—but that is storage retrieval performance, not live market latency. (dxFeed historical data)

Public and academic datasets

The highest-quality free datasets are generally exchange-native, not Kaggle mirrors.

Binance’s data.binance.vision archive is excellent for executed-trade research. It publishes daily and monthly files for trades, aggregate trades and candles, with spot timestamps in microseconds from January 1, 2025 onward. Because there is no comparable native historical full-depth event archive, Binance LOB research requires self-recording or a commercial archive. (Binance public data)

Kraken is even stronger for free long-horizon trade research: its downloadable archive contains every public trade from each currency pair’s first trade, with quarterly incremental updates and a manifest/checksum workflow. This makes it one of the cleanest free sources for venue-level event-time trade studies. (Kraken trade history)

OKX is currently the strongest free exchange-native source for historical crypto L2 because it offers high-resolution order-book history from March 2023 in addition to tick-level trades from September 2021. (OKX historical data; OKX API changelog)

“CCXT archives” should not be treated as a dataset category. CCXT is a unified exchange API/trading library, not a canonical tick-history repository; its own comparison material explicitly says CCXT has no historical archive and contrasts it with Tardis, which does. CCXT can still be useful for collecting snapshots or whatever historical endpoints each venue exposes, but the resulting archive is yours, not CCXT’s. (CCXT vs Tardis)

Kaggle datasets are useful for prototyping but generally weak as primary HFT evidence. They often provide minute bars, short windows or undocumented transformation pipelines. The G-Research Crypto Forecasting dataset is historically useful for ML benchmarking, while other datasets offer isolated high-frequency samples, but provenance and completeness should always be reconciled against exchange sequence IDs or native files. (G-Research Kaggle dataset; Kaggle crypto LOB dataset)

A promising recent “LOBSTER-like” public crypto source is the Hyperliquid Level 4 dataset released on Zenodo in 2026. It contains raw book diffs for BTC, ETH and SOL and is unusually rich because blockchain-level observability allows order placement/cancellation histories, counterparties and wallet identities to be reconstructed in ways not normally available from CEX L2 feeds. Its accompanying paper describes nanosecond-precision timestamps and complete placement/cancellation information, including rejected orders and failed cancellations. (Hyperliquid L4 dataset; Hyperliquid L4 paper)

Another useful open project is crypto-lob-stream, which records L2 books, trades and futures metadata from public WebSocket feeds directly into Parquet and publishes sample datasets. This is useful for reproducible methodology, but it remains a community recorder rather than an exchange-certified source. (crypto-lob-stream dataset; crypto-lob-stream repository)

The fundamental distinction from equity LOBSTER is that conventional LOBSTER reconstructs NASDAQ order-level events from a deterministic native exchange feed. Most CEX crypto public APIs expose only price-level aggregates, so a “LOBSTER-like” crypto dataset is usually L2 reconstructed state, not true queue-level MBO.

Data quality, reconstruction and storage

Failure modes that matter in HFT

Missing WebSocket messages are only the obvious failure. More subtle problems include exchange timestamp discontinuities, reconnect-induced duplicate snapshots, undocumented schema changes, crossed books during auctions, price-level updates arriving after trades, temporary stale channels, symbol migrations, contract rollovers, inverse-contract unit conventions, zero-size delete semantics, aggregated trades that collapse multiple fills, and venue-side batching.

Clock error is particularly dangerous. Exchange timestamps are generated at different pipeline stages. Some represent matching-engine transaction time; others represent market-data generation time; others are gateway time. BitMEX now exposes both timestamp and transactTime in L2 data, while Bybit’s cts represents matching-engine order-book generation time. Treating them as the same concept biases latency and lead-lag analysis. (BitMEX order-book API; Bybit order book)

Normalization can also destroy information. Coin Metrics’ decision to retain exact decimal strings is a good model: crypto venues routinely use values that cannot be represented exactly in binary floating point. (Coin Metrics market trades) For internal storage, convert prices and quantities to fixed-point integer ticks/lots only after applying the correct historical instrument metadata.

Preserve raw messages immutably, then create a separate normalized layer. Validate sequence continuity where sequence numbers exist. On any gap, mark the reconstruction invalid, acquire a new snapshot, and resume only after the exchange-specific synchronization condition is satisfied. Never silently bridge a gap by carrying forward the previous state.

Run invariant checks continuously:

best_bid < best_ask          except documented auction/cross states
qty >= 0
price aligned to tick_size
sequence monotonic           unless documented reset
event_time nondecreasing     within venue/channel where promised
snapshot sequence <= first applied delta sequence
book checksum / seq linkage valid
trade ID uniqueness rules satisfied

Do not automatically drop crossed or locked books without first determining whether they reflect real pre-open/auction mechanics. OKX explicitly notes that best ask can be below best bid during its pre-open period. (OKX API guide)

For backfills, tag repaired events:

source_quality =
    LIVE_NATIVE
    LIVE_VENDOR
    EXCHANGE_HISTORICAL_BACKFILL
    VENDOR_REPAIRED_HISTORY
    SYNTHETIC_RECONSTRUCTION

A research pipeline should be able to reproduce both the best known history and the information actually observable live.

Order-book reconstruction pseudocode

book = { "bid": SortedMap(descending=True),
         "ask": SortedMap(descending=False) }

snapshot = rest_snapshot(symbol)
book.reset(snapshot.levels)
last_seq = snapshot.sequence

subscribe_ws(symbol)

for msg in websocket:
    recv_ns = clock_gettime_ns(CLOCK_TAI_OR_MONOTONIC_RAW)

    raw_log.append(msg, recv_ns)

    if msg.type == "snapshot":
        book.reset(msg.levels)
        last_seq = msg.sequence
        emit_valid_book(book, msg, recv_ns)
        continue

    if msg.prev_seq is not None and msg.prev_seq != last_seq:
        mark_gap(last_seq, msg.sequence)
        book.invalidate()
        snapshot = obtain_fresh_snapshot()
        synchronize(snapshot, buffered_ws_messages)
        continue

    for side, price, qty in msg.updates:
        p = fixed_point(price)
        q = fixed_point(qty)

        if q == 0:
            book[side].delete(p)
        else:
            book[side][p] = q

    last_seq = msg.sequence

    if not book.is_crossed_or_documented_auction():
        emit_book_delta(msg, recv_ns)

The exact snapshot/delta synchronization procedure must be venue-specific. Binance, OKX, Bybit and Kraken do not share identical replay semantics.

Storage design

For inexpensive long-term research storage, Parquet on object storage is the default choice. Parquet is columnar and supports dictionary, delta, RLE and multiple compression codecs, making it well suited to repeated symbols, side enums, timestamps and slowly changing price levels. (Parquet column chunks; Parquet encodings; Parquet compression)

Use ZSTD for cold historical files where query latency is not ultra-critical; use Snappy/LZ4-class compression for faster write/read paths. Keep files large enough for efficient column scans—typically hundreds of MB rather than thousands of tiny minute files.

A recommended partition hierarchy is:

/raw/
  venue=binance/
  channel=depth/
  date=2026-11-10/
  hour=07/
  part-....bin

/normalized/
  venue=binance/
  datatype=book_delta/
  date=2026-11-10/
  symbol=BTCUSDT/
  part-....parquet

Avoid partitioning object storage by every symbol when the symbol universe is enormous; doing so creates pathological small-file counts. Partition by date/venue/data type and use symbol as a Parquet sort/statistics column unless individual markets are exceptionally large.

A normalized L2 delta schema can be:

book_delta (
    venue_id          UInt16,
    instrument_id     UInt32,
    exchange_ts_ns    Int64,
    receive_ts_ns     Int64,
    sequence          Int64,
    prev_sequence     Int64,
    side              Int8,      -- +1 bid, -1 ask
    price_ticks       Int64,
    qty_lots          Int64,
    update_action     Int8,      -- insert/change/delete
    connection_id     UInt64,
    source_quality    UInt8,
    schema_version    UInt16
)

For trades:

trade (
    venue_id          UInt16,
    instrument_id     UInt32,
    exchange_ts_ns    Int64,
    receive_ts_ns     Int64,
    trade_id          String,
    price_ticks       Int64,
    qty_lots          Int64,
    aggressor_side    Int8,
    sequence          Nullable(Int64),
    flags             UInt32
)

ClickHouse is an excellent interactive layer for tens of billions of normalized events. Its MergeTree architecture benefits from choosing ORDER BY around the dominant query dimensions; sequential timestamp data can also benefit from time-series codecs. (ClickHouse time series; ClickHouse compression) A practical key is (venue_id, instrument_id, exchange_ts_ns, sequence) with daily or monthly partitions depending retention and ingest volume.

kdb+/KDB-X remains attractive when HFT research and real-time production analytics must share the same event model. The canonical tick architecture uses a tickerplant that logs incoming messages, an in-memory real-time database, and a date-partitioned historical database; the log provides an explicit replay/recovery mechanism. (kdb+ real-time database; kdb+ historical database; kdb+tick recovery) Its trade-off is licensing cost and a specialized engineering skill set.

Suggested ingestion architecture

flowchart LR
    EX1[Direct Exchange WebSocket/FIX/SBE]
    EX2[Secondary Vendor Feed]
    REST[REST Snapshot / Instrument Metadata]

    NIC[Low-latency Feed Handlers\nNIC/kernel timestamping]
    RAW[Immutable Raw Journal\nnative payload + receive timestamp]
    GAP[Sequence / Gap Detector]
    NORM[Venue-specific Normalizer]
    BOOK[Order Book Reconstructor]
    BUS[Internal Event Bus]
    STRAT[Strategies / Features]
    RT[Real-time Store\nkdb+ or ClickHouse]
    OBJ[Object Storage\nParquet + raw binary]
    REPLAY[Deterministic Replay Service]
    QA[Quality / Latency Monitor]

    EX1 --> NIC
    EX2 --> NIC
    REST --> GAP
    NIC --> RAW
    NIC --> GAP
    GAP --> NORM
    NORM --> BOOK
    NORM --> BUS
    BOOK --> BUS
    BUS --> STRAT
    BUS --> RT
    RAW --> OBJ
    RT --> OBJ
    OBJ --> REPLAY
    REPLAY --> STRAT
    GAP --> QA
    NIC --> QA

The raw journal should be written before expensive normalization. This prevents parser or downstream failures from causing irrecoverable loss and allows future schema corrections to be replayed against original messages.

Public API access does not imply unrestricted commercial rights. This point has become materially more important in 2026.

Coinbase’s current Market Data Terms state that Coinbase retains proprietary rights in its market data and, absent written consent, restrict redistribution of the data and derived works. Its terms also impose restrictions on using market data for benchmarks and certain AI/ML purposes. (Coinbase data terms; Coinbase data terms (India))

OKX’s 2026 API Agreement is especially explicit: public endpoint data remains proprietary, redistribution and commercial data-service use require permission, and high-frequency or large-scale institutional users are directed toward a separate data licensing agreement. The agreement applies these restrictions even to unauthenticated public endpoints. (OKX API agreement; OKX US API agreement)

CME is stricter still in the traditional market-data sense: customers require a Market Data License Agreement, and creation/distribution of derived works can require a separate Derived Data License Agreement. (CME indices FAQ)

Vendor normalization does not automatically eliminate exchange-origin licensing obligations. A vendor contract must be reviewed for at least:

  • internal users and legal entities covered;
  • storage duration and historical retention;
  • redistribution/display rights;
  • derived-data rights;
  • benchmark/index use;
  • model training and model-output rights;
  • disaster-recovery copies;
  • cloud-region restrictions;
  • audit provisions;
  • termination obligations and whether historical data must be deleted.

Cost, latency and coverage frontier

There is no single optimal provider because the three main objectives conflict.

Objective Preferred approach Approximate cost profile Main compromise
Cheapest research Exchange dumps + self-capture Free to infrastructure cost Missing historical L2, heterogeneous schemas, maintenance burden
Broad normalized research CoinAPI $79–$599/mo public tiers, enterprise above Extra normalization hop; per-market coverage must be validated
Institutional microstructure research Kaiko L2 tick From ~$2,500/mo Higher subscription cost
Methodologically rigorous research Coin Metrics Quote-based Smaller venue universe; some book history sampled/narrow
Multi-asset institutional HFT QuantHouse Quote + exchange fees Enterprise infrastructure cost
Query/replay analytics OneTick or dxFeed Quote-based Not necessarily lowest-latency execution feed
Lowest production latency Direct venue FIX/SBE/multicast/co-location Potentially highest engineering + connectivity cost One integration per venue; operational complexity
Regulated futures research CME DataMine Can reach tens of thousands for deep MBO history Licensing and cost

The most important economic insight is that data cost is usually not the dominant production-HFT cost. Once latency matters enough for queue-position-sensitive strategies, engineering, cross-connects, regional infrastructure, redundant collectors, exchange tiers and observability often dominate a few thousand dollars per month of vendor subscription.

For an independent quantitative researcher, use OKX historical L2 + Binance/Kraken free trade archives, supplemented by CoinAPI when cross-exchange normalization is required. This yields a large amount of genuinely tick-level material before committing to institutional licenses. OKX’s historical 50/400/5000-level modules make it particularly valuable for microstructure research. (OKX historical data; OKX API changelog; Binance public data; Kraken trade history)

For a professional HFT research group, Kaiko L2 Tick-Level is the strongest single-vendor starting point among the requested vendors, especially now that Amberdata is part of Kaiko. Pair it with direct exchange raw captures so model validation can compare normalized vendor history with what the live strategy actually observed. Kaiko’s $2,500/month starting L2 tick tier is high relative to CoinAPI but modest compared with the labor cost of building and maintaining complete historical normalization across dozens of venues. (Kaiko L1/L2 data; Kaiko/Amberdata acquisition)

For research where provenance and timing accuracy outweigh maximal breadth, Coin Metrics is particularly compelling. Its explicit time versus collect_time, sequence handling, decimal preservation and documented venue latency distributions make it unusually suitable for rigorous microstructure papers and transaction-cost research. (Coin Metrics market trades; Coin Metrics market trades)

For production HFT at Binance, OKX, Bybit or Deribit, consume the native venue feed directly. Use SBE/FIX/multicast where eligibility permits, otherwise WebSocket. Run a commercial vendor as a secondary independent channel for cross-checks and disaster recovery rather than routing every latency-sensitive decision through a normalized aggregator. Binance SBE, OKX 10 ms L2, Bybit 10/20 ms feeds and Deribit Starbase’s SBE multicast are currently the most notable native paths among the venues reviewed. (Binance SBE market data; OKX API guide; Bybit order book; Deribit Starbase connectivity)

For a firm already operating conventional equities/futures infrastructure, QuantHouse is the strongest fit among the requested vendors because it combines normalized low-latency feeds, raw venue access, proximity hosting and traditional asset classes behind one FeedOS API. (QuantHouse; QuantHouse QuantFEED)

For replay-heavy model development, build the canonical archive in raw binary + Parquet, use ClickHouse for exploratory analysis, and consider kdb+/KDB-X when the same tick architecture must serve real-time production analytics and deterministic historical replay. Parquet supplies durable, vendor-neutral columnar storage; ClickHouse gives inexpensive high-volume scans; kdb+ provides a mature tickerplant/RDB/HDB operational model. (Parquet overview; ClickHouse time series; kdb+ real-time database)

The decisive vendor-selection test should therefore not be “who has the most exchanges?” but: Can the provider reproduce the exact state and information set your strategy would have seen at a given instant, with explicit sequence integrity, timestamp provenance, licensing rights, and a documented recovery path? For HFT, that property is worth more than headline symbol counts.