File size: 11,425 Bytes
9babaf9 e4ba18e 9babaf9 e4ba18e 9413cd8 e4ba18e 9babaf9 1597c81 02a4b58 1597c81 9babaf9 e4ba18e 9babaf9 1597c81 9babaf9 02a4b58 e4ba18e 9babaf9 e4ba18e 8212190 e4ba18e 9babaf9 e4ba18e 9babaf9 e4ba18e 9babaf9 e4ba18e 9babaf9 e4ba18e 9babaf9 e4ba18e 9babaf9 e4ba18e 9babaf9 e4ba18e 9babaf9 e4ba18e 9babaf9 e4ba18e 9babaf9 e4ba18e 9babaf9 e4ba18e 9babaf9 e4ba18e 9babaf9 e4ba18e 9babaf9 e4ba18e 9babaf9 e4ba18e 9babaf9 e4ba18e 9babaf9 e4ba18e 9babaf9 8212190 9babaf9 02a4b58 8212190 9babaf9 8212190 9babaf9 8212190 9babaf9 8212190 9babaf9 8212190 9babaf9 8212190 9babaf9 02a4b58 9babaf9 e4ba18e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 | ---
license: mit
task_categories:
- table-question-answering
- text-classification
- time-series-forecasting
language:
- ko
- en
tags:
- finance
- disclosure
- dart
- edgar
- sec
- xbrl
- korea
- financial-statements
- corporate-filings
- krx
- ohlcv
- market-data
- 전자공시
- 재무제표
- 사업보고서
- 한국
pretty_name: DartLab 전자공시 + 시장 데이터
size_categories:
- 1K<n<10K
---
<div align="center">
<br>
<img alt="DartLab" src="https://huggingface.co/datasets/eddmpython/dartlab-data/resolve/main/assets/logo.png" width="160">
<h3>DartLab Data</h3>
<p><b>Structured company data + market data from DART, EDGAR, KRX</b></p>
<p>한국 DART 공시 + 미국 SEC EDGAR 공시 + KRX 시장 데이터 — 한 dataset, 여러 카테고리</p>
<p>
<a href="https://github.com/eddmpython/dartlab"><img src="https://img.shields.io/badge/GitHub-dartlab-ea4647?style=for-the-badge&labelColor=050811&logo=github&logoColor=white" alt="GitHub"></a>
<a href="https://pypi.org/project/dartlab/"><img src="https://img.shields.io/pypi/v/dartlab?style=for-the-badge&color=ea4647&labelColor=050811&logo=pypi&logoColor=white" alt="PyPI"></a>
<a href="https://eddmpython.github.io/dartlab/"><img src="https://img.shields.io/badge/Docs-GitHub_Pages-38bdf8?style=for-the-badge&labelColor=050811&logo=github-pages&logoColor=white" alt="Docs"></a>
<a href="https://buymeacoffee.com/eddmpython"><img src="https://img.shields.io/badge/Sponsor-Buy_Me_A_Coffee-ffdd00?style=for-the-badge&labelColor=050811&logo=buy-me-a-coffee&logoColor=white" alt="Sponsor"></a>
</p>
</div>
## What is this?
<img align="right" src="https://huggingface.co/datasets/eddmpython/dartlab-data/resolve/main/assets/avatar-study.png" width="120">
Pre-built [Parquet](https://parquet.apache.org/) files from [DartLab](https://github.com/eddmpython/dartlab) — a Python library that turns DART (Korea), EDGAR (US), and KRX disclosure & market data into one structured company map.
한국 DART 전자공시 + 미국 SEC EDGAR 공시 + KRX 거래소 일별 시장 데이터를 동일한 SSOT 로 묶은 데이터셋.
This dataset is the **data layer** behind DartLab. When you run `dartlab.Company("005930")` or `dartlab.gather("krx", "close")`, the library auto-downloads the relevant parquet from this repo — no API key, no manual collection.
## Datasets
7 public categories — each lives at its own subdirectory and is consumed by a specific dartlab engine.
| Category | Path | Coverage | Engine |
|---|---|---|---|
| [dart/docs](#dartdocs--dart-disclosure-text) | `dart/docs/` | 2,547 KR companies, ~8 GB | `Company.show("section")` |
| [dart/finance](#dartfinance--dart-financial-statements) | `dart/finance/` | 2,744 KR companies, ~586 MB | `Company.show("BS"/"IS"/"CF")` |
| [dart/report](#dartreport--dart-structured-disclosure-apis) | `dart/report/` | 2,711 KR companies, ~319 MB | `Company.report()` (28 APIs) |
| [dart/scan](#dartscan--cross-sectional-pre-built) | `dart/scan/` | KR cross-sectional | `dartlab.scan("...")` |
| [edgar/docs](#edgardocs--edgar-disclosure-text) | `edgar/docs/` | 970 US companies | `Company.show("section")` (US) |
| [krx/prices](#krxprices--krx-daily-ohlcv-new) ★ | `krx/prices/` | 1995~today, 17 yearly parquets | `gather("krx", target)` |
| [landing/map](#landingmap--industry-map-json) | `landing/map/` | KR industry graph | `dartlab.industry()` |
---
### dart/docs — DART Disclosure Text
Full-text sections from Korean annual/quarterly reports, parsed into structured blocks.
| Column | Description |
|---|---|
| `rcept_no` | DART filing ID |
| `rcept_date` | Filing date |
| `stock_code` | Stock code (6-digit) |
| `corp_name` | Company name |
| `report_type` | Annual/quarterly report type |
| `section_title` | Original section title (한글) |
| `section_order` | Section ordering |
| `content` | Section text (markdown) |
| `blockType` | `text` / `table` / `heading` |
| `year` | Filing year |
**File**: `dart/docs/{stockCode}.parquet` — one file per company.
---
### dart/finance — DART Financial Statements
XBRL-based financial data from DART OpenAPI (`fnlttSinglAcntAll`). BS/IS/CF/SCE × 분기/연간.
| Column | Description |
|---|---|
| `bsns_year` | Business year |
| `reprt_code` | Report quarter code |
| `stock_code` | Stock code |
| `corp_name` | Company name |
| `fs_div` | `CFS` (consolidated) / `OFS` (separate) |
| `sj_div` | Statement type (BS/IS/CF/SCE) |
| `account_id` | XBRL account ID (~97% mapped to standard names) |
| `account_nm` | Account name (한글) |
| `thstrm_amount` | Current period amount |
| `frmtrm_amount` | Prior period amount |
| `bfefrmtrm_amount` | Two periods prior amount |
**File**: `dart/finance/{stockCode}.parquet` — one file per company.
---
### dart/report — DART Structured Disclosure APIs
28 DART API categories covering governance, compensation, shareholding, capital changes, audit opinions, and more.
| Column | Description |
|---|---|
| `apiType` | API category (e.g., `dividend`, `employee`, `executive`) |
| `year` / `quarter` | Reporting period |
| `stockCode` | Stock code |
| `corpCode` | DART corp code |
| *(varies)* | Category-specific columns |
**28 API types**: dividend, employee, executive, majorHolder, treasuryStock, capitalChange, auditOpinion, stockTotal, outsideDirector, corporateBond, and 18 more.
**File**: `dart/report/{stockCode}.parquet` — one file per company.
---
### dart/scan — Cross-Sectional Pre-Built
Pre-computed cross-sectional aggregates across all KR listed companies (governance ratios, cash-flow patterns, financial ratios, etc.) — for ranking/screening without per-company iteration.
| Subcategory | Content |
|---|---|
| `dart/scan/governance/` | Board structure, related-party, ownership concentration |
| `dart/scan/financial/` | Pre-computed ratios (ROE, debt-to-equity, ...) |
| `dart/scan/cashflow/` | Operating/investing/financing patterns |
**Engine**: `dartlab.scan("governance/...")` — one call returns all-company DataFrame.
---
### edgar/docs — EDGAR Disclosure Text
Full-text sections from US annual/quarterly reports (10-K, 10-Q, 8-K, ...), parsed into the same structure as `dart/docs`. Same library API works for both markets.
**File**: `edgar/docs/{ticker}.parquet`.
---
### krx/prices — KRX Daily OHLCV ★ NEW
Daily OHLCV + market cap + listed shares for **all KRX-listed companies (KOSPI + KOSDAQ)**, raw long parquet from KRX OpenAPI.
| Column | Description | Unit |
|---|---|---|
| `BAS_DD` | Trade date (YYYYMMDD) | string |
| `ISU_CD` | Stock code (6-digit) | string |
| `ISU_NM` | Stock name | string |
| `MKT_NM` / `SECT_TP_NM` | Market / sector | string |
| `TDD_OPNPRC` / `TDD_HGPRC` / `TDD_LWPRC` / `TDD_CLSPRC` | Open / High / Low / Close | KRW |
| `ACC_TRDVOL` / `ACC_TRDVAL` | Volume / Amount | shares / KRW |
| `MKTCAP` | Market cap | KRW |
| `LIST_SHRS` | Listed shares | shares |
| `FLUC_RT` / `CMPPREVDD_PRC` | Daily change rate / price | % / KRW |
**Coverage**: 1995-01-04 ~ today (17 yearly partitions: `raw-1995.parquet` ~ `raw-2026.parquet`).
**Update**: every weekday at KST 17:00 (after market close + settlement). Auto gap-fill if any cron run is missed.
**Engine**: `gather("krx", target, ...)` — pivot to wide (rows = stockCode, cols = date) on demand. Adjusted prices (split/bonus/rights) auto-applied via price-series detection (CRSP backward chaining).
```python
import dartlab
dartlab.gather("krx", "close", start="2025-01-01", end="2025-06-30") # close-price wide
dartlab.gather("krx", "rsi14", start="2025-01-01") # 30+ technical indicators
dartlab.gather("krx", "marketCap", start="2025-06-30") # market cap snapshot
```
**No API key needed** — engine reads HF directly. (KRX OpenAPI key is only for operator cron building this dataset.)
---
### landing/map — Industry Map JSON
Pre-built industry graph (nodes + edges) for the Korean market — companies × processes × supply-chain edges. Powers the `/map` interactive industry visualization.
**Engine**: `dartlab.industry()` / `c.industry()`.
---
## Usage
```python
import dartlab
# 1. Korean company — auto-downloads dart/docs + dart/finance + dart/report
c = dartlab.Company("005930")
c.show("BS") # balance sheet (dart/finance)
c.show("businessOverview") # business section text (dart/docs)
c.report("dividend") # dividend history (dart/report)
# 2. US company — same API, edgar/docs auto
us = dartlab.Company("AAPL")
us.show("IS")
# 3. KRX market data — no API key, HF auto
df = dartlab.gather("krx", "close", start="2024-01-01", end="2024-12-31") # 1-year wide DataFrame
# 4. Cross-sectional scan
ranked = dartlab.scan("governance/dividend") # all KR companies, sorted
# 5. Natural language
dartlab.ask("삼성전자 재무건전성 분석해줘")
```
**No API key, no setup** — `pip install dartlab` and the library auto-downloads from this dataset, with local caching.
## Data Source
- **DART** (Korea): [dart.fss.or.kr](https://dart.fss.or.kr) — Financial Supervisory Service's electronic disclosure system
- **EDGAR** (US): [sec.gov/edgar](https://www.sec.gov/edgar) — SEC's Electronic Data Gathering, Analysis, and Retrieval system
- **KRX** (Korea): [openapi.krx.co.kr](https://openapi.krx.co.kr) — Korea Exchange OpenAPI (daily OHLCV + market cap + shares)
All data sourced from public/government systems. Numeric figures preserved as-is from the original source — no rounding, no estimation, no interpolation. Adjusted prices computed at use time (raw + events SSOT).
## Update Schedule
| Category | Cadence | Trigger |
|---|---|---|
| `dart/docs`, `dart/finance`, `dart/report` | Daily incremental + weekly full sync | GitHub Actions (DART) |
| `dart/scan` | Daily after dart/finance update | GitHub Actions |
| `edgar/docs` | Daily incremental | GitHub Actions (EDGAR) |
| `krx/prices` | Every weekday at KST 17:00 (T-0 same-day, auto gap-fill) | GitHub Actions (KRX) |
| `landing/map` | On industry-map source change | GitHub Actions (map build) |
Recent 7-day filings checked incrementally; full re-sync on schema changes.
## Learn More
<img align="right" src="https://huggingface.co/datasets/eddmpython/dartlab-data/resolve/main/assets/avatar-analyze.png" width="120">
DartLab auto-downloads from this dataset — one stock code gives you the full company map. Start with the intro below.
<div align="center">
<a href="https://www.youtube.com/shorts/97lYLWMWzvA"><img src="https://img.youtube.com/vi/97lYLWMWzvA/maxresdefault.jpg" alt="DartLab 30s Demo" width="320"></a>
<sub>▶ <a href="https://www.youtube.com/shorts/97lYLWMWzvA">DartLab 30s Demo</a></sub>
</div>
- **GitHub** — [github.com/eddmpython/dartlab](https://github.com/eddmpython/dartlab)
- **Intro blog** — [DartLab 시작하기 / Getting started](https://eddmpython.github.io/dartlab/blog/dartlab-easy-start)
- **Docs** — [eddmpython.github.io/dartlab](https://eddmpython.github.io/dartlab/)
- **YouTube** — [@eddmpython](https://www.youtube.com/@eddmpython)
<img align="right" src="https://huggingface.co/datasets/eddmpython/dartlab-data/resolve/main/assets/avatar-discover.png" width="120">
## License
Dataset content licensed MIT. Underlying source data is governed by each source's terms (DART, SEC EDGAR, KRX OpenAPI). See [data source attribution](#data-source).
|