Daily build 2026-08-16
Browse files- README.md +20 -20
- labels.parquet +2 -2
- markets.parquet +2 -2
- quotes/dt=2026-08-15/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` | `1,
|
| 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 4,
|
| 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,11 +299,11 @@ Markets by category:
|
|
| 299 |
|
| 300 |
```
|
| 301 |
category slugs
|
| 302 |
-
sports
|
| 303 |
-
politics
|
| 304 |
-
climate
|
| 305 |
-
culture
|
| 306 |
-
macro
|
| 307 |
technology 93
|
| 308 |
finance 82
|
| 309 |
crypto 51
|
|
|
|
| 39 |
# Polymarket Order Book Dataset
|
| 40 |
|
| 41 |
Order-book snapshots from a prediction market, collected continuously between
|
| 42 |
+
**2026-07-10** and **2026-08-15**: `246,331,456` quote observations across
|
| 43 |
+
`167,981` 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, ~135 MB):
|
| 76 |
|
| 77 |
```bash
|
| 78 |
+
gh release download data-2026-08-16 --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-16` is reproducible: cite the
|
| 83 |
tag and anyone can reconstruct the exact data you trained on. Latest build:
|
| 84 |
+
**2026-08-16**.
|
| 85 |
|
| 86 |
---
|
| 87 |
|
|
|
|
| 89 |
|
| 90 |
| File | Rows | What it is |
|
| 91 |
|---|---|---|
|
| 92 |
+
| `quotes/dt=YYYY-MM-DD/*.parquet` | `246,331,456` | Book quotes for every tracked market, partitioned by date |
|
| 93 |
+
| `markets.parquet` | `167,981` | One row per market: question text, category, coverage |
|
| 94 |
+
| `labels.parquet` | `141,975` | Binary settlement outcomes, with a `source` column |
|
| 95 |
+
| `watch_quotes.parquet` | `1,491,656` | 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 `135 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 |
+
`246,331,456` 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 4,551 markets rather than 167,981. Note `last_traded` is itself 84.8%
|
| 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" — 45,478
|
| 268 |
+
markets (27%) carry an authoritative label, and they are **not a random 27%**.
|
| 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 164249
|
| 303 |
+
politics 1443
|
| 304 |
+
climate 947
|
| 305 |
+
culture 936
|
| 306 |
+
macro 154
|
| 307 |
technology 93
|
| 308 |
finance 82
|
| 309 |
crypto 51
|
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:a5c80eccf95ce621fbb6babb34d51b087fb3e6895a3cdc4c61e23e5e2f40fec6
|
| 3 |
+
size 586771
|
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:9a93c8ddcd14067dd653ce4345ef2b8d6f36f6e5cf376cf2d60dc63ef94611ff
|
| 3 |
+
size 2247794
|
quotes/dt=2026-08-15/data_0.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7538a8671b53803e63e3e091ec04445af658da5edf6d1f6760477edc2adeaf6b
|
| 3 |
+
size 3707633
|
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:0c8ae09a7c163d229b296a67a9745d841ca55835aa24c423cb3c5b4f18e1c5bc
|
| 3 |
+
size 4769494
|