DineshKumar8399 commited on
Commit
afe0e45
·
verified ·
1 Parent(s): 0a68bc3

Daily build 2026-08-24

Browse files
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-22**: `307,493,410` quote observations across
43
- `175,808` 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,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, ~160 MB):
76
 
77
  ```bash
78
- gh release download data-2026-08-23 --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-23` is reproducible: cite the
83
  tag and anyone can reconstruct the exact data you trained on. Latest build:
84
- **2026-08-23**.
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` | `307,493,410` | Book quotes for every tracked market, partitioned by date |
93
- | `markets.parquet` | `175,808` | One row per market: question text, category, coverage |
94
- | `labels.parquet` | `156,198` | Binary settlement outcomes, with a `source` column |
95
- | `watch_quotes.parquet` | `1,841,883` | 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 `160 MB` of ZSTD-compressed Parquet.
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
- `307,493,410` times is most of why the raw CSV was 32 GB.
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,311 markets rather than 175,808. Note `last_traded` is itself 83.6%
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" — 151,655
268
- markets (86%) carry an authoritative label, and they are **not a random 86%**.
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,9 +299,9 @@ Markets by category:
299
 
300
  ```
301
  category slugs
302
- sports 171308
303
- politics 2124
304
- culture 993
305
  climate 977
306
  macro 154
307
  technology 93
 
39
  # Polymarket Order Book Dataset
40
 
41
  Order-book snapshots from a prediction market, collected continuously between
42
+ **2026-07-10** and **2026-08-23**: `316,243,312` quote observations across
43
+ `177,095` 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, ~163 MB):
76
 
77
  ```bash
78
+ gh release download data-2026-08-24 --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-24` is reproducible: cite the
83
  tag and anyone can reconstruct the exact data you trained on. Latest build:
84
+ **2026-08-24**.
85
 
86
  ---
87
 
 
89
 
90
  | File | Rows | What it is |
91
  |---|---|---|
92
+ | `quotes/dt=YYYY-MM-DD/*.parquet` | `316,243,312` | Book quotes for every tracked market, partitioned by date |
93
+ | `markets.parquet` | `177,095` | One row per market: question text, category, coverage |
94
+ | `labels.parquet` | `157,328` | Binary settlement outcomes, with a `source` column |
95
+ | `watch_quotes.parquet` | `1,891,971` | 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 `163 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
+ `316,243,312` 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,415 markets rather than 177,095. Note `last_traded` is itself 83.7%
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" — 155,179
268
+ markets (88%) carry an authoritative label, and they are **not a random 88%**.
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 172148
303
+ politics 2565
304
+ culture 999
305
  climate 977
306
  macro 154
307
  technology 93
labels.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:33bc1893bd8cf97aab2eaadf04d478d6895f658d2e4bb5b85424d582e4af3a4c
3
- size 612477
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc88f66cac16a76ecf87da2e3d57fffeecf08737cf79b9939f464dca4cd5af02
3
+ size 613097
markets.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b9b054051d94afb196d2693d59b6206bec44b0afc171e955b736b8c6f1e3dc50
3
- size 2353369
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b81c3cf821272ff86200e9cbe64a47ad5ce2625691b654a31b8b42e90e0d082
3
+ size 2368520
quotes/dt=2026-08-23/data_0.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:757b67bc43be427b53107898392d76de8bb7dca3b516c057496b1c13f2660c78
3
+ size 2513129
watch_quotes.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f378e3d53fc5d20f937bccc5e5dfd3aad16ae65131da547705ffcf5bf485de73
3
- size 5929357
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6085e287a2b1f1b45b1dca82378163dd2a05c88276ba965738b3890642bcbed
3
+ size 6088727