Daily build 2026-08-28
Browse files- README.md +20 -20
- labels.parquet +2 -2
- markets.parquet +2 -2
- quotes/dt=2026-08-27/data_0.parquet +3 -0
- watch_quotes.parquet +2 -2
README.md
CHANGED
|
@@ -39,8 +39,8 @@ configs:
|
|
| 39 |
# Polymarket Order Book Dataset
|
| 40 |
|
| 41 |
Order-book snapshots from a prediction market, collected continuously between
|
| 42 |
-
**2026-07-10** and **2026-08-
|
| 43 |
-
`
|
| 44 |
that records actual traded prices.
|
| 45 |
|
| 46 |
It is published so other people can build and train on it without first spending
|
|
@@ -72,16 +72,16 @@ import duckdb
|
|
| 72 |
duckdb.sql("SELECT * FROM 'polymarket-data/quotes/**/*.parquet' LIMIT 5").show()
|
| 73 |
```
|
| 74 |
|
| 75 |
-
**GitHub Releases** (a single dated tarball, ~
|
| 76 |
|
| 77 |
```bash
|
| 78 |
-
gh release download data-2026-08-
|
| 79 |
tar --zstd -xf polymarket-orderbook-*.tar.zst
|
| 80 |
```
|
| 81 |
|
| 82 |
-
Each release is a frozen snapshot, so `data-2026-08-
|
| 83 |
tag and anyone can reconstruct the exact data you trained on. Latest build:
|
| 84 |
-
**2026-08-
|
| 85 |
|
| 86 |
---
|
| 87 |
|
|
@@ -89,13 +89,13 @@ tag and anyone can reconstruct the exact data you trained on. Latest build:
|
|
| 89 |
|
| 90 |
| File | Rows | What it is |
|
| 91 |
|---|---|---|
|
| 92 |
-
| `quotes/dt=YYYY-MM-DD/*.parquet` | `
|
| 93 |
-
| `markets.parquet` | `
|
| 94 |
-
| `labels.parquet` | `
|
| 95 |
-
| `watch_quotes.parquet` | `2,
|
| 96 |
| `data_quality.parquet` | 7 | The known issues below, as queryable rows |
|
| 97 |
|
| 98 |
-
Total: about `
|
| 99 |
|
| 100 |
---
|
| 101 |
|
|
@@ -174,7 +174,7 @@ also the cost per unit of payoff.
|
|
| 174 |
| `first_ts` / `last_ts` | timestamp | Coverage window |
|
| 175 |
|
| 176 |
`question` is stored here rather than on every quote row — repeating it
|
| 177 |
-
`
|
| 178 |
|
| 179 |
### `labels.parquet`
|
| 180 |
|
|
@@ -252,7 +252,7 @@ has been **dropped rather than shipped as an empty column named `last`**.
|
|
| 252 |
|
| 253 |
If your question is "did this actually transact" — fill realism, execution
|
| 254 |
modelling, print-versus-quote — it is only answerable on `watch_quotes`, which
|
| 255 |
-
covers 5,
|
| 256 |
populated, not 100%.
|
| 257 |
|
| 258 |
### 4. Crossed books
|
|
@@ -264,8 +264,8 @@ your method is sensitive to it.
|
|
| 264 |
### 5. Labels are time-censored
|
| 265 |
|
| 266 |
Most `source = 'api'` labels come from a one-off backfill run on 2026-07-23/24.
|
| 267 |
-
So "has a label" correlates strongly with "settled before Jul 24" —
|
| 268 |
-
markets (
|
| 269 |
|
| 270 |
This bites hardest on walk-forward validation: naively splitting train/test on a
|
| 271 |
late date can leave you with an empty test set and a script that reports success
|
|
@@ -299,13 +299,13 @@ Markets by category:
|
|
| 299 |
|
| 300 |
```
|
| 301 |
category slugs
|
| 302 |
-
sports
|
| 303 |
-
politics
|
| 304 |
-
|
| 305 |
-
|
| 306 |
macro 154
|
| 307 |
technology 93
|
| 308 |
-
finance
|
| 309 |
crypto 51
|
| 310 |
science 14
|
| 311 |
geopolitics 14
|
|
|
|
| 39 |
# Polymarket Order Book Dataset
|
| 40 |
|
| 41 |
Order-book snapshots from a prediction market, collected continuously between
|
| 42 |
+
**2026-07-10** and **2026-08-27**: `347,645,386` quote observations across
|
| 43 |
+
`202,590` markets, plus settlement outcomes and a separate high-frequency feed
|
| 44 |
that records actual traded prices.
|
| 45 |
|
| 46 |
It is published so other people can build and train on it without first spending
|
|
|
|
| 72 |
duckdb.sql("SELECT * FROM 'polymarket-data/quotes/**/*.parquet' LIMIT 5").show()
|
| 73 |
```
|
| 74 |
|
| 75 |
+
**GitHub Releases** (a single dated tarball, ~176 MB):
|
| 76 |
|
| 77 |
```bash
|
| 78 |
+
gh release download data-2026-08-28 --repo DineshKumar8399/polymarket-orderbook-dataset
|
| 79 |
tar --zstd -xf polymarket-orderbook-*.tar.zst
|
| 80 |
```
|
| 81 |
|
| 82 |
+
Each release is a frozen snapshot, so `data-2026-08-28` is reproducible: cite the
|
| 83 |
tag and anyone can reconstruct the exact data you trained on. Latest build:
|
| 84 |
+
**2026-08-28**.
|
| 85 |
|
| 86 |
---
|
| 87 |
|
|
|
|
| 89 |
|
| 90 |
| File | Rows | What it is |
|
| 91 |
|---|---|---|
|
| 92 |
+
| `quotes/dt=YYYY-MM-DD/*.parquet` | `347,645,386` | Book quotes for every tracked market, partitioned by date |
|
| 93 |
+
| `markets.parquet` | `202,590` | One row per market: question text, category, coverage |
|
| 94 |
+
| `labels.parquet` | `158,380` | Binary settlement outcomes, with a `source` column |
|
| 95 |
+
| `watch_quotes.parquet` | `2,086,258` | High-frequency feed — **the only table with traded prices** |
|
| 96 |
| `data_quality.parquet` | 7 | The known issues below, as queryable rows |
|
| 97 |
|
| 98 |
+
Total: about `176 MB` of ZSTD-compressed Parquet.
|
| 99 |
|
| 100 |
---
|
| 101 |
|
|
|
|
| 174 |
| `first_ts` / `last_ts` | timestamp | Coverage window |
|
| 175 |
|
| 176 |
`question` is stored here rather than on every quote row — repeating it
|
| 177 |
+
`347,645,386` times is most of why the raw CSV was 32 GB.
|
| 178 |
|
| 179 |
### `labels.parquet`
|
| 180 |
|
|
|
|
| 252 |
|
| 253 |
If your question is "did this actually transact" — fill realism, execution
|
| 254 |
modelling, print-versus-quote — it is only answerable on `watch_quotes`, which
|
| 255 |
+
covers 5,826 markets rather than 202,590. Note `last_traded` is itself 83.3%
|
| 256 |
populated, not 100%.
|
| 257 |
|
| 258 |
### 4. Crossed books
|
|
|
|
| 264 |
### 5. Labels are time-censored
|
| 265 |
|
| 266 |
Most `source = 'api'` labels come from a one-off backfill run on 2026-07-23/24.
|
| 267 |
+
So "has a label" correlates strongly with "settled before Jul 24" — 156,225
|
| 268 |
+
markets (77%) carry an authoritative label, and they are **not a random 77%**.
|
| 269 |
|
| 270 |
This bites hardest on walk-forward validation: naively splitting train/test on a
|
| 271 |
late date can leave you with an empty test set and a script that reports success
|
|
|
|
| 299 |
|
| 300 |
```
|
| 301 |
category slugs
|
| 302 |
+
sports 194578
|
| 303 |
+
politics 5281
|
| 304 |
+
culture 1243
|
| 305 |
+
climate 1072
|
| 306 |
macro 154
|
| 307 |
technology 93
|
| 308 |
+
finance 90
|
| 309 |
crypto 51
|
| 310 |
science 14
|
| 311 |
geopolitics 14
|
labels.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:514294690dd2a65b1cf489062d877860e125e8741c445a6345f18b77e9938c0a
|
| 3 |
+
size 619628
|
markets.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7dd2a0fa380efeb87f9122ed7e86ff4aa511397554d9461230c825346752aec8
|
| 3 |
+
size 2690538
|
quotes/dt=2026-08-27/data_0.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:311ed138efc58349b52154f4624978c990906df462816b72e2d6779cd5f85b53
|
| 3 |
+
size 3728840
|
watch_quotes.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ff043e3a17212ded4ce0f44e8554f1dc424d90c824dbf0d69ba52c3804a6004
|
| 3 |
+
size 6425723
|