OHLCV-1m / README.md
oddzilla's picture mito0o852's picture
Duplicate from mito0o852/OHLCV-1m
b71829d
|
Raw History Blame Contribute Delete
14.7 kB
metadata
dataset_info:
  features:
    - name: timestamp
      dtype: timestamp[ns, tz=UTC]
    - name: open
      dtype: float64
    - name: high
      dtype: float64
    - name: low
      dtype: float64
    - name: close
      dtype: float64
    - name: volume
      dtype: float64
    - name: ticker
      dtype: string
  splits:
    - name: train
      num_bytes: 195863846
      num_examples: 3538138
    - name: AOM
      num_bytes: 51700
      num_examples: 940
    - name: CMFO
      num_bytes: 728
      num_examples: 13
    - name: FORD
      num_bytes: 54320
      num_examples: 970
    - name: PFXF
      num_bytes: 223552
      num_examples: 3992
    - name: MILIF
      num_bytes: 99237
      num_examples: 1741
    - name: AICOF
      num_bytes: 14421
      num_examples: 253
    - name: DMPZF
      num_bytes: 399
      num_examples: 7
    - name: TOYOF
      num_bytes: 27702
      num_examples: 486
    - name: REAMS
      num_bytes: 114
      num_examples: 2
    - name: INVA
      num_bytes: 492240
      num_examples: 8790
    - name: TRSY
      num_bytes: 5264
      num_examples: 94
    - name: ELD
      num_bytes: 18315
      num_examples: 333
    - name: XFLT.PRA
      num_bytes: 6420
      num_examples: 107
    - name: CLDI
      num_bytes: 618688
      num_examples: 11048
    - name: COCHW
      num_bytes: 7866
      num_examples: 138
    - name: HEI.A
      num_bytes: 195510
      num_examples: 3430
    - name: ETOR
      num_bytes: 550928
      num_examples: 9838
    - name: IDUB
      num_bytes: 23520
      num_examples: 420
    - name: ENOV
      num_bytes: 681296
      num_examples: 12166
    - name: PMAX
      num_bytes: 286496
      num_examples: 5116
    - name: SFLO
      num_bytes: 54824
      num_examples: 979
    - name: NHAWF
      num_bytes: 399
      num_examples: 7
    - name: REGN
      num_bytes: 508704
      num_examples: 9084
    - name: SMTSF
      num_bytes: 6156
      num_examples: 108
    - name: PYCT
      num_bytes: 1344
      num_examples: 24
    - name: COWS
      num_bytes: 8512
      num_examples: 152
    - name: UPAR
      num_bytes: 5264
      num_examples: 94
    - name: AVSU
      num_bytes: 8904
      num_examples: 159
    - name: RFAI
      num_bytes: 1680
      num_examples: 30
    - name: VCLN
      num_bytes: 2184
      num_examples: 39
    - name: LBGJ
      num_bytes: 23072
      num_examples: 412
    - name: BYSTF
      num_bytes: 228
      num_examples: 4
    - name: XYIGF
      num_bytes: 513
      num_examples: 9
    - name: GLTO
      num_bytes: 23296
      num_examples: 416
    - name: VZ
      num_bytes: 1039500
      num_examples: 19250
    - name: BAYP
      num_bytes: 448
      num_examples: 8
    - name: CKYS
      num_bytes: 168
      num_examples: 3
    - name: FCXXF
      num_bytes: 456
      num_examples: 8
    - name: USCL
      num_bytes: 2352
      num_examples: 42
    - name: EBCOY
      num_bytes: 22173
      num_examples: 389
    - name: ACSI
      num_bytes: 1064
      num_examples: 19
    - name: IGIC
      num_bytes: 147280
      num_examples: 2630
    - name: SEPM
      num_bytes: 1120
      num_examples: 20
    - name: FT
      num_bytes: 64206
      num_examples: 1189
    - name: SRZNW
      num_bytes: 3705
      num_examples: 65
    - name: NLSC
      num_bytes: 112
      num_examples: 2
    - name: LIMFF
      num_bytes: 513
      num_examples: 9
    - name: EIM
      num_bytes: 168355
      num_examples: 3061
    - name: FLS
      num_bytes: 753555
      num_examples: 13701
    - name: PTA
      num_bytes: 120340
      num_examples: 2188
    - name: FCX
      num_bytes: 1052535
      num_examples: 19137
    - name: CHIZF
      num_bytes: 228
      num_examples: 4
    - name: BCMXY
      num_bytes: 171
      num_examples: 3
    - name: HKTTY
      num_bytes: 2337
      num_examples: 41
    - name: OFED
      num_bytes: 1568
      num_examples: 28
    - name: AMKYF
      num_bytes: 114
      num_examples: 2
    - name: PSCJ
      num_bytes: 5376
      num_examples: 96
    - name: LDRC
      num_bytes: 3976
      num_examples: 71
    - name: RECT
      num_bytes: 4984
      num_examples: 89
    - name: SOUL
      num_bytes: 2016
      num_examples: 36
    - name: BAP
      num_bytes: 283635
      num_examples: 5157
    - name: BBSC
      num_bytes: 9912
      num_examples: 177
    - name: AIBT
      num_bytes: 73584
      num_examples: 1314
    - name: TTLHF
      num_bytes: 6042
      num_examples: 106
    - name: CNTHN
      num_bytes: 684
      num_examples: 12
    - name: EXXAF
      num_bytes: 513
      num_examples: 9
    - name: SCNI
      num_bytes: 214312
      num_examples: 3827
    - name: SKUFF
      num_bytes: 228
      num_examples: 4
    - name: SPRY
      num_bytes: 726096
      num_examples: 12966
    - name: CBDD
      num_bytes: 32368
      num_examples: 578
    - name: HTHT
      num_bytes: 741944
      num_examples: 13249
    - name: RROYF
      num_bytes: 1482
      num_examples: 26
    - name: TAGS
      num_bytes: 3976
      num_examples: 71
    - name: WSM
      num_bytes: 678810
      num_examples: 12342
    - name: GJT
      num_bytes: 1925
      num_examples: 35
    - name: PLTW
      num_bytes: 362096
      num_examples: 6466
    - name: FENG
      num_bytes: 11648
      num_examples: 208
    - name: TQQY
      num_bytes: 37912
      num_examples: 677
    - name: FRI
      num_bytes: 43230
      num_examples: 786
    - name: GRDN
      num_bytes: 218680
      num_examples: 3905
    - name: UJAN
      num_bytes: 21280
      num_examples: 380
    - name: BKTI
      num_bytes: 120792
      num_examples: 2157
    - name: GSTRF
      num_bytes: 123462
      num_examples: 2166
    - name: EVGOW
      num_bytes: 32718
      num_examples: 574
    - name: DMKPQ
      num_bytes: 684
      num_examples: 12
    - name: TGRR
      num_bytes: 56
      num_examples: 1
    - name: CDZIP
      num_bytes: 11628
      num_examples: 204
    - name: DUFRY
      num_bytes: 113829
      num_examples: 1997
    - name: NHLG
      num_bytes: 616
      num_examples: 11
    - name: AIFD
      num_bytes: 18816
      num_examples: 336
    - name: FACTW
      num_bytes: 2109
      num_examples: 37
    - name: WSEMF
      num_bytes: 228
      num_examples: 4
    - name: JVA
      num_bytes: 71335
      num_examples: 1297
    - name: MNTHY
      num_bytes: 8094
      num_examples: 142
    - name: PNGAF
      num_bytes: 114
      num_examples: 2
    - name: ACKAY
      num_bytes: 285
      num_examples: 5
    - name: CERT
      num_bytes: 661808
      num_examples: 11818
    - name: DESK
      num_bytes: 2184
      num_examples: 39
    - name: RXLSF
      num_bytes: 741
      num_examples: 13
    - name: TCEFF
      num_bytes: 2223
      num_examples: 39
    - name: VYGVQ
      num_bytes: 22629
      num_examples: 397
    - name: MMNGF
      num_bytes: 55062
      num_examples: 966
    - name: MFAO
      num_bytes: 28952
      num_examples: 517
    - name: ASLV
      num_bytes: 8568
      num_examples: 153
    - name: NTWOU
      num_bytes: 114
      num_examples: 2
    - name: MNSEF
      num_bytes: 7296
      num_examples: 128
    - name: BKGI
      num_bytes: 53256
      num_examples: 951
    - name: VOO
      num_bytes: 1259555
      num_examples: 22901
    - name: ZBH
      num_bytes: 742555
      num_examples: 13501
    - name: SOMLY
      num_bytes: 167067
      num_examples: 2931
    - name: MAR
      num_bytes: 666105
      num_examples: 12111
    - name: PSFJ
      num_bytes: 9576
      num_examples: 171
    - name: CJPRF
      num_bytes: 57
      num_examples: 1
    - name: RSVNS
      num_bytes: 57
      num_examples: 1
    - name: ARR
      num_bytes: 788645
      num_examples: 14339
    - name: SKILW
      num_bytes: 684
      num_examples: 12
    - name: DGS
      num_bytes: 105820
      num_examples: 1924
    - name: PFRL
      num_bytes: 16688
      num_examples: 298
    - name: VYRE
      num_bytes: 11200
      num_examples: 200
    - name: EDDRF
      num_bytes: 285
      num_examples: 5
    - name: VGFCQ
      num_bytes: 2622
      num_examples: 46
    - name: EAOA
      num_bytes: 3304
      num_examples: 59
    - name: IBHI
      num_bytes: 88648
      num_examples: 1583
    - name: NHICW
      num_bytes: 2223
      num_examples: 39
    - name: WB
      num_bytes: 527742
      num_examples: 9773
    - name: TX
      num_bytes: 251100
      num_examples: 4650
    - name: IBLC
      num_bytes: 38528
      num_examples: 688
    - name: OTTEF
      num_bytes: 285
      num_examples: 5
  download_size: 60116469
  dataset_size: 212766996
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/ohlcv_*.parquet
      - split: AOM
        path: data/AOM-*
      - split: CMFO
        path: data/CMFO-*
      - split: FORD
        path: data/FORD-*
      - split: PFXF
        path: data/PFXF-*
      - split: MILIF
        path: data/MILIF-*
      - split: AICOF
        path: data/AICOF-*
      - split: DMPZF
        path: data/DMPZF-*
      - split: TOYOF
        path: data/TOYOF-*
      - split: REAMS
        path: data/REAMS-*
      - split: INVA
        path: data/INVA-*
      - split: TRSY
        path: data/TRSY-*
      - split: ELD
        path: data/ELD-*
      - split: XFLT.PRA
        path: data/XFLT.PRA-*
      - split: CLDI
        path: data/CLDI-*
      - split: COCHW
        path: data/COCHW-*
      - split: HEI.A
        path: data/HEI.A-*
      - split: ETOR
        path: data/ETOR-*
      - split: IDUB
        path: data/IDUB-*
      - split: ENOV
        path: data/ENOV-*
      - split: PMAX
        path: data/PMAX-*
      - split: SFLO
        path: data/SFLO-*
      - split: NHAWF
        path: data/NHAWF-*
      - split: REGN
        path: data/REGN-*
      - split: SMTSF
        path: data/SMTSF-*
      - split: PYCT
        path: data/PYCT-*
      - split: COWS
        path: data/COWS-*
      - split: UPAR
        path: data/UPAR-*
      - split: AVSU
        path: data/AVSU-*
      - split: RFAI
        path: data/RFAI-*
      - split: VCLN
        path: data/VCLN-*
      - split: LBGJ
        path: data/LBGJ-*
      - split: BYSTF
        path: data/BYSTF-*
      - split: XYIGF
        path: data/XYIGF-*
      - split: GLTO
        path: data/GLTO-*
      - split: VZ
        path: data/VZ-*
      - split: BAYP
        path: data/BAYP-*
      - split: CKYS
        path: data/CKYS-*
      - split: FCXXF
        path: data/FCXXF-*
      - split: USCL
        path: data/USCL-*
      - split: EBCOY
        path: data/EBCOY-*
      - split: ACSI
        path: data/ACSI-*
      - split: IGIC
        path: data/IGIC-*
      - split: SEPM
        path: data/SEPM-*
      - split: FT
        path: data/FT-*
      - split: SRZNW
        path: data/SRZNW-*
      - split: NLSC
        path: data/NLSC-*
      - split: LIMFF
        path: data/LIMFF-*
      - split: EIM
        path: data/EIM-*
      - split: FLS
        path: data/FLS-*
      - split: PTA
        path: data/PTA-*
      - split: FCX
        path: data/FCX-*
      - split: CHIZF
        path: data/CHIZF-*
      - split: BCMXY
        path: data/BCMXY-*
      - split: HKTTY
        path: data/HKTTY-*
      - split: OFED
        path: data/OFED-*
      - split: AMKYF
        path: data/AMKYF-*
      - split: PSCJ
        path: data/PSCJ-*
      - split: LDRC
        path: data/LDRC-*
      - split: RECT
        path: data/RECT-*
      - split: SOUL
        path: data/SOUL-*
      - split: BAP
        path: data/BAP-*
      - split: BBSC
        path: data/BBSC-*
      - split: AIBT
        path: data/AIBT-*
      - split: TTLHF
        path: data/TTLHF-*
      - split: CNTHN
        path: data/CNTHN-*
      - split: EXXAF
        path: data/EXXAF-*
      - split: SCNI
        path: data/SCNI-*
      - split: SKUFF
        path: data/SKUFF-*
      - split: SPRY
        path: data/SPRY-*
      - split: CBDD
        path: data/CBDD-*
      - split: HTHT
        path: data/HTHT-*
      - split: RROYF
        path: data/RROYF-*
      - split: TAGS
        path: data/TAGS-*
      - split: WSM
        path: data/WSM-*
      - split: GJT
        path: data/GJT-*
      - split: PLTW
        path: data/PLTW-*
      - split: FENG
        path: data/FENG-*
      - split: TQQY
        path: data/TQQY-*
      - split: FRI
        path: data/FRI-*
      - split: GRDN
        path: data/GRDN-*
      - split: UJAN
        path: data/UJAN-*
      - split: BKTI
        path: data/BKTI-*
      - split: GSTRF
        path: data/GSTRF-*
      - split: EVGOW
        path: data/EVGOW-*
      - split: DMKPQ
        path: data/DMKPQ-*
      - split: TGRR
        path: data/TGRR-*
      - split: CDZIP
        path: data/CDZIP-*
      - split: DUFRY
        path: data/DUFRY-*
      - split: NHLG
        path: data/NHLG-*
      - split: AIFD
        path: data/AIFD-*
      - split: FACTW
        path: data/FACTW-*
      - split: WSEMF
        path: data/WSEMF-*
      - split: JVA
        path: data/JVA-*
      - split: MNTHY
        path: data/MNTHY-*
      - split: PNGAF
        path: data/PNGAF-*
      - split: ACKAY
        path: data/ACKAY-*
      - split: CERT
        path: data/CERT-*
      - split: DESK
        path: data/DESK-*
      - split: RXLSF
        path: data/RXLSF-*
      - split: TCEFF
        path: data/TCEFF-*
      - split: VYGVQ
        path: data/VYGVQ-*
      - split: MMNGF
        path: data/MMNGF-*
      - split: MFAO
        path: data/MFAO-*
      - split: ASLV
        path: data/ASLV-*
      - split: NTWOU
        path: data/NTWOU-*
      - split: MNSEF
        path: data/MNSEF-*
      - split: BKGI
        path: data/BKGI-*
      - split: VOO
        path: data/VOO-*
      - split: ZBH
        path: data/ZBH-*
      - split: SOMLY
        path: data/SOMLY-*
      - split: MAR
        path: data/MAR-*
      - split: PSFJ
        path: data/PSFJ-*
      - split: CJPRF
        path: data/CJPRF-*
      - split: RSVNS
        path: data/RSVNS-*
      - split: ARR
        path: data/ARR-*
      - split: SKILW
        path: data/SKILW-*
      - split: DGS
        path: data/DGS-*
      - split: PFRL
        path: data/PFRL-*
      - split: VYRE
        path: data/VYRE-*
      - split: EDDRF
        path: data/EDDRF-*
      - split: VGFCQ
        path: data/VGFCQ-*
      - split: EAOA
        path: data/EAOA-*
      - split: IBHI
        path: data/IBHI-*
      - split: NHICW
        path: data/NHICW-*
      - split: WB
        path: data/WB-*
      - split: TX
        path: data/TX-*
      - split: IBLC
        path: data/IBLC-*
      - split: OTTEF
        path: data/OTTEF-*

