cftc-cot
收藏资源简介:
Chainticks CFTC COT 是一个规范化的美国商品期货交易委员会(CFTC)持仓报告(Commitments of Traders, COT)历史期货数据集,数据来源于公开领域的CFTC档案。该数据集以Parquet文件格式组织,按日期分区存储,便于使用Pandas、DuckDB或Polars等工具进行金融数据分析。数据集仅包含标记为“public_domain”来源的数据行,不包含来自交易所REST/API的转售数据。它适用于作为追加式的市场背景信息,可用于加密货币和传统金融领域的量化研究、市场情绪分析或交易策略开发。使用前需读取LATEST_DATE.txt获取最新日期,检查_schema.json了解数据结构,并按日期加载对应的Parquet分区。时间戳默认为UTC时区,建议在下游分析中保留source_kind字段。Chainticks是独立实体,与数据所代表的协议、中继、交易场所或政府机构无隶属关系。
Chainticks CFTC COT is a standardized historical futures dataset of the U.S. Commodity Futures Trading Commission (CFTC) Commitments of Traders (COT) reports, sourced from publicly available CFTC archives. The dataset is organized in Parquet file format, partitioned by date, facilitating financial data analysis using tools such as Pandas, DuckDB, or Polars. It includes only data rows labeled as public_domain sources and excludes resale data from exchange REST/APIs. It is suitable as incremental market context information for quantitative research, market sentiment analysis, or trading strategy development in both cryptocurrency and traditional finance domains. Before use, read LATEST_DATE.txt to obtain the latest date, check _schema.json to understand the data structure, and load corresponding Parquet partitions by date. Timestamps default to UTC timezone, and it is recommended to retain the source_kind field in downstream analyses. Chainticks is an independent entity with no affiliation to the protocols, relays, trading venues, or government agencies represented by the data.
数据集概述
数据集名称: Chainticks CFTC COT
许可证: CC-BY-4.0
标签: 金融、加密货币、Parquet、DuckDB、Pandas、Polars、Agent友好
数据集描述: 该数据集来源于美国商品期货交易委员会(CFTC)公开档案,包含经过标准化的交易者持仓报告(Commitments of Traders, COT) 中传统期货(legacy futures)的历史记录。数据为公开领域内容,由 Chainticks 整理发布,不包含任何交易所 REST/API 转售数据。
数据格式与访问: 数据以 Parquet 格式存储,可按日期分区加载,兼容 Pandas、DuckDB、Polars 等工具。示例加载代码如下:
python import pandas as pd DATE = "YYYY-MM-DD" URL = "https://huggingface.co/datasets/Chainticks/cftc-cot/resolve/main/legacy_futures/date={DATE}/part-0000.parquet" df = pd.read_parquet(URL) print(df.head())
数据集结构:
legacy_futures/date=YYYY-MM-DD/part-0000.parquet:按日期组织的 Parquet 数据文件_schema.json:数据集模式描述文件_manifest.json:数据清单文件LATEST_DATE.txt:记录最新数据日期的文本文件
数据来源与说明:
- 数据行必须具有
source_kind字段,且该字段值为public_domain。 - 所有时间戳视为 UTC 时间,下游分析中需保留
source_kind字段。 - 数据仅作为追加式市场上下文使用,建议先读取
LATEST_DATE.txt和_schema.json,再加载对应分区。
关联说明: Chainticks 为独立数据提供方,与数据中所涉及的任何协议、中继、交易场所或政府机构均无关联。




