Dataset Viewer
Auto-converted to Parquet Duplicate
token_id
string
period_start
date32
period_end
timestamp[us]
open
float64
high
float64
low
float64
close
float64
vwap
float64
volume_usd
float64
n_trades
unknown
n_buys
unknown
n_sells
unknown
100001007108037958511831509695844337905086917072976664769301948837173055638067
2025-08-27
2025-08-28T00:00:00
0.49
0.97
0.01
0.01
0.61561
83,015.840905
"4410"
"1296"
"3114"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-01
2025-03-02T00:00:00
0.47
0.48
0.39
0.44
0.430275
1,364.606539
"71"
"23"
"48"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-02
2025-03-03T00:00:00
0.46
0.63
0.45
0.63
0.525833
1,796.777363
"40"
"11"
"29"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-03
2025-03-04T00:00:00
0.63
0.66
0.59
0.6
0.617421
743.609663
"41"
"12"
"29"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-04
2025-03-05T00:00:00
0.59
0.6
0.59
0.6
0.59917
114.6488
"2"
"2"
"0"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-05
2025-03-06T00:00:00
0.6
0.6
0.59
0.59
0.59661
348.039996
"10"
"4"
"6"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-06
2025-03-07T00:00:00
0.58
0.58
0.58
0.58
0.58
30.172152
"3"
"1"
"2"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-07
2025-03-08T00:00:00
0.59
0.59
0.59
0.59
0.59
13.209999
"1"
"0"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-08
2025-03-09T00:00:00
0.56
0.6
0.56
0.58
0.5809
77.458598
"11"
"4"
"7"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-09
2025-03-10T00:00:00
0.6
0.6
0.59
0.6
0.598664
79.885098
"5"
"3"
"2"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-10
2025-03-11T00:00:00
0.6
0.6
0.6
0.6
0.6
49.849994
"7"
"4"
"3"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-11
2025-03-12T00:00:00
0.59
0.59
0.59
0.59
0.59
7.999997
"2"
"0"
"2"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-12
2025-03-13T00:00:00
0.59
0.59
0.59
0.59
0.59
19.999999
"1"
"0"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-13
2025-03-14T00:00:00
0.59
0.59
0.59
0.59
0.59
0.999999
"1"
"0"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-14
2025-03-15T00:00:00
0.59
0.59
0.58
0.58
0.58885
25.6142
"2"
"1"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-15
2025-03-16T00:00:00
0.6
0.6
0.58
0.58
0.598714
75.131398
"5"
"3"
"2"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-16
2025-03-17T00:00:00
0.57
0.57
0.57
0.57
0.57
11.4
"1"
"1"
"0"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-17
2025-03-18T00:00:00
0.59
0.59
0.59
0.59
0.59
3.949999
"2"
"0"
"2"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-18
2025-03-19T00:00:00
0.59
0.59
0.59
0.59
0.59
24.299999
"1"
"0"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-19
2025-03-20T00:00:00
0.59
0.59
0.58
0.58
0.588385
5.962799
"2"
"1"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-20
2025-03-21T00:00:00
0.59
0.79
0.59
0.72
0.591291
125,326.434956
"82"
"46"
"36"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-21
2025-03-22T00:00:00
0.65
0.67
0.64
0.66
0.657149
29.256793
"10"
"7"
"3"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-22
2025-03-23T00:00:00
0.72
0.73
0.690002
0.73
0.725847
257.570212
"3"
"1"
"2"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-23
2025-03-24T00:00:00
0.75
0.75
0.75
0.75
0.75
11.1
"1"
"1"
"0"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-24
2025-03-25T00:00:00
0.75
0.75
0.75
0.75
0.75
37.5
"4"
"2"
"2"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-25
2025-03-26T00:00:00
0.73
0.75
0.73
0.73
0.730241
498.224394
"7"
"4"
"3"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-26
2025-03-27T00:00:00
0.74
0.75
0.73
0.74
0.738656
110.054198
"6"
"5"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-27
2025-03-28T00:00:00
0.728923
0.728923
0.728923
0.728923
0.728923
507.4034
"1"
"1"
"0"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-29
2025-03-30T00:00:00
0.72
0.72
0.72
0.72
0.72
5.142857
"1"
"0"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-30
2025-03-31T00:00:00
0.74
0.74
0.74
0.74
0.74
0.999999
"1"
"0"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-03-31
2025-04-01T00:00:00
0.74
0.74
0.74
0.74
0.74
188.770015
"5"
"3"
"2"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-04-01
2025-04-02T00:00:00
0.74
0.81
0.74
0.81
0.801406
1,538.451807
"12"
"3"
"9"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-04-02
2025-04-03T00:00:00
0.8
0.8
0.8
0.8
0.8
25.984
"3"
"1"
"2"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-04-03
2025-04-04T00:00:00
0.8
0.81
0.8
0.81
0.809122
179.910689
"4"
"3"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-04-04
2025-04-05T00:00:00
0.81
0.82
0.81
0.82
0.817112
29.526314
"3"
"0"
"3"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-04-06
2025-04-07T00:00:00
0.82
0.82
0.8
0.8
0.809767
197.27631
"4"
"1"
"3"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-04-09
2025-04-10T00:00:00
0.8
0.8
0.8
0.8
0.8
5.328
"1"
"1"
"0"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-04-11
2025-04-12T00:00:00
0.8
0.8
0.8
0.8
0.8
126.328
"6"
"3"
"3"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-04-13
2025-04-14T00:00:00
0.79
0.83
0.79
0.829097
0.828459
560.082
"3"
"2"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-04-15
2025-04-16T00:00:00
0.85
0.85
0.85
0.85
0.85
343.895832
"4"
"1"
"3"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-04-18
2025-04-19T00:00:00
0.84
0.84
0.84
0.84
0.84
299.355
"2"
"0"
"2"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-04-20
2025-04-21T00:00:00
0.83
0.83
0.83
0.83
0.83
48.823529
"1"
"0"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-04-23
2025-04-24T00:00:00
0.85
0.85
0.85
0.85
0.85
110.5
"1"
"1"
"0"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-04-25
2025-04-26T00:00:00
0.84
0.84
0.84
0.84
0.84
75.7092
"1"
"1"
"0"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-04-26
2025-04-27T00:00:00
0.85
0.85
0.849999
0.85
0.85
602.414496
"5"
"4"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-04-28
2025-04-29T00:00:00
0.85
0.85
0.85
0.85
0.85
43.999996
"4"
"2"
"2"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-04-29
2025-04-30T00:00:00
0.83
0.83
0.83
0.83
0.83
95.0101
"1"
"1"
"0"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-04-30
2025-05-01T00:00:00
0.83
0.83
0.83
0.83
0.83
1.9256
"1"
"1"
"0"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-05-02
2025-05-03T00:00:00
0.84
0.84
0.84
0.84
0.84
199.999999
"1"
"0"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-05-03
2025-05-04T00:00:00
0.83
0.85
0.83
0.85
0.832207
51.311
"2"
"2"
"0"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-05-05
2025-05-06T00:00:00
0.82
0.826405
0.81
0.81
0.824662
675.400797
"5"
"1"
"4"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-05-06
2025-05-07T00:00:00
0.79
0.79
0.780633
0.780633
0.781196
166.126496
"2"
"1"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-05-07
2025-05-08T00:00:00
0.78
0.8
0.78
0.8
0.780153
262.1222
"3"
"2"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-05-08
2025-05-09T00:00:00
0.798589
0.798589
0.79
0.79
0.798517
570.769996
"3"
"1"
"2"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-05-10
2025-05-11T00:00:00
0.76
0.77
0.7
0.7
0.757056
429.290699
"7"
"3"
"4"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-05-11
2025-05-12T00:00:00
0.7
0.75
0.63
0.74
0.734491
40.782499
"5"
"2"
"3"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-05-12
2025-05-13T00:00:00
0.75
0.75
0.59
0.59
0.607295
91.658098
"5"
"2"
"3"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-05-14
2025-05-15T00:00:00
0.63
0.63
0.62
0.621623
0.621332
770.362
"4"
"1"
"3"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-05-15
2025-05-16T00:00:00
0.61
0.65
0.61
0.65
0.648018
31.5641
"4"
"2"
"2"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-05-16
2025-05-17T00:00:00
0.65
0.65
0.65
0.65
0.65
23.79
"3"
"3"
"0"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-05-17
2025-05-18T00:00:00
0.62
0.62
0.61
0.61
0.615559
17.609985
"3"
"0"
"3"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-05-18
2025-05-19T00:00:00
0.72
0.72
0.62
0.62
0.668231
10.77105
"3"
"1"
"2"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-05-19
2025-05-20T00:00:00
0.72
0.79
0.66
0.66
0.771882
1,182.179996
"10"
"7"
"3"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-05-20
2025-05-21T00:00:00
0.78
0.78
0.72
0.74
0.739809
29.512367
"4"
"1"
"3"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-05-22
2025-05-23T00:00:00
0.79
0.81
0.79
0.81
0.802902
58.6998
"2"
"2"
"0"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-05-23
2025-05-24T00:00:00
0.8
0.8
0.8
0.8
0.8
10
"1"
"0"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-05-25
2025-05-26T00:00:00
0.76
0.81
0.76
0.81
0.770417
9.599996
"3"
"2"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-05-26
2025-05-27T00:00:00
0.81
0.81
0.81
0.81
0.81
1.999996
"2"
"1"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-05-28
2025-05-29T00:00:00
0.81
0.81
0.78
0.78
0.809621
431.8197
"3"
"2"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-05-29
2025-05-30T00:00:00
0.78
0.78
0.7
0.7
0.754226
94.926999
"6"
"1"
"5"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-05-30
2025-05-31T00:00:00
0.7
0.7
0.7
0.7
0.7
4.2
"1"
"1"
"0"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-06-01
2025-06-02T00:00:00
0.7
0.73
0.7
0.73
0.727214
71.841798
"5"
"4"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-06-02
2025-06-03T00:00:00
0.73
0.73
0.73
0.73
0.73
1.999998
"2"
"1"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-06-05
2025-06-06T00:00:00
0.73
0.73
0.73
0.73
0.73
21.4693
"1"
"1"
"0"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-06-06
2025-06-07T00:00:00
0.68
0.85
0.68
0.85
0.74968
140.7655
"3"
"3"
"0"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-06-07
2025-06-08T00:00:00
0.82
0.82
0.81
0.81
0.810909
21.999996
"4"
"2"
"2"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-06-08
2025-06-09T00:00:00
0.83
0.83
0.83
0.83
0.83
3.999996
"2"
"1"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-06-09
2025-06-10T00:00:00
0.7
0.7
0.7
0.7
0.7
40.103
"2"
"0"
"2"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-06-10
2025-06-11T00:00:00
0.68
0.68
0.68
0.68
0.68
24.548
"1"
"1"
"0"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-06-11
2025-06-12T00:00:00
0.78
0.78
0.78
0.78
0.78
3.3852
"1"
"1"
"0"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-06-12
2025-06-13T00:00:00
0.73
0.73
0.73
0.73
0.73
12.7458
"1"
"1"
"0"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-06-16
2025-06-17T00:00:00
0.74
0.74
0.74
0.74
0.74
14.999995
"2"
"0"
"2"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-06-18
2025-06-19T00:00:00
0.71
0.71
0.68
0.71
0.682962
203.971196
"7"
"2"
"5"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-06-19
2025-06-20T00:00:00
0.62
0.77
0.59
0.77
0.637894
360.489068
"18"
"8"
"10"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-06-21
2025-06-22T00:00:00
0.78
0.78
0.73
0.73
0.751571
4.755103
"2"
"1"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-06-22
2025-06-23T00:00:00
0.72
0.73
0.72
0.72
0.724862
150.142857
"4"
"1"
"3"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-06-23
2025-06-24T00:00:00
0.74
0.77
0.74
0.77
0.756143
189.0162
"5"
"5"
"0"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-06-24
2025-06-25T00:00:00
0.74
0.77
0.73
0.73
0.758208
153.486361
"10"
"5"
"5"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-06-25
2025-06-26T00:00:00
0.72
0.76
0.72
0.76
0.751375
62.979192
"6"
"3"
"3"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-06-27
2025-06-28T00:00:00
0.7
0.7
0.7
0.7
0.7
9.275
"1"
"1"
"0"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-06-30
2025-07-01T00:00:00
0.77
0.78
0.77
0.78
0.778992
38.1778
"2"
"2"
"0"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-07-01
2025-07-02T00:00:00
0.78
0.84
0.7
0.7
0.798352
729.144697
"15"
"6"
"9"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-07-02
2025-07-03T00:00:00
0.76
0.83
0.72
0.72
0.77854
584.698596
"23"
"9"
"14"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-07-03
2025-07-04T00:00:00
0.73
0.81
0.73
0.78
0.78415
154.099
"10"
"6"
"4"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-07-05
2025-07-06T00:00:00
0.77
0.8
0.76
0.791726
0.779281
745.0214
"10"
"6"
"4"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-07-06
2025-07-07T00:00:00
0.8
0.8
0.8
0.8
0.8
40
"2"
"1"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-07-08
2025-07-09T00:00:00
0.8
0.92
0.8
0.92
0.853413
478.1593
"9"
"4"
"5"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-07-09
2025-07-10T00:00:00
0.89
0.89
0.87
0.87
0.884272
702.7668
"8"
"3"
"5"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-07-11
2025-07-12T00:00:00
0.86
0.861813
0.86
0.861813
0.860998
181.699994
"4"
"3"
"1"
100001064789759849111858462853289243824713368947110110206392827401603750387620
2025-07-12
2025-07-13T00:00:00
0.87
0.88
0.87
0.88
0.87912
120.658
"3"
"3"
"0"
End of preview. Expand in Data Studio

