eod-market-data
Canonical EOD market-data CSV time-series store, exchange-calendar awareness, split-boundary guards, and pluggable multi-source price/FX/rate feeds for Python.
Features
- Canonical long-format CSV store (
store): One tidy table (Date,ISIN,Ticker,Bloomberg,Name,Asset class,Currency,Close local,FX EUR/Local,Close EUR,Volume,Source,Price basis) with atomic writes, idempotentupsert_series(..., replace_other_sources=False), andseries_matrix()views. - Multi-venue exchange calendars (
calendar): Holiday- and DST-aware session resolution viaexchange-calendars(including customXATHEuronext Athens registration and STOXX dissemination calendar) so US holidays never stall European listings and vice versa. - Split-boundary guards (
splits): Parses; split event <k>annotations and computes cumulative split divisors while keeping raw closes unadjusted and reproducible. - Official & keyed EOD feeds (
providers):yfinance: equities, ETFs, FX fallback, dividends, and split detection.twelvedata: true EOD FX primary (EUR/USD, etc.), US equity gap-fill, and 17:00America/New_YorkXAU/USD spot gold.alphavantage: throttled, budget-capped non-US/US equity gap-fill.lse: dated native London closes from the public LSE instrument JSON endpoint (lastclose/lastclosedate, GBX→GBP normalization, ISIN/SEDOL verification).exchange_closes: config-driven Nasdaq historical JSON and HKEX Daily Quotations gap-fill.treasury: official US Treasury daily par-yield curve CSV.
- Extensible plugin protocol (
providers.base.GapFillProvider): Register custom or private venue feeds without modifying the core library. - Config-driven universe (
universe): Load securities, FX pairs, and LSE/exchange mappings fromuniverse.yaml(see examples/universe.yaml).
Installation
pip install eod-market-data
Or with uv:
uv add eod-market-data
Quick start
from pathlib import Path
from eod_market_data import calendar, store, universe
cfg = universe.load_universe(Path("examples/universe.yaml"))
df = store.read_history_df(Path("market-data-history.csv"))
print("Expected XNYS session:", calendar.expected_session_for("XNYS"))
CLI
# Inspect an existing CSV store
eod-data inspect --store market-data-history.csv
# Fetch latest US Treasury par-yield curve
eod-data treasury
# Fetch 17:00 New York XAU/USD spot gold (requires TWELVEDATA_API_KEY)
eod-data gold-spot --store market-data-history.csv
# Prepare an append-only FX backfill CSV
eod-data backfill-fx --source market-data-history.csv --out candidate.csv --currency JPY --start 2026-01-01 --end 2026-01-31
License
MIT — see LICENSE.
Metadata
Release files for eod-market-data 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| eod_market_data-0.1.0.tar.gz | 120.3 kB | Without provenance | Details for eod_market_data-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eod_market_data-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for eod_market_data-0.1.0-py3-none-any.whl |
Total release size: 150.1 kB
Release files / eod_market_data-0.1.0.tar.gz
| Download URL | eod_market_data-0.1.0.tar.gz |
|---|---|
| Size | 120.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
126806b749f880b343375f85c499ea388fda6804b021ef3ec8dc31a7dfa25e61
|
|
BLAKE2b-256 checksum How to use checksums |
67eb2779d8efdbc42d4d584a55a2d456c99da59089800fbaf5aa65fd4a9d2a9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / eod_market_data-0.1.0-py3-none-any.whl
| Download URL | eod_market_data-0.1.0-py3-none-any.whl |
|---|---|
| Size | 29.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d8fdd42ac594297e61704ade8742a59c1b5a2a2509d1a9e2799500a400b555e6
|
|
BLAKE2b-256 checksum How to use checksums |
80fea1c4c5d12e07594872f5084bc717648e621d8c035b471f98f661ef4d7b68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for eod-market-data 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.