dartlab-data
收藏资源简介:
DartLab数据集是一个结构化的金融披露数据集,整合了韩国DART(电子披露系统)和美国SEC EDGAR(电子数据收集、分析和检索系统)的公开披露信息。该数据集旨在通过单一的股票代码,提供可跨市场比较的标准化表格数据,格式为Parquet。数据集内容涵盖韩国所有上市公司(约2,700家)和美国主要上市公司(约1,000家)的多种金融和商业信息,主要包括:财务报表(如资产负债表、利润表、现金流量表)、业务报告正文、结构化披露(如股息、高管信息)、股价数据、宏观经济指标、市场指数以及研究报告元数据。数据按公司和类别组织为多个Parquet文件,核心结构包括韩国DART数据、美国SEC EDGAR数据、韩国市场股价和指数数据、宏观经济时间序列数据和研究报告元数据。数据直接从官方公共披露系统获取,保持原始值,每日自动更新。适用于表格问答、文本分类、金融分析、跨市场比较、风险管理、宏观经济研究等任务,可通过Python库、URL或Web数据中心访问,采用Apache 2.0许可证。
The DartLab Dataset is a structured financial disclosure dataset that integrates public disclosure information from Korea’s DART (Electronic Disclosure System) and the U.S. SEC EDGAR (Electronic Data Gathering, Analysis, and Retrieval System). This dataset aims to provide standardized tabular data enabling cross-market comparison via a single stock ticker, in Parquet format. It covers diverse financial and business information of all listed companies in South Korea (approximately 2,700) and major listed companies in the U.S. (approximately 1,000), mainly including: financial statements (e.g., balance sheet, income statement, cash flow statement), full texts of business reports, structured disclosures (e.g., dividends, executive information), stock price data, macroeconomic indicators, market indices, and research report metadata. The data is organized into multiple Parquet files by company and category, with its core structure comprising South Korea’s DART data, U.S. SEC EDGAR data, South Korean market stock price and index data, macroeconomic time series data, and research report metadata. The data is directly obtained from official public disclosure systems, retains original values, and is automatically updated on a daily basis. It is applicable to tasks such as tabular question answering, text classification, financial analysis, cross-market comparison, risk management, and macroeconomic research. It can be accessed via Python libraries, URLs, or web data centers, and is licensed under the Apache 2.0 License.
数据集概述:DartLab 전자공시 데이터
该数据集由 DartLab 项目提供,将韩国 DART(金融监督院电子披露系统)和美国 SEC EDGAR 的披露数据,按股票代码统一为可比较的表格格式,并以 Parquet 格式存储。
核心内容
- 覆盖范围:约 2,700 家韩国上市公司和约 1,000 家美国主要上市公司的财务报表、业务报告正文、结构化披露、股价及宏观经济指标。
- 数据容量:包含超过 100 万条记录,且所有数值均保持原始数据,不进行四舍五入、估算或插值。
- 更新频率:通过 GitHub Actions 每日自动更新,增量收集最新披露信息。
数据组织与结构
数据集按路径划分为多个子目录,每个 Parquet 文件通常对应一家公司(股票代码命名),部分如股价和宏观经济数据则按日期或序列组织。
-
dart/:韩国 DART 披露数据panel/:披露信息水平化处理,每个公司 17 列,包含正文与 XBRL 表格。finance/:K-IFRS XBRL 格式的财务报表(资产负债表、利润表、现金流量表)。report/:28 种结构化披露 API 数据(如股息、高管、股权)。scan/:面向所有上市公司的预计算横截面数据(如比率、盈余质量)。
-
edgar/:美国 SEC EDGAR 数据panel/:披露信息水平化处理,跨市场 16 列。financeStmt/:与 DART finance 同构标准化的美国财务报表。prices/:各公司日级别 OHLCV 数据。tickers/:Ticker 到 CIK 的映射表。
-
gov/&krx/:股价与指数(源自公共数据门户和 KRX)prices/company/:各公司日级别 OHLCV 及市值。prices/date/:按日期分片的每日全市场数据。indices/:KOSPI、KOSDAQ 等指数的日级别序列。
-
macro/:宏观经济时间序列fred/:美国 FRED(利率、物价等)。ecos/:韩国银行 ECOS。customs/:韩国海关月度进出口数据。
-
research/brokerage/:证券公司研究报告的元数据索引(标题、链接、发表日期,不包含正文)。
关键特性
- 无代码访问:可通过网页端“数据中心”直接预览、筛选并下载 CSV 或 Excel 格式数据,或通过“终端”功能一键导出公司相关数据。Google Sheets 可借助
IMPORTDATA()函数实现约 1 小时间隔的自动刷新。 - Python 使用:通过
dartlab.Company("股票代码")自动下载并缓存所需 Parquet 文件;也支持使用 Polars、DuckDB 等工具直接读取原始 Parquet 文件。 - 数据来源:全部源自公开的政府或公共披露系统(韩国 DART、美国 SEC EDGAR、公共数据门户、KRX、FRED、ECOS、海关),不包含新闻正文以规避版权问题。
- 许可协议:Apache 2.0。
数据列示例
dart/panel(披露水平化) 包含以下主要列:
corp, period, rceptNo, chapter, sectionLeaf, sectionPath, leafType (text/table), blockLeaf, xbrlClass, disclosureKey, contentRaw。
dart/finance(财务报表) 包含以下主要列:
bsns_year, reprt_code, stock_code, corp_name, fs_div (CFS/OFS), sj_div (BS/IS/CF/SCE), account_id, account_nm, thstrm_amount, frmtrm_amount, bfefrmtrm_amount。
dart/report(结构化披露) 包含以下主要列:
apiType, year, quarter, stockCode, corpCode,以及其他按 API 类型变化的字段。覆盖 28 种 API,包括 dividend, employee, executive, majorHolder, treasuryStock 等。