Polymarket Quant Bench — OHLCV bars for high-liquidity resolved markets

A teaching-grade derivative of the Polymarket on-chain trade history, designed for indicator-engineering and walk-forward back-testing assignments. Polymarket is a decentralised prediction market on the Polygon blockchain; binary contracts settle to one USDC if the underlying event occurs and zero otherwise.

This release replaces the per-trade fill stream of the upstream dataset with per-token OHLCV bars at hourly and daily resolution, restricted to high-liquidity resolved markets so every market has a known outcome for P&L scoring and enough depth for rolling indicators.

Contents

File group Rows Description
polymarket/markets/markets_*.parquet 36,831 One row per resolved market with cumulative volume >= $100,000 and >= 200 on-chain trade fills. Full upstream schema plus a category column.
polymarket/bars_hourly/bars_*.parquet 12,655,266 One row per (token_id, calendar hour) with OHLCV plus trade and direction counts.
polymarket/bars_daily/bars_*.parquet 1,462,282 One row per (token_id, calendar day), aggregated from the hourly bars.

Each file group is chunked into 10,000-row parquet shards.

Provenance and attribution

The raw market metadata and trade events were collected and released by Jon Becker at https://github.com/jon-becker/prediction-market-analysis. This dataset is a derivative: market metadata is restricted to the filter described below and trades are aggregated into OHLCV bars. If you use this dataset, please also cite Jon Becker's release.

