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.
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 likedictionary/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_versionis2.4.0in the manifests this publisher writes, andpartitioner_versionstays14: the same source hour yields the same bytes. publication.day_freshnessasks 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.
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_versionis2.3.0andpartitioner_version14in 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.
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:
- Every whole-book group starts its book afresh, also one that follows another with no
delta between them: a run ends where
global_sequencechanges, not only whereis_snapshotdoes. A reader that discards its book only whenis_snapshotturns 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
sideis the one row of a whole-book group for a book that holds no level, withpriceandamountempty 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_unsyncedgap 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
pricecan be a key. row_reasonmarks every row no delta on the stream carried:restatedfor a whole book the stream restated and that was unknown or changed,checkpointfor the publisher’s own whole-book image at the start of each hour,windowfor a removal a venue’s depth window implies. It is empty on a level a delta carried, so the rows with an emptyrow_reasonare 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_sequenceis 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
familyvalue among a manifest’sfiles, and a new prefix beside the old ones. The key layout, columns and rows of the six existing families are unchanged.book_snapshot_25stays: it is the ready-made top of book, and the two families agree at every row. - Each
book_unsyncedgap 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_snapshotis aboolean,trueorfalse.row_reasonandsideareoptional_enum: empty, or one of the column’svalues. A column’svaluesare its enum, for the four enum columns that were there before as for these two. Theenumstable stays as it was, repeating those four columns’ values by column name; it does not describe this family’sside(bid,ask), which shares a name with thetradescolumn (buy,sell,unknown). Each family also statesrows_per_fact:onewhereglobal_sequenceidentifies a row,manyhere. contract_versionis2.2.0andpartitioner_version13in 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.
- 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.00010000is one basis point. The contract states that asscaleon 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.ratesettles atfunding_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_timestampexceptmethodandsettlement_state, which readunknowninstead, as they do for a value this publisher does not recognise. open_interestis 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_disconnectedcovers these families as it covers every family of an exchange; they have no gap reason of their own, andbook_unsyncednever names them. A reading for an instrument id that has never been named is skipped into the existingunknown_instrumentgap. 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:
- 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_symbolpattern (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/USDTisBTC%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_versionis2.0.0, and a manifest without one is refused. A day manifest no longer carries an inlinepartslist:parts_indexis its only repair index.- A manifest lists its files in key order, and a day’s
parts_indexlists its parts byday_key, thenhour_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.