Dataset Viewer

The dataset viewer should be available soon. Please retry later.

๐Ÿ—ƒ๏ธ TroveLedger โ€” Financial Time Series Dataset

TroveLedger Banner

A growing ledger of accumulated market history.


๐Ÿ”” Latest Dataset Update

Date: 2025-12-23
New addition: ๐Ÿ‡ฎ๐Ÿ‡ณ NIFTY 50 (National Stock Exchange of India)

Today, the NIFTY 50 Index from India has been incorporated into TroveLedger, enriching the dataset with one of South Asiaโ€™s most referenced equity benchmarks. It represents 50 of the largest and most liquid Indian stocks listed on the National Stock Exchange.

๐Ÿ“Š Data coverage highlights:

  • All symbols are integrated with continuously accumulated minute-, hourly-, and daily-level price data, maintaining consistency with the existing dataset structure.

๐Ÿ“ˆ What this means:

  • Complete NIFTY 50 component symbol list integrated
  • Expanded regional coverage into South Asia
  • Consistent integration with existing dataset structure

๐Ÿ”œ Whatโ€™s next:
Further international indices will follow on upcoming trading days, continuing the stepwise expansion across regions and market profiles.

Click to expand

Recent Index Additions

Date Index Region Symbols
2025-12-23 NIFTY 50 ๐Ÿ‡ฎ๐Ÿ‡ณ India 50
2025-12-22 FTSE ๐Ÿ‡ฌ๐Ÿ‡ง United Kingdom 100
2025-12-19 S&P 500 ๐Ÿ‡บ๐Ÿ‡ธ US 503
2025-12-18 Hang Seng Index ๐Ÿ‡ญ๐Ÿ‡ฐ Asia 82
2025-12-17 EURO STOXX 50 ๐Ÿ‡ช๐Ÿ‡บ Europe 50

๐Ÿ“Œ Overview

TroveLedger is a public financial time series dataset focused on long-term accumulation of high-quality intraday data.

The dataset provides OHLC and volume data at multiple time resolutions and is designed primarily for machine learning, quantitative research, and systematic trading experiments.

Unlike many freely available data sources, TroveLedger emphasizes continuity over time, especially for minute-level data.

Scale & Granularity

  • Total: Over 32 million rows across all symbols and resolutions (growing rapidly)
  • Per symbol: Varies significantly โ€“ from <1,000 rows (young stocks, daily) to >500,000 rows (established stocks, minute-resolution)
  • Ideal for both focused single-symbol training and large-scale multi-market models

๐Ÿ”‘ What makes TroveLedger different

High-resolution intraday data is difficult to obtain from free sources over extended periods.

Typical public data access (e.g. via yfinance) provides:

  • Daily candles: often spanning decades
  • Hourly candles: roughly one year into the past
  • Minute candles: usually limited to the most recent 7 days

Repeatedly downloading rolling 7-day windows results in short, fragmented histories that are poorly suited for training models on intraday behavior.

TroveLedger takes a different approach:

  • Minute-level data is accumulated continuously
  • Time series are extended, not replaced
  • Over time, this results in months of gap-free minute data per instrument

This accumulated depth forms a substantially more reliable foundation for intraday research and model training.

๐Ÿงฑ Data Integrity Philosophy

TroveLedger prioritizes continuity over frequency.
The primary goal is not to fetch data as often as possible, but to ensure that once a time series starts, it remains gap-free.

Minute-level data is accumulated incrementally over time, creating long, uninterrupted histories that are not obtainable from fresh API queries alone.

This makes the dataset particularly suitable for model training, backtesting, and regime analysis.

๐Ÿ“ฆ Dataset Structure

The dataset is organized as follows:

  • /data/{category}/{symbol}/{symbol}.{interval}.valid.parquet

Where:

  • {category}: e.g., equities/us, indices/sp500, indices/eurostoxx50 (growing with new indices)
  • {symbol}: Stock ticker (e.g., AAPL, BMW.DE)
  • {interval}: One of days (daily), hours (hourly), or minutes (1-minute)