How prices are computed

Each on-chain OrderFilled event swaps USDC for an outcome token (or vice versa). Both assets use 6 decimals, so the raw atomic ratio of USDC to token quantity is already a dimensionless probability in [0, 1] -- the price the Polymarket UI shows in cents-per-dollar.

For each trade t:

if t.maker_asset_id == '0':       # maker delivered USDC, taker delivered tokens
    usdc_amount  = t.maker_amount
    token_amount = t.taker_amount
    taker_is_seller = True            # taker handed over tokens -> sold
else:                                  # maker delivered tokens, taker delivered USDC
    usdc_amount  = t.taker_amount
    token_amount = t.maker_amount
    taker_is_seller = False           # taker handed over USDC -> bought

price       = usdc_amount / token_amount             # in [0, 1]
volume_usd  = usdc_amount / 1e6                      # in USD
signed_size = (-1 if taker_is_seller else +1) * token_amount / 1e6

price is the implied probability of the outcome the token represents.

How bars are aggregated

For each (token_id, bar_period) group:

Field Formula
open price of the first trade in the bar (ordered by block_number, log_index)
high MAX(price)
low MIN(price)
close price of the last trade
vwap SUM(price * volume_usd) / SUM(volume_usd)
volume_usd SUM(volume_usd)
n_trades total fills in the bar
n_buys / n_sells fills where the taker bought / sold outcome tokens

