Skip to navigation

File changelog

2.4.0 — 2026-11-17 — The coverage object: each exchange’s closed days and every symbol’s first and last day, in one read

A new object per exchange, coverage/{exchange}.json under the dataset’s root, answers what until now took a read of every day manifest: which days are closed, which of them are partial, and for each family and symbol the first and last day with a file.

{
"contract_version": "2.4.0",
"exchange": "OKX",
"first_day": "2026-09-30",
"published_through": "2026-11-12",
"days": {
"2026-10-16": {"status": "partial", "manifest_sha256": "…", "gaps": 3, "failed_hours": [12]},
"2026-11-11": {"status": "ok", "manifest_sha256": "…", "gaps": 25, "failed_hours": []}
},
"families": {
"trades": {
"BTC/USDT": {"first_day": "2026-09-30", "last_day": "2026-11-12", "days": 44, "bytes": 1234567890}
}
}
}
FieldHolds
first_day, published_throughThe exchange’s first and last closed day
daysOne entry per closed day: the day manifest’s status, its SHA-256, how many gaps it lists, and the hours of the day (0 to 23) that failed, an empty list on an ok day
familiesPer family, then per canonical symbol: the first and last day with a file, how many days have one, and those files’ compressed bytes

Every day in the object is a UTC date and inclusive. A day that days does not list is not closed as far as the object states: either it has no day manifest and nothing of it is published, or the object is behind it, as below. The day manifest is the authority. A symbol’s days below the span from its first_day to its last_day means days with no file; such a day is a quiet day only when it is closed and nothing in its manifest covers the symbol, no gap and no failed hour. The gaps stay in the day manifests: the object carries their count, so a reader knows which days to open. The column guide says how to read it, and the contract types every field under coverage.

The object is derived: it states nothing the day manifests do not, and a day manifest is still the commit of its day. It can be behind the manifests and is never ahead of them. The live publisher brings it up to date as it starts and after each day manifest it commits; an update that fails costs the close nothing and is tried again. A backfill or a forced repair does not write it, so a day one of those closed or rewrote reaches the object at the live publisher’s next day close for that exchange: until then a rewritten day’s manifest_sha256 is not its manifest’s digest, which is how a reader tells.

What a 2.3.0 reader sees.

  • One new key per exchange, coverage/{exchange}.json, overwritten in place like dictionary/latest.json. No manifest names it. A reader that takes keys from manifests never meets it; one that lists the root sees a prefix it did not know.
  • Nothing changes in any data family, instruments file, key or manifest field. contract_version is 2.4.0 in the manifests this publisher writes, and partitioner_version stays 14: the same source hour yields the same bytes.
  • publication.day_freshness asks less of a reader. It said to compare a day’s recorded hour-manifest identities with the current hour manifests before serving the day. It now says what the column guide always said: a day manifest is an internally consistent version of its day, the comparison is for a reader that wants the latest repaired view, and a server of days may make it on a bounded interval that it states. A reader that compares before every read remains correct.

What each side of the upgrade sees. The upgrade is in place, on the destination as it stands. Before it there is no object, and a reader that looks for one finds none. The upgraded publisher writes each exchange’s object as it starts, from every day manifest the destination holds, whichever 2.x version closed the day, and from then follows each day close. Days closed before the upgrade keep their manifests byte for byte, contract_version 2.3.0 among them. An exchange with no closed day has no object. So a missing object means no closed day, a publisher not yet upgraded, or a first write the publisher has not made yet, because it has failed so far or because only a backfill has closed a day of the exchange since the publisher started: the day manifests say which.

2.3.0 — 2026-11-13 — Instrument terms: each instrument’s type, increments, contract size, underlying and expiry

The day’s instruments file, instruments/{exchange}/{yyyy-MM-dd}.{sha12}.csv, gains eight columns after removed: what each instrument is and how it trades, as refdata stated it.

