q1232990/StockChina-Minute-Parquet
China Stock Market 1-Minute Bar Dataset (Parquet) This dataset provides high-frequency 1-minute historical candlestick and trading data for Chinese A-Share stocks (SSE / SZSE: .XSHE, .XSHG). Attribution & Source Credit This dataset is an optimized Parquet conversion of the original CSV dataset created by jobs-git: Original Dataset: jobs-git/StockChina-Minute Original uncompressed CSV size: ~121.5 GB across 1,450 stock symbols. Optimizations in this… See the full description on the dataset page: https://huggingface.co/datasets/q1232990/StockChina-Minute-Parquet.
China Stock Market 1-Minute Bar Dataset (Parquet)
This dataset provides high-frequency 1-minute historical candlestick and trading data for Chinese A-Share stocks (SSE / SZSE: .XSHE, .XSHG).
Attribution & Source Credit
This dataset is an optimized Parquet conversion of the original CSV dataset created by jobs-git:
- Original Dataset: `jobs-git/StockChina-Minute`
- Original uncompressed CSV size: ~121.5 GB across 1,450 stock symbols.
Optimizations in this Version
- Format: Apache Parquet with high-efficiency column encodings.
- Compression: Zstandard Level 18 with specialized Parquet encoders:
datetime:timestamp[ms]withDELTA_BINARY_PACKEDvolume:UInt32withDELTA_BINARY_PACKEDmoney:UInt64(integer turnover in RMB) withDELTA_BINARY_PACKEDpaused:BooleanwithRLE(Run-Length Encoding)- Prices (
open,close,high,low,avg,high_limit,low_limit,pre_close,factor):Float32 - Storage Efficiency: ~12.3x compression ratio (reduces 121.5 GB to ~9.9 GB total storage).
- Fast Columnar Access: Supports vectorized queries and partition-level filtering.
Schema
Quick Usage
Polars
import polars as pl
# Direct URL / Hugging Face streaming
url = "hf://datasets/q1232990/StockChina-Minute-Parquet/000001.XSHE.parquet"
df = pl.read_parquet(url)
print(df.head())PyArrow
import pyarrow.parquet as pq
from huggingface_hub import hf_hub_download
file_path = hf_hub_download(repo_id="q1232990/StockChina-Minute-Parquet", filename="000001.XSHE.parquet", repo_type="dataset")
table = pq.read_table(file_path)
print(table.schema)DuckDB
SELECT * FROM 'hf://datasets/q1232990/StockChina-Minute-Parquet/000001.XSHE.parquet' LIMIT 10;