DineshKumar8399 commited on
Commit
8fbcf55
·
verified ·
1 Parent(s): 31fdea1

Daily build 2026-08-16

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-14**: `237,607,140` quote observations across
43
- `164,709` 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, ~131 MB):
76
 
77
  ```bash
78
- gh release download data-2026-08-15 --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-15` is reproducible: cite the
83
  tag and anyone can reconstruct the exact data you trained on. Latest build:
84
- **2026-08-15**.
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` | `237,607,140` | Book quotes for every tracked market, partitioned by date |
93
- | `markets.parquet` | `164,709` | One row per market: question text, category, coverage |
94
- | `labels.parquet` | `139,847` | Binary settlement outcomes, with a `source` column |
95
- | `watch_quotes.parquet` | `1,441,448` | 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 `131 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
- `237,607,140` 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 4,372 markets rather than 164,709. Note `last_traded` is itself 85.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" — 40,595
268
- markets (25%) carry an authoritative label, and they are **not a random 25%**.
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 161511
303
- politics 1132
304
- climate 917
305
- culture 755
306
- macro 142
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:085c21ce76e4d7ae775355a86e33f45d57bae9a94623b68f22dffa53c53c5c8e
3
- size 580698
 
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:31165c596ad1e925fee889c1018faef2e414ab53bf63a1dd1e85f6de4d83a15e
3
- size 2206325
 
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:54c45c4b67c025252a2ff07ceee01242870f4a47965601ef3abe33b9dba922bc
3
- size 4673543
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c8ae09a7c163d229b296a67a9745d841ca55835aa24c423cb3c5b4f18e1c5bc
3
+ size 4769494