数据集:
该数据集包含1993年至2020年期间在SEC EDGAR系统中提交的美国公共公司的年度报告。每份年度报告(10K申报)分为20个部分,每个部分又被分成单个句子。情感标签是基于股票市场对申报日期附近的3个不同时间窗口[t-1,t+1],[t-1,t+5]和[t-1,t+30]反应而提供的。数据集还包含每个申报的附加元数据。
提供四个配置:
import datasets
# Load the lite configuration of the dataset
raw_dataset = datasets.load_dataset("JanosAudran/financial-reports-sec", "large_lite")
# Load a specific split
raw_dataset = datasets.load_dataset("JanosAudran/financial-reports-sec", "small_full", split="train")
该数据集可直接用于以下任务:
所有句子均为英文。
请参阅数据集预览。
特征名称
cik
句子
部分
ClassLabel(names=['section_1', 'section_10', 'section_11', 'section_12', 'section_13', 'section_14', 'section_15', 'section_1A', 'section_1B', 'section_2','section_3', 'section_4', 'section_5', 'section_6', 'section_7', 'section_7A','section_8', 'section_9', 'section_9A', 'section_9B'], id=None)
标签
{
'1d': ClassLabel(names=['positive', 'negative'], id=None),
'5d': ClassLabel(names=['positive', 'negative'], id=None),
'30d': ClassLabel(names=['positive', 'negative'], id=None)
}
报告日期
文档ID
句子ID
句子计数
名称
股票代码
交易所
实体类型
sic
注册状态
股票计数
预计接受日期时间
表格
报告日期
返回
{'1d': {
'closePriceEndDate': 21.45746421813965,
'closePriceStartDate': 20.64960479736328,
'endDate': '2021-03-11T00:00:00-05:00',
'startDate': '2021-03-09T00:00:00-05:00',
'ret': 0.03912226855754852
},
'5d': {
'closePriceEndDate': 21.743167877197266,
'closePriceStartDate': 20.64960479736328,
'endDate': '2021-03-15T00:00:00-04:00',
'startDate': '2021-03-09T00:00:00-05:00',
'ret': 0.052958063781261444
},
'30d': {
'closePriceEndDate': 20.63919448852539,
'closePriceStartDate': 20.64960479736328,
'endDate': '2021-04-09T00:00:00-04:00',
'startDate': '2021-03-09T00:00:00-05:00',
'ret': -0.0005041408003307879}}
| Config | train | validation | test |
|---|---|---|---|
| large_full | 67,316,227 | 1,585,561 | 2,965,174 |
| large_lite | 67,316,227 | 1,585,561 | 2,965,174 |
| small_full | 200,000 | 20,000 | 20,000 |
| small_lite | 200,000 | 20,000 | 20,000 |
| Variable | count | mean | std | min | 1% | 25% | 50% | 75% | 99% | max |
|---|---|---|---|---|---|---|---|---|---|---|
| Unique Firm Count | 4,677 | |||||||||
| Filings Count | 55,349 | |||||||||
| Sentence Count | 71,866,962 | |||||||||
| Filings per Firm | 4,677 | 12 | 9 | 1 | 1 | 4 | 11 | 19 | 27 | 28 |
| Return per Filing - 1d | 55,349 | 0.008 | 0.394 | -0.973 | -0.253 | -0.023 | 0 | 0.02 | 0.367 | 77.977 |
| Return per Filing - 5d | 55,349 | 0.013 | 0.584 | -0.99 | -0.333 | -0.034 | 0 | 0.031 | 0.5 | 100 |
| Return per Filing - 30d | 55,349 | 0.191 | 22.924 | -0.999 | -0.548 | -0.068 | 0.001 | 0.074 | 1 | 5,002.748 |
| Sentences per Filing | 55,349 | 1,299 | 654 | 0 | 110 | 839 | 1,268 | 1,681 | 3,135 | 8,286 |
| Sentences by Section - section_1 | 55,349 | 221 | 183 | 0 | 0 | 97 | 180 | 293 | 852 | 2,724 |
| Sentences by Section - section_10 | 55,349 | 24 | 40 | 0 | 0 | 4 | 6 | 20 | 173 | 1,594 |
| Sentences by Section - section_11 | 55,349 | 16 | 47 | 0 | 0 | 3 | 3 | 4 | 243 | 808 |
| Sentences by Section - section_12 | 55,349 | 9 | 14 | 0 | 0 | 3 | 4 | 8 | 56 | 1,287 |
| Sentences by Section - section_13 | 55,349 | 8 | 20 | 0 | 0 | 3 | 3 | 4 | 79 | 837 |
| Sentences by Section - section_14 | 55,349 | 22 | 93 | 0 | 0 | 3 | 3 | 8 | 413 | 3,536 |
| Sentences by Section - section_15 | 55,349 | 177 | 267 | 0 | 0 | 9 | 26 | 315 | 1104 | 4,140 |
| Sentences by Section - section_1A | 55,349 | 197 | 204 | 0 | 0 | 3 | 158 | 292 | 885 | 2,106 |
| Sentences by Section - section_1B | 55,349 | 4 | 31 | 0 | 0 | 1 | 3 | 3 | 13 | 2,414 |
| Sentences by Section - section_2 | 55,349 | 16 | 45 | 0 | 0 | 6 | 8 | 13 | 169 | 1,903 |
| Sentences by Section - section_3 | 55,349 | 14 | 36 | 0 | 0 | 4 | 5 | 12 | 121 | 2,326 |
| Sentences by Section - section_4 | 55,349 | 7 | 17 | 0 | 0 | 3 | 3 | 4 | 66 | 991 |
| Sentences by Section - section_5 | 55,349 | 20 | 41 | 0 | 0 | 10 | 15 | 21 | 87 | 3,816 |
| Sentences by Section - section_6 | 55,349 | 8 | 29 | 0 | 0 | 3 | 4 | 7 | 43 | 2,156 |
| Sentences by Section - section_7 | 55,349 | 265 | 198 | 0 | 0 | 121 | 246 | 373 | 856 | 4,539 |
| Sentences by Section - section_7A | 55,349 | 18 | 52 | 0 | 0 | 3 | 9 | 21 | 102 | 3,596 |
| Sentences by Section - section_8 | 55,349 | 257 | 296 | 0 | 0 | 3 | 182 | 454 | 1105 | 4,431 |
| Sentences by Section - section_9 | 55,349 | 5 | 33 | 0 | 0 | 3 | 3 | 4 | 18 | 2,330 |
| Sentences by Section - section_9A | 55,349 | 17 | 16 | 0 | 0 | 8 | 15 | 23 | 50 | 794 |
| Sentences by Section - section_9B | 55,349 | 4 | 18 | 0 | 0 | 2 | 3 | 4 | 23 | 813 |
| Word count per Sentence | 71,866,962 | 28 | 22 | 1 | 2 | 16 | 24 | 34 | 98 | 8,675 |
为了创建这个数据集,需要清理和处理多个信息源以进行数据合并。从原始申报开始:
初始数据由研究论文《EDGAR-CORPUS: Billions of Tokens Make The World Go Round》的作者收集和处理。市场价格和回报数据来自Yahoo Finance。其他元数据来自SEC。
谁是源语言的生产者?美国公开公司在SEC提交的报告。
情感分类的标签基于公开数据的申报日期周围固定时间窗口内的买入持有回报率。选择回报率是因为它反映了解读文件中新信息时的综合市场情报。对于每个申报日期 t,使用 t-1 和 t+W 处的股票价格计算回报率。如果回报率为正,分配正面标签;否则,分配负面标签。使用三个不同的窗口分配标签:
窗口基于历书日,并且对周末和节假日进行了调整。使用3个窗口的理由如下:
金融市场参与者。
该数据集包含来自SEC的公开申报数据。市场回报数据来自Yahoo Finance。
较低或没有社会影响。
该数据集涉及公共公司的财务信息,因此文本的语气和风格与财务文献一致。
NA
Aman Khan
该数据集使用 Apache 2.0 许可。
请使用以下信息引用此数据集:
@ONLINE{financial-reports-sec,
author = "Aman Khan",
title = "Financial Reports SEC",
url = "https://huggingface.co/datasets/JanosAudran/financial-reports-sec"
}