The .valid suffix indicates that these files have passed quality checks and are ready for use. Only these cleaned, validated files are included in the dataset โ€“ temporary or intermediate files from the pipeline are excluded.

Tip for users: The .valid part is intentionally kept as a flexible "state" marker. You can easily rename or copy files to add your own states (e.g., .train.parquet or .test.parquet) for train/validation/test splits in your ML workflows. This pattern makes it simple to organize experiments without changing the core data.

Data Instances

Here's an example row from a typical daily Parquet file (e.g., for AAPL.days.valid.parquet):

symbol time open high low close volume
AAPL 1704067200 192.28 192.69 191.73 192.53 42672100
  • time is a Unix timestamp (e.g., 1704067200 = January 1, 2024, 00:00 UTC).
  • All prices are in the symbol's native currency (e.g., USD for US equities).

Dataset Creation

Curation Rationale

TroveLedger was created to provide a reliable, expanding source of historical OHLCV data for AI-driven trading research, addressing gaps in continuity and international coverage.

Source Data

All data is sourced from Yahoo Finance via the yfinance Python library. Index components are automatically extracted from Wikipedia pages using a custom API-based pipeline for sustainability.

Data Collection and Processing

  • Symbols are selected from major indices (e.g., S&P 500, EURO STOXX 50) and equities.
  • Data is fetched at daily, hourly, and 1-minute resolutions, validated for completeness, and stored in Parquet format for efficiency.
  • Quality checks remove gaps or anomalies; only ".valid" files are included.
  • Updates occur periodically to extend histories and add new indices based on community input.

Who are the source data producers?

Yahoo Finance (public market data). No personal data is included.

๐Ÿ”„ Update Philosophy

The primary objective is data continuity, not guaranteed daily updates.

In particular:

  • Daily updates are not guaranteed
  • Preventing gaps in accumulated minute data has priority
  • Updates are performed on trading days whenever possible

Minute data is updated most frequently to ensure continuity.

Hourly and daily data are updated on a rotation basis to reduce unnecessary repeated downloads and to remain considerate of public data sources. These datasets are guaranteed to be no older than one week.

For most training scenarios, this is fully sufficient. When models are deployed in real-world environments, current market data is typically provided directly by the target trading platform.

๐Ÿ“ˆ Scope & Growth

TroveLedger started with a curated universe of approximately 500 equities inherited from earlier Preliminary datasets.

Going forward:

  • Entire indices are added step by step
  • The covered universe will grow continuously
  • Expansion is performed incrementally to ensure data integrity and operational stability

This gradual approach allows issues to be detected early and handled without disrupting existing data.

๐ŸŽฏ Intended Uses

  • Primary Use: Training and evaluating machine learning models for trading strategies and autonomous AI bots.
  • Other Uses: Time series analysis, financial research, educational projects, and community-driven extensions.

TroveLedger is suitable for:

  • machine learning on financial time series
  • intraday and swing trading research
  • feature engineering on OHLC data
  • backtesting strategies requiring dense intraday history
  • exploratory quantitative analysis

โš ๏ธ Limitations & Notes on Data Sources

  • Data Freshness: Data is typically a few days old, not real-time.
  • Coverage: Not all symbols may have complete historical data, especially for minute-resolution or newly added indices.
  • Growth Phase: The dataset is actively expanding; check for updates on new indices and symbols.
  • Not financial advice: This dataset is for research and educational purposes only. Past performance is no guarantee of future results.

Data is derived from publicly accessible market data sources (e.g. via yfinance).

While care is taken to ensure consistency and continuity, this dataset is provided as-is and without guarantees regarding completeness or correctness.

Users are responsible for verifying suitability for their specific use cases and for complying with the terms of the original data providers.

๐Ÿ“œ License & Usage

This dataset is provided solely for non-commercial research and educational purposes.

The data is retrieved from public sources via the yfinance library (Yahoo Finance). All rights remain with the original data providers.

Redistribution of this dataset is not permitted without explicit permission from the original sources.

See the LICENSE file for full details.

NO WARRANTY IS PROVIDED. Use at your own risk.