ColumnCell
instrument_typespot, futures, inverse_futures, quanto_futures, perpetual_swap, inverse_perpetual_swap, quanto_perpetual_swap, option, inverse_option, index or unknown
tick_sizeThe price increment: an exact decimal with display_price_scale fractional digits. Always stated; empty only where that scale is outside 0 to 18
step_sizeThe quantity increment in the instrument’s own size unit, with display_qty_scale fractional digits. Always stated; empty only where that scale is outside 0 to 18
contract_multiplierUnits of the underlying per contract, with eight fractional digits. Empty where refdata states none, which is not 1 (see below)
contract_valueThe notional of one contract in the quote asset, for inverse and quanto instruments, with display_price_scale fractional digits. Empty where there is none
underlying_instrument_idThe instrument_id of a derivative’s underlying. Empty where there is none
expires_atThe expiry of a dated instrument, epoch nanoseconds. Empty for a perpetual and for spot
settles_atThe settlement instant of a dated instrument, epoch nanoseconds. Empty where there is none

They are what a quantity in contracts needs: open_interest times contract_multiplier is an amount of the underlying, and times contract_value it is quote notional, where each is stated. An empty contract_multiplier is not 1. A spot instrument’s quantities are already amounts of its base asset, whether its cell is empty or 1.00000000. An inverse instrument is sized by contract_value and has no multiplier. On any other instrument an empty cell means the size of a contract is not known. The column guide says how a row’s terms apply to a fact, and the contract types the eight columns under instrument_terms.

What a 2.2.0 reader sees.

  • Eight more columns at the end of an instruments file’s header and of each row. A reader that takes columns by name, or the first eleven by position, is unaffected. One that compares the whole header fails on it.
  • More rows for an instrument. A row is one version of an instrument, and a change to any term is now a version: a tick size that moves adds a row with its own valid_from, where only a change of name, of display scale or a removal did. A reader that took an instrument’s rows for its renames now sees rows that change no name.
  • Nothing changes in any data family, key or manifest field. contract_version is 2.3.0 and partitioner_version 14 in the manifests this publisher writes.

What each side of the upgrade sees. There is no upgrade in place. A destination written before 2.3.0 holds a dictionary with no terms for the instruments it already knows, and nothing on the stream restates them, so the publisher refuses such a destination when it starts and writes nothing to it. The terms therefore begin with a fresh destination, in which every instruments file has all nineteen columns from its first day. A destination written before 2.3.0 stays as it is: contract_version 2.2.0 or earlier, eleven columns. Either way a day manifest’s contract_version says which columns its instruments file has: nineteen from 2.3.0, eleven before. The contract states it per column, as each term’s since.

2.2.0 — 2026-11-13 — The full-depth book: incremental_book_L2, one row per price level per book fact

A new family, incremental_book_L2, publishes every level of every book fact, so a reader can rebuild the whole book and not only its top 25. It uses the identity columns, key layout, manifests and gzip CSV rules every family shares: incremental_book_L2/OKX/2026-11-20/BTC-USDT.{sha12}.csv.gz is a day of one symbol’s book.

Columns after the identity columns
exchange_seq,is_snapshot,row_reason,side,price,amount

A reader applies the rows a run at a time. This is the whole rule, as the contract states it under the family’s rebuild:

keep one book for each instrument_id
for each run of rows sharing one global_sequence and one is_snapshot, in file order:
take the book of the run's instrument_id
if the run's is_snapshot is true: forget that book
for each row of the run that has a side:
if is_snapshot is false and amount is zero: remove (side, price)
otherwise: set (side, price) to amount
  • Every whole-book group starts its book afresh, also one that follows another with no delta between them: a run ends where global_sequence changes, not only where is_snapshot does. A reader that discards its book only when is_snapshot turns true after false keeps levels the second group dropped.
  • The book is the instrument_id’s, not the file’s. A file is one symbol’s. Where a successor instrument takes a symbol over, the delisted one keeps the name for the rest of that hour, so rows of both can sit in one file, each with its own whole-book groups.
  • A row with no side is the one row of a whole-book group for a book that holds no level, with price and amount empty too: its run forgets the book and sets nothing.
  • No chaining, checksum or venue rule. The publisher has already applied them. The book the rule builds is the published book. It stops being so at the start of any gap that covers the family, a book_unsynced gap of it or a gap whose family is *, and at any hour that is failed or absent, and is unknown from there until its next whole-book group.
  • A level has one spelling. Every row of a book is at the scales the book holds, which move only at a whole-book group, so the text of price can be a key.
  • row_reason marks every row no delta on the stream carried: restated for a whole book the stream restated and that was unknown or changed, checkpoint for the publisher’s own whole-book image at the start of each hour, window for a removal a venue’s depth window implies. It is empty on a level a delta carried, so the rows with an empty row_reason are exactly what the stream’s deltas said. The rule above never reads it.
  • Every hour opens each book on a whole-book group, in hour files and in every hour of a day file, so any hour rebuilds on its own. A reader that carried a book out of the published hour before already holds the checkpoint it meets.
  • global_sequence is shared by the rows of one fact in this family. It still identifies a row in every family where a fact writes one.

