GregM commited on
Commit
55af6ba
·
verified ·
1 Parent(s): c19c31f

Publish initial CFTC COT dataset

Browse files
.gitattributes CHANGED
@@ -1,60 +1 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.avro filter=lfs diff=lfs merge=lfs -text
4
- *.bin filter=lfs diff=lfs merge=lfs -text
5
- *.bz2 filter=lfs diff=lfs merge=lfs -text
6
- *.ckpt filter=lfs diff=lfs merge=lfs -text
7
- *.ftz filter=lfs diff=lfs merge=lfs -text
8
- *.gz filter=lfs diff=lfs merge=lfs -text
9
- *.h5 filter=lfs diff=lfs merge=lfs -text
10
- *.joblib filter=lfs diff=lfs merge=lfs -text
11
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
12
- *.lz4 filter=lfs diff=lfs merge=lfs -text
13
- *.mds filter=lfs diff=lfs merge=lfs -text
14
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
15
- *.model filter=lfs diff=lfs merge=lfs -text
16
- *.msgpack filter=lfs diff=lfs merge=lfs -text
17
- *.npy filter=lfs diff=lfs merge=lfs -text
18
- *.npz filter=lfs diff=lfs merge=lfs -text
19
- *.onnx filter=lfs diff=lfs merge=lfs -text
20
- *.ot filter=lfs diff=lfs merge=lfs -text
21
  *.parquet filter=lfs diff=lfs merge=lfs -text