πŸ“ˆ OHLCV-1m: US Stock Market Minute-Level Candlestick Data (1992–2026)

This dataset provides minute-level OHLCV (Open, High, Low, Close, Volume) candlestick data for thousands of U.S. stocks across multiple decades (1992 to 2026). The data was originally sourced from Finnhub.io, a real-time market data provider.

It has been aggregated and reformatted from monthly .tar archives into clean and unified Parquet files β€” one per month β€” and uploaded to the Hugging Face Hub for easy access.

🧾 Dataset Structure

Each row in the dataset represents one minute of trading for a given stock ticker, and includes the following columns:

Column Type Description
timestamp datetime64[ns, UTC] Start time of the minute
open float64 Opening price
high float64 Highest price within the minute
low float64 Lowest price within the minute
close float64 Closing price
volume float64 Volume traded within the minute
ticker string Stock ticker symbol

The data is split by month into files like:

data/ohlcv_1992-01.parquet data/ohlcv_1992-02.parquet ... data/ohlcv_2026-03.parquet

πŸ“š Usage

from datasets import load_dataset

# Load the dataset (will stream across all months)
ds = load_dataset("mito0o852/OHLCV-1m", split="train")

# View one row
print(ds[0])



# To convert it into a pandas DataFrame:

import pandas as pd

df = ds.to_pandas()
print(df.head())