The column guide says what each kind of row is and what the full-depth book can and cannot say: each venue’s subscribed depth and cadence, and that a restated group stands for every change since the row before it.

What a 2.1.0 reader sees.

  • One new family value among a manifest’s files, and a new prefix beside the old ones. The key layout, columns and rows of the six existing families are unchanged. book_snapshot_25 stays: it is the ready-made top of book, and the two families agree at every row.
  • Each book_unsynced gap is now written twice, once for each book family, with the same bounds. A reader that selects gaps by family is unaffected; one that counts gap entries sees twice as many of that reason.
  • The contract gains two cell types, and every enum column states its values. is_snapshot is a boolean, true or false. row_reason and side are optional_enum: empty, or one of the column’s values. A column’s values are its enum, for the four enum columns that were there before as for these two. The enums table stays as it was, repeating those four columns’ values by column name; it does not describe this family’s side (bid, ask), which shares a name with the trades column (buy, sell, unknown). Each family also states rows_per_fact: one where global_sequence identifies a row, many here.
  • contract_version is 2.2.0 and partitioner_version 13 in the manifests the upgraded publisher writes.

What each side of the upgrade sees. As with 2.1.0, the publisher writes the family from the first hour it processes after it is upgraded, and an hour committed before keeps its manifest and its earlier contract_version: there the family’s absence means it was not published. The upgrade day’s files for the family begin at the first upgraded hour, on a whole-book group for every book, as every hour does.

Size. Over two production hours (2026-11-11, 03:00 and 04:00 UTC) the family is about 1.3 times book_snapshot_25’s bytes and six times its rows: 103 and 106 million rows and 1.13 and 1.17 GB of gzip an hour for the three exchanges published today. At that ratio a day is about 33 GB of gzip and 2.9 billion rows, which about doubles the dataset. A busy hour runs higher: a three-minute window at 14:30 UTC that day put the family at one and a half times the bytes and nearly nine times the rows. The busiest book of the two hours, BYBIT’s INIT/USDT:USDT, wrote 29 and 33 MB of gzip an hour.

2.1.0 — 2026-11-13 — Derivative readouts: funding rate, mark price and open interest, one row per fact

Three new families publish the derivative readouts the venues push: funding_rate, mark_price and open_interest. Each row is one reading as it arrived, in stream order, under the identity columns, key layout, manifests and gzip CSV rules every family shares: mark_price/OKX/2026-11-20/BTC-USDT_USDT.{sha12}.csv.gz is a day of one instrument’s mark prices. A family has rows only for instruments whose venue feed carries the readout: among the exchanges published today, the derivative contracts of BYBIT and OKX.

FamilyColumns after the identity columns
funding_raterate,funding_timestamp,interval_minutes,predicted_rate,next_funding_timestamp,settled_rate,settled_timestamp,min_rate,max_rate,premium,interest_rate,method,settlement_state
mark_pricemark_price
open_interestopen_interest
  • One row per reading, nothing merged. A row is what the venue pushed, not a change, so consecutive rows may be equal. Each family keeps its own clocks. A reader that wants one combined ticker joins the three as of global_sequence.
  • Rates have eight fractional digits: 0.00010000 is one basis point. The contract states that as scale on each rate column. A venue that publishes more digits reaches the stream cut at the eighth, toward zero. A positive rate means longs pay shorts. rate settles at funding_timestamp, the upcoming boundary.
  • A venue states only some funding fields. A field the fact does not carry is an empty cell: every column after funding_timestamp except method and settlement_state, which read unknown instead, as they do for a value this publisher does not recognise.
  • open_interest is in the instrument’s own size unit: contracts for an instrument sized in contracts, base units otherwise. Converting it takes the contract multiplier, which the instruments file does not carry.
  • Coverage. connector_disconnected covers these families as it covers every family of an exchange; they have no gap reason of their own, and book_unsynced never names them. A reading for an instrument id that has never been named is skipped into the existing unknown_instrument gap. A connector under a long publish stall drops readings as it drops trades, with nothing on the stream to mark it.

