Lab · Module 01 of 06

Data Curator.

Acquire. Validate. Unify. Spend less time integrating data. Focus on alpha.

pip install kaxanuk.data_curatorDocumentation
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6

What it is

An open-source library that downloads, validates, homogenizes and combines financial data from multiple providers into clean, point-in-time datasets ready for research.

How you run it

Entirely from an Excel workbook with no code, programmatically in Python as part of a larger system, or with Docker.

It prevents

Beautiful results that came from broken inputs.

Features.

  1. Configurable from an Excel workbook, with no code required to download and curate data, or directly from a Python script. A Docker image is also available.

  2. A provider-agnostic data model: readable, specific tag names based on the US GAAP taxonomy and homogenized across providers. Switch from one data provider to another without touching your code.

  3. Automatic data validation: market and fundamental data are checked on download, and datasets that make no sense (a high price below the low) or can't guarantee point-in-time validity (amended statements) are discarded.

  4. Custom calculated features: write your own feature functions in plain Python, with no need for NumPy or pandas (though you can use them if you prefer).

  5. Flexible outputs: export to CSV or Parquet files, or return in-memory pandas DataFrames for further processing.

  6. A fully extensible architecture: add your own data providers, feature combinations and output handlers on clear, stable interfaces.

  7. AI-assistant friendly: readable, well-documented and tested code that works well with your favorite IDE and AI coding assistants.

Data providers.

LSEG Workspace

Market and fundamental data, supported out of the box.

lseg.com

Financial Modeling Prep

Free and discounted plans available through our referral link.

Plans

Yahoo! Finance

Through a separate extension package. It doesn't support most data types.

Extension