Full order book

Every change of every level of every token, with the trades in arrival order beside them — the recorder's own event log, nothing sampled away. A full-book checkpoint opens every five-minute block, so a file can be read from its start or from any boundary.

book-maxL2one row per event

Whole hours as probe, and one market's UTC day as parquet, csv.

In requests today this is book_full, which stays as an alias of book-max.

The common header, on every row before the columns below.

ColumnTypeWhat it is
recv_nsint64When our recorder received the message, nanoseconds since the epoch. Recorded to the microsecond; the clock is synced to within a millisecond.
venue_nsint64The venue's own timestamp, nanoseconds since the epoch. Polymarket sends milliseconds.
venuestringpolymarket
token_idstringThe outcome token, as a decimal string.
seqint64Arrival order within the file. Apply rows in this order; never re-sort by time.
qualuint16Quality bits: END, CKPT, MIRROR, UNSYNCED, AFTER_GAP, CHAIN_ONLY.

Then its own:

ColumnTypeWhat it is
opstringsnap (a checkpoint level), set (a level now has this size; size 0 removes it), trade.
sideint80 bid, 1 ask. For a trade, the aggressor.
price, sizedecimalThe level's price, and the size now resting at it. A trade row carries the trade's own.
levelint16The level's position on its side after the change; 0 is best.

Rows with CKPT set and the same recv_ns are a token's whole book: replace the book you hold. The book at time T is every row applied in seq order up to the first with recv_ns greater than T.

Every listing carries a schema.json stating the columns, units and clocks for the files beside it. Where this page and that file disagree, that file is right. All schemas