The column guide gives every column’s meaning, and the contract its type.

Nothing changes in the families a 2.0.0 reader knows. The key layout, columns and rows of trades, quotes and book_snapshot_25 are unchanged, and so are the gaps that name them. An unknown_instrument gap can now appear, or reach further, where the facts skipped for a never-named id are readings. A file’s compressed bytes, and so the digest in its key, are not promised across publisher revisions: an hour republished by this one can name new objects for the old families too, with the same rows. And an hour still fails as a whole when a frame of a published family cannot be decoded; a readout’s frame now counts among them. A manifest’s fields are unchanged apart from contract_version, now 2.1.0, and partitioner_version, now 12. A reader meets the new families as three more family values among a manifest’s files, and as new prefixes beside the old ones. One that reads only the families it asks for needs no change. One that refuses a family it does not know must learn these three, or skip them.

What each side of the upgrade sees. The publisher writes the new families from the first hour it processes after it is upgraded. An hour it committed before keeps its manifest, whose contract_version is 2.0.0, and holds none of the three. In such an hour their absence means they were not published, not that the venue sent nothing. The contract makes that mechanical: every family now states since, the first contract version whose manifests can list it, and an hour manifest of an earlier version predates the family. So the day of the upgrade closes with day files for the new families that hold only the upgraded hours, and no gap says why. A day manifest carries the version of the build that closed it, whatever its hours’: it names its 24 hour manifests under hours, and each one’s contract_version tells which side of the upgrade the hour is on. An earlier hour gains the families only if the publisher is made to republish it.

2.0.0 — 2026-10-24 — Keys a person can read: the date before the symbol, symbols that read as themselves, twelve digits of the digest

Every data, instrument and repair-index key changes shape. Manifest keys, file contents and columns do not. For the BTC/USDT trades of 2026-10-16 on BINANCE_SPOT:

Object1.1.02.0.0
Day filetrades/BINANCE_SPOT/BTC%2FUSDT/2026-10-16.{sha256}.csv.gztrades/BINANCE_SPOT/2026-10-16/BTC-USDT.{sha12}.csv.gz
Its 12:00 hourhourly/trades/BINANCE_SPOT/BTC%2FUSDT/2026-10-16/12.{sha256}.csv.gzhourly/trades/BINANCE_SPOT/2026-10-16/12/BTC-USDT.{sha12}.csv.gz
Day instrumentsinstruments/BINANCE_SPOT/2026-10-16.{sha256}.csvinstruments/BINANCE_SPOT/2026-10-16.{sha12}.csv
Day repair indexmetadata/days/BINANCE_SPOT/2026-10-16-{sha256}.json.gzmetadata/days/BINANCE_SPOT/2026-10-16.{sha12}.json.gz
  • The date comes before the symbol, and an hour is a directory. A day’s files list under one prefix per family, trades/BINANCE_SPOT/2026-10-16/, beside that day’s manifests.
  • Symbols read as themselves. A readable symbol, one matching the contract’s key_parts.readable_symbol pattern (a base and a quote, each one or more ASCII letters or digits, joined by one /, then optionally : and one or more ASCII letters, digits or -), writes / as - and : as _: BTC-USDT, AAVE-USD_USD-20310704. Any other symbol percent-encodes every UTF-8 byte that is not an ASCII letter or digit, now - and _ too, which 1.1.0 left literal: BTC-PERP/USDT is BTC%2DPERP%2FUSDT. Only a readable spelling contains -, so no two symbols share a key. CSV cells keep the canonical symbol.
  • Keys carry the first 12 hex digits of the object’s SHA-256 instead of all 64. The manifest naming each key still carries the full digest: verify that one. Dictionary keys keep all 64.
  • contract_version is 2.0.0, and a manifest without one is refused. A day manifest no longer carries an inline parts list: parts_index is its only repair index.
  • A manifest lists its files in key order, and a day’s parts_index lists its parts by day_key, then hour_key. The contract now states the order.

