Skip to main content

finance etl

Standard financial ETL workflows

Build Status codecov License PyPI

Overview

finance-etl provides reusable finance-specific ETL adapters on top of ccflow and the generic ccflow-* connector packages. It owns public finance data access concerns such as trading calendars, market sessions, provider request planning, credential config shapes, and finance-aware backfill helpers.

Applications compose these adapters into workflows and decide where data is stored. Provider credentials, private paths, and deployment-specific destinations stay outside this package.

Quick Start

Compose the packaged calendar registry with ccflow-etl, then point a context at an explicit calendar path:

defaults:
    - /backfill: daily
    - /finance_calendars: default
    - _self_

hydra:
    searchpath:
        - pkg://ccflow_etl.config
        - pkg://finance_etl.config

context:
    start_datetime: 2024-07-01
    end_datetime: 2024-07-05
    calendar: /calendars/exchange/XNYS

Calendar paths are namespaced by code, for example /calendars/exchange/XNYS, /calendars/exchange/XTKS/session/starts, /calendars/country/JP, and /calendars/region/us.

Python callers use the same code-parameterized objects, such as ExchangeCalendar["XNYS"], RegionCalendar["US"], and CountryCalendar["JP"].

Provider credentials are composed through Hydra groups. For Massive REST access:

defaults:
    - /credentials: massive
    - _self_

The packaged credential config reads secrets from environment variables; it does not store secrets in public package config.

Massive also publishes reusable dataset and provider catalog entries:

defaults:
    - /credentials: massive
    - /datasets: massive
    - /providers: massive
    - _self_

The catalog registers the Hydra-friendly key datasets.massive_daily_ticker_summary for the semantic dataset massive-daily-ticker-summary, plus providers.massive for Massive REST request planning. Applications can compose those objects into MassiveDailyTickerSummaryModel and keep destinations or production overlays private.

Documentation

Dependency Contract

  • May depend on ccflow, ccflow-etl, ccflow-http, ccflow-s3, finance-dates, and finance-flow.
  • Should keep provider credentials and deployment-specific storage destinations out of package code.
  • Must not depend on application-specific packages.

Test Convention

Default tests should use synthetic market calendars and recorded or generated provider-shaped responses. They should not require live provider credentials, live S3, or live databases.

Metadata

Release files for finance-etl 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for finance-etl 0.1.0
File Size Uploaded Provenance
finance_etl-0.1.0.tar.gz 21.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for finance-etl 0.1.0
File Interpreter ABI Platform
finance_etl-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 46.0 kB

Release files / finance_etl-0.1.0.tar.gz

Download URL finance_etl-0.1.0.tar.gz
Size 21.0 kB
Tags Source
SHA-256 checksum
How to use checksums
273ea503c16a77b2465e2afd6895e4b0770879a9cefb1265451383d77774a4e9
BLAKE2b-256 checksum
How to use checksums
493edcd49afca5a0a65f69b40819d16cb1d820b4e49244b81fca06a5f84e20d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / finance_etl-0.1.0-py3-none-any.whl

Download URL finance_etl-0.1.0-py3-none-any.whl
Size 25.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e0185c94fa22190c3058454165d33622ba78e6009fe74a932c8147f4046f3317
BLAKE2b-256 checksum
How to use checksums
2c225188b2ab8ac04dc0768b7ea443a003b0afdf69879e34ab5a40ababaabf81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Security for finance-etl 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page