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.
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.
| Column | Type | What it is |
|---|---|---|
recv_ns | int64 | When our recorder received the message, nanoseconds since the epoch. Recorded to the microsecond; the clock is synced to within a millisecond. |
venue_ns | int64 | The venue's own timestamp, nanoseconds since the epoch. Polymarket sends milliseconds. |
venue | string | polymarket |
token_id | string | The outcome token, as a decimal string. |
seq | int64 | Arrival order within the file. Apply rows in this order; never re-sort by time. |
qual | uint16 | Quality bits: END, CKPT, MIRROR, UNSYNCED, AFTER_GAP, CHAIN_ONLY. |
Then its own:
| Column | Type | What it is |
|---|---|---|
op | string | snap (a checkpoint level), set (a level now has this size; size 0 removes it), trade. |
side | int8 | 0 bid, 1 ask. For a trade, the aggressor. |
price, size | decimal | The level's price, and the size now resting at it. A trade row carries the trade's own. |
level | int16 | The 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