Update README.md
Browse files
README.md
CHANGED
|
@@ -18,7 +18,7 @@ tags:
|
|
| 18 |
- quant
|
| 19 |
configs:
|
| 20 |
- config_name: default
|
| 21 |
-
data_files: kospi_data_v1.
|
| 22 |
---
|
| 23 |
|
| 24 |
# KOSPI Stocks Daily Data with Technical & Macro Features
|
|
@@ -52,6 +52,38 @@ A machine-learningโready Korean stock dataset combining daily prices of 948 KO
|
|
| 52 |
|
| 53 |
---
|
| 54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
## ๐ก Use Cases
|
| 56 |
|
| 57 |
- Stock price / return prediction modeling / ์ฃผ๊ฐยท์์ต๋ฅ ์์ธก ๋ชจ๋ธ๋ง
|
|
@@ -63,10 +95,16 @@ A machine-learningโready Korean stock dataset combining daily prices of 948 KO
|
|
| 63 |
|
| 64 |
## ๐ Notes / ์ฐธ๊ณ
|
| 65 |
|
| 66 |
-
-
|
| 67 |
-
-
|
| 68 |
-
-
|
| 69 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
|
| 71 |
---
|
| 72 |
|
|
@@ -84,12 +122,14 @@ This dataset is a derived work that processes the above public market data into
|
|
| 84 |
|
| 85 |
## โ๏ธ License & Disclaimer / ๋ผ์ด์ ์คยท๋ฉด์ฑ
|
| 86 |
|
|
|
|
|
|
|
| 87 |
- ๋ฐ์ดํฐ์
์ **๊ฐ๊ณตยท๊ตฌ์ฑยทํ์ ๋ณ์ ๋ฐ ํธ์ง์ ๋ํ ๊ถ๋ฆฌ๋ ์ ์์์๊ฒ ์์ต๋๋ค.**
|
| 88 |
Rights to the **processing, structure, engineered features, and compilation** of this dataset belong to its creator.
|
| 89 |
- ์์ฒ์ด ๋๋ ์์ธยท๊ฑฐ์์งํ ๊ฐ์ ๊ณต๊ฐ ์์ฅ ๋ฐ์ดํฐ์ ๊ธฐ๋ฐํ๋ฉฐ, ๊ฐ ์์ฒ ๋ฐ์ดํฐ์ ๊ถ๋ฆฌ๋ ํด๋น ์ ๊ณต์ฒ์ ์์ต๋๋ค.
|
| 90 |
The underlying price and macro values are based on public market data; rights to the source data remain with their respective providers.
|
| 91 |
-
- ๋ณธ ๋ฐ์ดํฐ์
์ **์ฐ๊ตฌ ๋ฐ ๊ต์ก ๋ชฉ์ **์ผ๋ก ์ ๊ณต๋ฉ๋๋ค. ๋ฐ์ดํฐ์ ์ ํ์ฑยท์์ ์ฑ์ ๋ณด์ฆํ์ง ์์ผ๋ฉฐ,
|
| 92 |
-
Provided for **research and educational purposes**. No warranty is given regarding accuracy or completeness;
|
| 93 |
|
| 94 |
---
|
| 95 |
|
|
@@ -98,4 +138,4 @@ This dataset is a derived work that processes the above public market data into
|
|
| 98 |
If this helped you, consider supporting!
|
| 99 |
๋์์ด ๋์
จ๋ค๋ฉด ํ์ ๋ถํ๋๋ ค์!
|
| 100 |
|
| 101 |
-
**Toonation:** https://toon.at/donate/podongchip
|
|
|
|
| 18 |
- quant
|
| 19 |
configs:
|
| 20 |
- config_name: default
|
| 21 |
+
data_files: kospi_data_v1.parquet
|
| 22 |
---
|
| 23 |
|
| 24 |
# KOSPI Stocks Daily Data with Technical & Macro Features
|
|
|
|
| 52 |
|
| 53 |
---
|
| 54 |
|
| 55 |
+
## ๐ Quick Start / ๋น ๋ฅธ ์์
|
| 56 |
+
|
| 57 |
+
```python
|
| 58 |
+
from datasets import load_dataset
|
| 59 |
+
|
| 60 |
+
ds = load_dataset("podongchip/kospi-daily-stock-features-2021-2026", split="train")
|
| 61 |
+
print(ds[0])
|
| 62 |
+
```
|
| 63 |
+
|
| 64 |
+
```python
|
| 65 |
+
# pandas ๋ก ๋ฐ๋ก ์ฐ๊ธฐ / load directly with pandas
|
| 66 |
+
import pandas as pd
|
| 67 |
+
|
| 68 |
+
df = pd.read_parquet(
|
| 69 |
+
"hf://datasets/podongchip/kospi-daily-stock-features-2021-2026/kospi_data_v1.parquet"
|
| 70 |
+
)
|
| 71 |
+
|
| 72 |
+
# ์ข
๋ชฉ๋ณ ์๊ณ์ด / per-stock time series
|
| 73 |
+
samsung = df[df["Code"] == "005930"].sort_values("Date")
|
| 74 |
+
print(samsung[["Date", "Close", "RSI14", "Foreign_net"]].tail())
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
> โ ๏ธ **`Code` ๋ ๋ฐ๋์ ๋ฌธ์์ด๋ก ๋ค๋ฃจ์ธ์ / Always treat `Code` as a string.**
|
| 78 |
+
> ์ข
๋ชฉ์ฝ๋๋ ์์๋ฆฌ 0์ด ์๊ณ (`000020`), ์ฐ์ ์ฃผ๋ ๋์ ์ํ๋ฒณ์ด ๋ถ์ต๋๋ค(์: `00088K`).
|
| 79 |
+
> ์ซ์๋ก ๋ณํํ๋ฉด ์์๋ฆฌ 0์ด ์ฌ๋ผ์ง๊ฑฐ๋ ์ฐ์ ์ฃผ ์ฝ๋๊ฐ ๊นจ์ง๋๋ค.
|
| 80 |
+
> Stock codes are zero-padded (`000020`) and preferred shares carry a letter suffix
|
| 81 |
+
> (e.g. `00088K`). Casting to int drops the leading zeros and breaks preferred-share codes.
|
| 82 |
+
> ๋ณธ ๋ฐ์ดํฐ๋ Parquet ํฌ๋งท์ด๋ผ `Code` ๊ฐ ๋ฌธ์์ด๋ก ์ ์ฅ๋์ด ์์ด ๊ทธ๋๋ก ์์ ํฉ๋๋ค.
|
| 83 |
+
> This dataset ships as Parquet, so `Code` is stored as a string and stays safe by default.
|
| 84 |
+
|
| 85 |
+
---
|
| 86 |
+
|
| 87 |
## ๐ก Use Cases
|
| 88 |
|
| 89 |
- Stock price / return prediction modeling / ์ฃผ๊ฐยท์์ต๋ฅ ์์ธก ๋ชจ๋ธ๋ง
|
|
|
|
| 95 |
|
| 96 |
## ๐ Notes / ์ฐธ๊ณ
|
| 97 |
|
| 98 |
+
- **์ข
๋ชฉ์ฝ๋(`Code`) / Stock code:** 6์๋ฆฌ ๋ฌธ์์ด์ด๋ฉฐ, ์ฐ์ ์ฃผ ๋ฑ์ ๋์ ์ํ๋ฒณ(KยทLยทM ๋ฑ)์ด ๋ถ์ต๋๋ค. ์ ์๋ก ๋ณํํ์ง ๋ง์ธ์.
|
| 99 |
+
6-digit string; preferred and special shares carry a trailing letter (K, L, M, โฆ). Do not cast to integer.
|
| 100 |
+
- **๊ฒฐ์ธก์น / Missing values:** ๊ธฐ์ ์ ์งํ(MA, RSI, MACD ๋ฑ)๋ ๋ฃฉ๋ฐฑ ๊ธฐ๊ฐ์ด ํ์ํ๋ฏ๋ก ๊ฐ ์ข
๋ชฉ์ ์ด๊ธฐ ํ์ ๊ฒฐ์ธก์น(๋น ๊ฐ)๊ฐ ์กด์ฌํฉ๋๋ค.
|
| 101 |
+
Technical indicators require a lookback window, so early rows per stock contain missing values.
|
| 102 |
+
- **๊ฑฐ์์งํ / Macro:** ์์
์ผ ๊ธฐ์ค์ผ๋ก ์ ๋ ฌ๋์ด ์์ผ๋ฉฐ, ์ผ๋ถ ํด์ฅ์ผ ์ฐจ์ด๋ก ์ธํ ๊ฒฐ์ธก์ด ์์ ์ ์์ต๋๋ค.
|
| 103 |
+
Aligned to trading days; some gaps may exist due to holiday mismatches.
|
| 104 |
+
- **์ ๋ ฌ / Ordering:** `Code` โ `Date` ์์ผ๋ก ์ข
๋ชฉ๋ณ ์๊ณ์ด์ด ์ด์ด์ง๋๋ค.
|
| 105 |
+
Rows are ordered by `Code` then `Date`, forming per-stock time series.
|
| 106 |
+
- **Look-ahead ์ฃผ์ / No look-ahead:** ๋ชจ๋ ์งํ๋ ํด๋น ์ผ์๊น์ง์ ์ ๋ณด๋ก๋ง ๊ณ์ฐ๋ฉ๋๋ค(๋ฏธ๋ ์ ๋ณด ๋ฏธํฌํจ).
|
| 107 |
+
All features use information up to that date only.
|
| 108 |
|
| 109 |
---
|
| 110 |
|
|
|
|
| 122 |
|
| 123 |
## โ๏ธ License & Disclaimer / ๋ผ์ด์ ์คยท๋ฉด์ฑ
|
| 124 |
|
| 125 |
+
- ๋ณธ ๋ฐ์ดํฐ์
์ **CC BY-NC 4.0** ๋ผ์ด์ ์ค๋ก ์ ๊ณต๋ฉ๋๋ค(๋น์๋ฆฌยท์ถ์ฒํ์).
|
| 126 |
+
Released under **CC BY-NC 4.0** (non-commercial, attribution required).
|
| 127 |
- ๋ฐ์ดํฐ์
์ **๊ฐ๊ณตยท๊ตฌ์ฑยทํ์ ๋ณ์ ๋ฐ ํธ์ง์ ๋ํ ๊ถ๋ฆฌ๋ ์ ์์์๊ฒ ์์ต๋๋ค.**
|
| 128 |
Rights to the **processing, structure, engineered features, and compilation** of this dataset belong to its creator.
|
| 129 |
- ์์ฒ์ด ๋๋ ์์ธยท๊ฑฐ์์งํ ๊ฐ์ ๊ณต๊ฐ ์์ฅ ๋ฐ์ดํฐ์ ๊ธฐ๋ฐํ๋ฉฐ, ๊ฐ ์์ฒ ๋ฐ์ดํฐ์ ๊ถ๋ฆฌ๋ ํด๋น ์ ๊ณต์ฒ์ ์์ต๋๋ค.
|
| 130 |
The underlying price and macro values are based on public market data; rights to the source data remain with their respective providers.
|
| 131 |
+
- ๋ณธ ๋ฐ์ดํฐ์
์ **์ฐ๊ตฌ ๋ฐ ๊ต์ก ๋ชฉ์ **์ผ๋ก ์ ๊ณต๋ฉ๋๋ค. ๋ฐ์ดํฐ์ ์ ํ์ฑยท์์ ์ฑ์ ๋ณด์ฆํ์ง ์์ผ๋ฉฐ, ํฌ์ ํ๋จ์ ๊ทผ๊ฑฐ๋ก ์ฌ์ฉํด ๋ฐ์ํ๋ ์ฑ
์์ ์ฌ์ฉ์์๊ฒ ์์ต๋๋ค.
|
| 132 |
+
Provided for **research and educational purposes**. No warranty is given regarding accuracy or completeness; any investment decisions made using this data are solely the user's responsibility.
|
| 133 |
|
| 134 |
---
|
| 135 |
|
|
|
|
| 138 |
If this helped you, consider supporting!
|
| 139 |
๋์์ด ๋์
จ๋ค๋ฉด ํ์ ๋ถํ๋๋ ค์!
|
| 140 |
|
| 141 |
+
**Toonation:** https://toon.at/donate/podongchip
|