Bars are emitted only when at least one trade occurred in the period (sparse representation). Use tidyr::fill() or data.table::nafill() to forward-fill if a dense series is required by your indicator.

The hour boundary is defined by block_number // 1800 (Polygon ~2 s per block; 1 800 blocks = 1 hour). Wall-clock period_start is attached post-aggregation by looking up the first block of each hour in the blocks-timestamp index and extrapolating forward at 2 seconds per block.

Bars are emitted per token rather than per market. A Polymarket market has two complementary tokens (YES and NO); the markets table exposes both via clob_token_ids. If you want a single market-level mid-price series, pair the two token series yourself.

Filter applied to upstream markets

A market is included iff all of the following hold:

  1. The market is resolved (one outcome price closed above 0.99 in the upstream snapshot).
  2. Cumulative trading volume >= $100,000 -- removes the long tail of dust markets.
  3. At least 200 on-chain trade fills -- ensures enough depth to compute rolling indicators meaningfully.

This intentionally trades coverage for per-market depth. About 36,831 markets remain out of the ~409 k in the upstream snapshot.

Schemas

markets/markets_*.parquet

Upstream columns from Jon Becker's release plus category. Notable ones:

column type description
id string Polymarket market id (primary key).
condition_id string Parent CTF condition id.
question string The question prompt.
slug string URL slug.
outcomes string JSON outcome labels, e.g. ["Yes","No"].
outcome_prices string JSON outcome prices at snapshot time. The winning outcome closes near 1.
clob_token_ids string JSON [yes_token_id, no_token_id]. Use to join bars to a market.
volume double Cumulative USDC traded.
liquidity double Snapshot depth.
end_date timestamp Useful as resolution_date for held-out cohorts.
created_at timestamp Market creation.
category string Best-effort topic label. Use cautiously.