๐Ÿ’ฌ Feedback, Suggestions & Community Support

TroveLedger is a growing, community-driven project providing high-quality OHLCV data for training AI models on financial markets and trading strategies. Your input makes it better!

  • What are you building? I'd love to hear how you're using TroveLedger! Share your projects, trading bot ideas, ML models, or research directions โ€“ it motivates me to keep expanding and might inspire others.
  • Desired indices: Which major indices are you waiting for most? I'll prioritize based on demand and feasibility.
  • Helping expand indices: The pipeline uses the Wikipedia API to automatically extract components. It works best with a structured table containing both company names and clean, yfinance-compatible ticker symbols.
    • Simply share the Wikipedia page URL (any language) for your desired index.
    • If the table needs tweaks (e.g., missing or unclear ticker column, prefixes in symbols), improving it on Wikipedia is the most sustainable way โ€“ the global community then keeps it updated long-term!
    • Once ready, post the link here, and I'll integrate it quickly.

Interested in a deeper dive into the exact table format and config options my pipeline supports (with examples like zero-padding, suffixes, or language overrides)? Let me know โ€“ if there's demand, I'll create a dedicated guide soon!

Join the discussion in Hugging Face Discussions.


๐Ÿ›๏ธ The Growing Treasury

Watch TroveLedger expand across global markets โ€“ a visual chronicle of added indices:

๐Ÿ‡ฎ๐Ÿ‡ณ NIFTY 50 (December 23, 2025) โ€“ India takes center stage

The NIFTY 50 Index from India has been incorporated into TroveLedger, enriching the dataset with one of South Asiaโ€™s most referenced equity benchmarks. It represents 50 of the largest and most liquid Indian stocks listed on the National Stock Exchange.

TroveLedger riding a golden bull through a festive scene, next to a dancer in traditional Indian clothing
๐Ÿ‡ฌ๐Ÿ‡ง FTSE 100 (December 22, 2025) โ€“ Britain weathers the storm

The FTSE 100 represents 100 of the most capitalized and liquid firms on the London Stock Exchange, spanning finance, energy, consumer goods, healthcare, and industrial sectors.
As the UK is no longer part of the European Union, this addition extends TroveLedgerโ€™s European coverage beyond the Eurozone without overlap with previously added indices.

TroveLedger safeguarding British market wealth along the Thames during a storm
๐Ÿ‡บ๐Ÿ‡ธ S&P 500 (December 19, 2025) โ€“ America answers the call

The complete S&P 500 Index (503 constituents) has been fully integrated, adding 173 new symbols.
This provides the premier US large-cap benchmark with extended intraday histories โ€“ ideal for multi-sector trading bot training.

TroveLedger as Uncle Sam proudly presenting the S&P 500 treasure chest
๐Ÿ‡ญ๐Ÿ‡ฐ Hang Seng Index (December 18, 2025) โ€“ Asia opens its doors

The Hang Seng Index (HSI) adds 82 entirely new symbols โ€“ major Hong Kong-listed companies with strong China exposure across finance, tech, energy, and consumer sectors.

TroveLedger welcoming representatives to the HSI vault
๐Ÿ‡ช๐Ÿ‡บ EURO STOXX 50 (December 17, 2025) โ€“ Europe uncovers its treasures

The EURO STOXX 50 introduces 50 blue-chip companies from the Eurozone, spanning multiple countries and sectors โ€“ a cornerstone for European market exposure.

TroveLedger unveiling the EU flag from a treasure chest labeled STOXX50

๐Ÿ”– Citation

If you use TroveLedger in your work, please cite it as:

@dataset{Traders-Lab_TroveLedger_2025,
  author = {Traders-Lab},
  title = {TroveLedger Financial Time Series Dataset},
  year = {2025},
  url = {https://huggingface.co/datasets/Traders-Lab/TroveLedger}
}

๐Ÿ”š Final note

TroveLedger is not built to chase yesterdayโ€™s tick. It is built to remember.

Downloads last month
95

Collection including Traders-Lab/TroveLedger