22
- *.pb filter=lfs diff=lfs merge=lfs -text
23
- *.pickle filter=lfs diff=lfs merge=lfs -text
24
- *.pkl filter=lfs diff=lfs merge=lfs -text
25
- *.pt filter=lfs diff=lfs merge=lfs -text
26
- *.pth filter=lfs diff=lfs merge=lfs -text
27
- *.rar filter=lfs diff=lfs merge=lfs -text
28
- *.safetensors filter=lfs diff=lfs merge=lfs -text
29
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
- *.tar.* filter=lfs diff=lfs merge=lfs -text
31
- *.tar filter=lfs diff=lfs merge=lfs -text
32
- *.tflite filter=lfs diff=lfs merge=lfs -text
33
- *.tgz filter=lfs diff=lfs merge=lfs -text
34
- *.wasm filter=lfs diff=lfs merge=lfs -text
35
- *.xz filter=lfs diff=lfs merge=lfs -text
36
- *.zip filter=lfs diff=lfs merge=lfs -text
37
- *.zst filter=lfs diff=lfs merge=lfs -text
38
- *tfevents* filter=lfs diff=lfs merge=lfs -text
39
- # Audio files - uncompressed
40
- *.pcm filter=lfs diff=lfs merge=lfs -text
41
- *.sam filter=lfs diff=lfs merge=lfs -text
42
- *.raw filter=lfs diff=lfs merge=lfs -text
43
- # Audio files - compressed
44
- *.aac filter=lfs diff=lfs merge=lfs -text
45
- *.flac filter=lfs diff=lfs merge=lfs -text
46
- *.mp3 filter=lfs diff=lfs merge=lfs -text
47
- *.ogg filter=lfs diff=lfs merge=lfs -text
48
- *.wav filter=lfs diff=lfs merge=lfs -text
49
- # Image files - uncompressed
50
- *.bmp filter=lfs diff=lfs merge=lfs -text
51
- *.gif filter=lfs diff=lfs merge=lfs -text
52
- *.png filter=lfs diff=lfs merge=lfs -text
53
- *.tiff filter=lfs diff=lfs merge=lfs -text
54
- # Image files - compressed
55
- *.jpg filter=lfs diff=lfs merge=lfs -text
56
- *.jpeg filter=lfs diff=lfs merge=lfs -text
57
- *.webp filter=lfs diff=lfs merge=lfs -text
58
- # Video files - compressed
59
- *.mp4 filter=lfs diff=lfs merge=lfs -text
60
- *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  *.parquet filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
LATEST_DATE.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 2026-05-05
LICENSE ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ Chainticks CFTC COT
2
+
3
+ Dataset license: Creative Commons Attribution 4.0 International (CC BY 4.0).
4
+
5
+ You may share and adapt this dataset with attribution to Chainticks and a link to the Hugging Face dataset repository.
6
+
7
+ This dataset contains normalized factual records from public sources. Chainticks is not affiliated with the underlying protocols, relays, venues, or agencies.
README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ pretty_name: Chainticks CFTC COT
4
+ tags:
5
+ - finance
6
+ - crypto
7
+ - parquet
8
+ - duckdb
9
+ - pandas
10
+ - polars
11
+ - agent-friendly
12
+ ---
13
+
14
+ # Chainticks CFTC COT
15
+
16
+ Normalized CFTC Commitments of Traders legacy futures rows from public-domain CFTC archives.
17
+
18
+ ```python
19
+ import pandas as pd
20
+
21
+ DATE = "YYYY-MM-DD"
22
+ URL = "https://huggingface.co/datasets/Chainticks/cftc-cot/resolve/main/legacy_futures/date={DATE}/part-0000.parquet"
23
+ df = pd.read_parquet(URL)
24
+ print(df.head())
25
+ ```
26
+
27
+ ## Layout
28
+
29
+ ```
30
+ legacy_futures/date=YYYY-MM-DD/part-0000.parquet
31
+ _schema.json
32
+ _manifest.json
33
+ LATEST_DATE.txt
34
+ ```
35
+
36
+ ## Provenance
37
+
38
+ Rows must have `source_kind` in `['public_domain']`. Chainticks does not publish venue REST/API resale data in this dataset.
39
+
40
+ ## Agent Prompt Snippet
41
+
42
+ Use this dataset as append-only market context. Read `LATEST_DATE.txt`, inspect `_schema.json`, then load the relevant Parquet partition. Treat timestamps as UTC and preserve `source_kind` in downstream analysis.
43
+
44
+ ## Affiliation
45
+
46
+ Chainticks is independent and is not affiliated with the protocols, relays, venues, or government agencies represented by the data.
_manifest.json ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "cftc-cot",
3
+ "files": [
4
+ "legacy_futures/date=2026-01-06/part-0000.parquet",
5
+ "legacy_futures/date=2026-01-13/part-0000.parquet",
6
+ "legacy_futures/date=2026-01-20/part-0000.parquet",
7
+ "legacy_futures/date=2026-01-27/part-0000.parquet",
8
+ "legacy_futures/date=2026-02-03/part-0000.parquet",
9
+ "legacy_futures/date=2026-02-10/part-0000.parquet",
10
+ "legacy_futures/date=2026-02-17/part-0000.parquet",
11
+ "legacy_futures/date=2026-02-24/part-0000.parquet",
12
+ "legacy_futures/date=2026-03-03/part-0000.parquet",
13
+ "legacy_futures/date=2026-03-10/part-0000.parquet",
14
+ "legacy_futures/date=2026-03-17/part-0000.parquet",
15
+ "legacy_futures/date=2026-03-24/part-0000.parquet",
16
+ "legacy_futures/date=2026-03-31/part-0000.parquet",
17
+ "legacy_futures/date=2026-04-07/part-0000.parquet",
18
+ "legacy_futures/date=2026-04-14/part-0000.parquet",
19
+ "legacy_futures/date=2026-04-21/part-0000.parquet",
20
+ "legacy_futures/date=2026-04-28/part-0000.parquet",
21
+ "legacy_futures/date=2026-05-05/part-0000.parquet"
22
+ ],
23
+ "generated_at": "2026-05-11T08:58:41.257115+00:00",
24
+ "public_source_kinds": [
25
+ "public_domain"
26
+ ],
27
+ "repo_id": "Chainticks/cftc-cot",
28
+ "row_counts": {
29
+ "legacy_futures/2026-01-06": 334,
30
+ "legacy_futures/2026-01-13": 355,
31
+ "legacy_futures/2026-01-20": 353,
32
+ "legacy_futures/2026-01-27": 363,
33
+ "legacy_futures/2026-02-03": 353,
34
+ "legacy_futures/2026-02-10": 350,
35
+ "legacy_futures/2026-02-17": 349,
36
+ "legacy_futures/2026-02-24": 358,
37
+ "legacy_futures/2026-03-03": 356,
38
+ "legacy_futures/2026-03-10": 345,
39
+ "legacy_futures/2026-03-17": 350,
40
+ "legacy_futures/2026-03-24": 354,
41
+ "legacy_futures/2026-03-31": 360,
42
+ "legacy_futures/2026-04-07": 347,
43
+ "legacy_futures/2026-04-14": 353,
44
+ "legacy_futures/2026-04-21": 359,
45
+ "legacy_futures/2026-04-28": 365,
46
+ "legacy_futures/2026-05-05": 360
47
+ },
48
+ "time_ranges": {
49
+ "legacy_futures/2026-01-06": {
50
+ "end": "2026-01-06",
51
+ "start": "2026-01-06",
52
+ "timezone": "UTC"
53
+ },
54
+ "legacy_futures/2026-01-13": {
55
+ "end": "2026-01-13",
56
+ "start": "2026-01-13",
57
+ "timezone": "UTC"
58
+ },
59
+ "legacy_futures/2026-01-20": {
60
+ "end": "2026-01-20",
61
+ "start": "2026-01-20",
62
+ "timezone": "UTC"
63
+ },
64
+ "legacy_futures/2026-01-27": {
65
+ "end": "2026-01-27",
66
+ "start": "2026-01-27",
67
+ "timezone": "UTC"
68
+ },
69
+ "legacy_futures/2026-02-03": {
70
+ "end": "2026-02-03",
71
+ "start": "2026-02-03",
72
+ "timezone": "UTC"
73
+ },
74
+ "legacy_futures/2026-02-10": {
75
+ "end": "2026-02-10",
76
+ "start": "2026-02-10",
77
+ "timezone": "UTC"
78
+ },
79
+ "legacy_futures/2026-02-17": {
80
+ "end": "2026-02-17",
81
+ "start": "2026-02-17",
82
+ "timezone": "UTC"
83
+ },
84
+ "legacy_futures/2026-02-24": {
85
+ "end": "2026-02-24",
86
+ "start": "2026-02-24",
87
+ "timezone": "UTC"
88
+ },
89
+ "legacy_futures/2026-03-03": {
90
+ "end": "2026-03-03",
91
+ "start": "2026-03-03",
92
+ "timezone": "UTC"
93
+ },
94
+ "legacy_futures/2026-03-10": {
95
+ "end": "2026-03-10",
96
+ "start": "2026-03-10",
97
+ "timezone": "UTC"
98
+ },
99
+ "legacy_futures/2026-03-17": {
100
+ "end": "2026-03-17",
101
+ "start": "2026-03-17",
102
+ "timezone": "UTC"
103
+ },
104
+ "legacy_futures/2026-03-24": {
105
+ "end": "2026-03-24",
106
+ "start": "2026-03-24",
107
+ "timezone": "UTC"
108
+ },
109
+ "legacy_futures/2026-03-31": {
110
+ "end": "2026-03-31",
111
+ "start": "2026-03-31",
112
+ "timezone": "UTC"
113
+ },
114
+ "legacy_futures/2026-04-07": {
115
+ "end": "2026-04-07",
116
+ "start": "2026-04-07",
117
+ "timezone": "UTC"
118
+ },
119
+ "legacy_futures/2026-04-14": {
120
+ "end": "2026-04-14",
121
+ "start": "2026-04-14",
122
+ "timezone": "UTC"
123
+ },
124
+ "legacy_futures/2026-04-21": {
125
+ "end": "2026-04-21",
126
+ "start": "2026-04-21",
127
+ "timezone": "UTC"
128
+ },
129
+ "legacy_futures/2026-04-28": {
130
+ "end": "2026-04-28",
131
+ "start": "2026-04-28",
132
+ "timezone": "UTC"
133
+ },
134
+ "legacy_futures/2026-05-05": {
135
+ "end": "2026-05-05",
136
+ "start": "2026-05-05",
137
+ "timezone": "UTC"
138
+ }
139
+ }
140
+ }
_schema.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "allowed_source_kinds": [
3
+ "public_domain"
4
+ ],
5
+ "dataset": "cftc-cot",
6
+ "dataset_name": "legacy_futures",
7
+ "license": "CC-BY-4.0",
8
+ "partitioning": "legacy_futures/date=YYYY-MM-DD/part-XXXX.parquet",
9
+ "repo_id": "Chainticks/cftc-cot"
10
+ }
examples/quickstart.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ import pandas as pd
2
+
3
+ date = "YYYY-MM-DD"
4
+ url = "https://huggingface.co/datasets/Chainticks/cftc-cot/resolve/main/legacy_futures/date={date}/part-0000.parquet"
5
+ df = pd.read_parquet(url)
6
+ print(df.head())
legacy_futures/date=2026-01-06/part-0000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e4c60967e64d7a142c60b6fbdc68384112c7bdb49318e5e838b81c0b772db0c
3
+ size 156337
legacy_futures/date=2026-01-13/part-0000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4dcfb90cb1281a925152b09babad6bd9f48a2bbf3525d02c9558fd4424c25bdf
3
+ size 160511
legacy_futures/date=2026-01-20/part-0000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f66c92867cfd3cee2720b52ae50404b659557df13a084d83b19027f0815caced
3
+ size 159935
legacy_futures/date=2026-01-27/part-0000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f540a0791e8415513152a045e6cf008c22b4f91312044eec311075defdefb077
3
+ size 163059
legacy_futures/date=2026-02-03/part-0000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5405499f1483e3c40262278267fd8e4c732dd55f4bab6f0b9f4a69cfcb3036c
3
+ size 161633
legacy_futures/date=2026-02-10/part-0000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4d92f2e2832a8c2c24a6dda9999530d79c47bd9945634cd9b3182a54b2475da
3
+ size 160817
legacy_futures/date=2026-02-17/part-0000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a20260d496daf770bb7c88a949b8ab60dbb5b68e01a02940124b3244a5edcb1a
3
+ size 159098
legacy_futures/date=2026-02-24/part-0000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7699248fd9bd83491e083827d9b9f4fbb57f2b81d27e5cde2f50f7fad9d145c
3
+ size 161864
legacy_futures/date=2026-03-03/part-0000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5995d6a1f0b2d7c4c268fbe47718566fe310cc8cc7a48c7663e7922e6e8807c7
3
+ size 162143
legacy_futures/date=2026-03-10/part-0000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ca93db75d0852846b21358f64b31f9932dc0dd61e3c2baf1d8cda6aa8621486
3
+ size 159782
legacy_futures/date=2026-03-17/part-0000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b516c36baeb0ac106519646986b5ca37da2374166b7880bb82882b1788fc0472
3
+ size 159655
legacy_futures/date=2026-03-24/part-0000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:028da70a880de124056a9db0e482e6b6589bcd6b89d4790a3fb87ed71cf5820a
3
+ size 160934
legacy_futures/date=2026-03-31/part-0000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b31aed6301ba546c9f8b2463023ecd0f9bb6f733d679832f87dffe5f8f8c133
3
+ size 162600
legacy_futures/date=2026-04-07/part-0000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f5a74cb3702c8de0092550b6d1d20698a4d5f788b6d9a00fca3bdc8675be7fe
3
+ size 159813
legacy_futures/date=2026-04-14/part-0000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42d802625d7a1726deb5f97f8cdaa66c89eefeb1baa2572873bfb78c3024bd7c
3
+ size 160863
legacy_futures/date=2026-04-21/part-0000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e805fa67c6aa5ec1114dfe7a2613acdcd6be6bbc3e3a827055c7ac714ec708c5
3
+ size 162082
legacy_futures/date=2026-04-28/part-0000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef9258904c1be362e9ba7fec696a3953e6d5aeccc45de989b9deb83f33f26e81
3
+ size 163396
legacy_futures/date=2026-05-05/part-0000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:060d8846858e302c678a53ff0014e945ad8c8ed9e56e111b671f1ab9e4c30b8c
3
+ size 163374