bars_hourly/bars_*.parquet and bars_daily/bars_*.parquet

column type description
token_id string CTF outcome-token id.
period_start timestamp Bar start, UTC.
period_end timestamp period_start + 1 hour (or + 1 day).
open / high / low / close double Implied probability in [0, 1].
vwap double Volume-weighted average price.
volume_usd double Total USDC traded in the bar.
n_trades int64 Number of OrderFilled events in the bar.
n_buys / n_sells int64 Taker-side direction counts.

Quick start in R

Setup

install.packages(c("arrow", "dplyr", "jsonlite", "lubridate", "slider",
                   "TTR", "PerformanceAnalytics", "glmnet"))
library(arrow)
library(dplyr)
library(slider)

Build a per-token feature frame

markets <- open_dataset("polymarket/markets/")
bars    <- open_dataset("polymarket/bars_hourly/")

# Pick a large market and grab its YES token id.
m <- markets %>% filter(volume > 1e6) %>% head(1) %>% collect()
yes_token_id <- jsonlite::fromJSON(m$clob_token_ids)[1]

ts <- bars %>%
  filter(token_id == yes_token_id) %>%
  collect() %>%
  arrange(period_start) %>%
  mutate(
    sma_24h = slide_dbl(close, mean, .before = 24, .complete = TRUE),
    ema_24h = TTR::EMA(close, n = 24),
    ret_1h  = log(close / lag(close)),
    rsi_14  = TTR::RSI(close, n = 14),
    boll    = TTR::BBands(close, n = 20, sd = 2)[, "pctB"],
    days_to_resolution = as.numeric(difftime(m$end_date, period_start, units = "days"))
  )

Walk-forward elastic net + back-test

library(glmnet)
library(PerformanceAnalytics)

fit    <- cv.glmnet(X_train, y_train, alpha = 0.5)
signal <- predict(fit, newx = X_test, s = "lambda.min")

# 1% per-trade cost, threshold-based position.
pos <- sign(signal) * (abs(signal) > threshold)
ret <- pos * y_test - 0.01 * abs(diff(c(0, pos)))
charts.PerformanceSummary(ret)

Streaming via the HuggingFace datasets library

from datasets import load_dataset
markets     = load_dataset("smf-ulm/polymarket-quant-bench", "markets",     split="train")
bars_hourly = load_dataset("smf-ulm/polymarket-quant-bench", "bars_hourly", split="train", streaming=True)
bars_daily  = load_dataset("smf-ulm/polymarket-quant-bench", "bars_daily",  split="train")

License

CC-BY-4.0. Please cite both this release and Jon Becker's upstream repository.

Citation

@misc{polymarket_quant_bench_2026,
  author       = {Padmaperuma, Oliver},
  title        = {Polymarket Quant Bench: OHLCV bars for high-liquidity resolved markets},
  year         = {2026},
  howpublished = {HuggingFace dataset, smf-ulm/polymarket-quant-bench},
  note         = {Derived from Jon Becker's polymarket-data release at
                  \url{https://github.com/jbecker19/polymarket-data}}
}
Downloads last month
21