A reader that takes keys from manifests follows the new keys as they are, once it makes the three changes every 1.1.0 reader needs: it accepts contract major version 2, refuses a manifest without contract_version (which 1.1.0 read as 1.0.0), and reads a day’s repair index from parts_index alone, since a day manifest no longer carries parts. One that builds keys moves to the layout in the column guide and the contract’s layout and key_parts.

A reader that turns a key back into its symbol changes its rule. 1.1.0 documented the symbol’s component as its percent encoding, so percent-decoding gave the symbol back; under 2.0.0 the same decoding silently returns BTC-USDT for BTC/USDT. Read a component by this rule instead: one containing - is the readable spelling, whose first - is / and whose _ is :; any other component is percent-decoded.

Neither version reads the other’s destination. A 2.0.0 reader refuses any 1.x manifest it meets, by contract_version, and a 1.x reader refuses a 2.0.0 manifest the same way. Nothing migrates one layout into the other. The 2.0.0 publisher also refuses a 1.x destination at startup, before it publishes anything; its runbook states the check’s exact rule.

The roll is a wipe. Every destination starts fresh, and a 2.0.0 publisher is never pointed at a 1.x destination. No destination was ever deployed: only local and scratch outputs exist, and those are deleted, not migrated.

1.1.0 — initial release

Introduces trades, quotes and book_snapshot_25 in hourly and daily gzip CSV files, partitioned by sequencer consensus time. Exact decimals, nanosecond clocks, column order, nulls and coverage semantics are specified in the column guide. There is no previously released research-data contract to migrate.

Data, dictionary, instrument and repair-index keys include their SHA-256. Hour/day manifests are the publication commit and distinguish contract_version, partitioner_version (algorithm revision 11) and publisher_build. Readers verify named hashes, tolerate unknown additive fields and handle failed hours, partial days and scoped gaps.

Each hour reads the copy of every source segment that a majority of the cluster’s members attest, so an hour’s inputs can name an agreeing member’s preserved nodes/{m}/diverged/ copy when the shared copy is the minority. A minority copy, such as the one a rolling upgrade of the event codec leaves behind, no longer fails an hour. source_diverged now means that no copy has, or can still gain, a majority. Hours that revision 10 failed this way stay failed until repaired with --force. A failed hour whose read range contains a step back in consensus time carries sequencer_time_regression instead of decode_error.

Names are fixed per hour from prior known identity. Facts after instrument removal retain that name; only ids never named by event time are skipped. Pre-genesis/anchor intervals are explicit gaps. A purged book lookback alone does not discard retained hours; gaps stay inside their hour. Newly listed instruments accrue book gaps from their listing time, never before they existed. Exchange catalog records allow validation before a venue lists its first instrument. Book output emits again after resynchronization; unavailable sequences are empty. Connection coverage handles shutdowns and publisher replacement under ACTIVE_PASSIVE, with unknown states down. Revision 9 uses the same connection topology for checkpoint compaction and gap tracking. Publisher replacement is scoped to the app and exchange ID, so one exchange ID cannot clear another ID’s outage when both map to the same venue name. Previously committed hours are unchanged until explicitly repaired with --force. Additive marketdata versions preserve the existing projection and unknown templates are counted and skipped. Schema-floor and malformed-payload refusals remain terminal. Pre-release hours failed by the older strict version/template gate need an explicit --force repair. Sequencer envelopes also tolerate appended fields and preserve the original context prefix; truncated envelopes and invalid schema/template identities remain rejected. Trade id-type and side values unknown to this publisher, including wire nulls, render as unknown; known values retain their contract spelling. Forced repairs refused by terminal source checks preserve any existing hour commit and its day data. Revision 10 extends that protection to schema-floor and decoder refusals; the attempt still reports failure. An unpublished hour records a failed manifest.

Day manifests reference a compressed parts_index, retain semantic hour_contents, and pin instruments_dictionary for reuse without a dictionary download, and record directly superseded_objects as future cleanup candidates. Metadata-only hourly changes update provenance without rebuilding day data. Immutable keys preserve previously committed bytes through concurrent or interrupted publication. Automatic garbage collection is not included; whole-bucket expiry is unsafe.

Compatibility with pre-release plain dictionaries and inline day indexes is retained for local artifacts. These internal development formats were never a released consumer contract.