Skip to main content
Ziplime reads point-in-time datasets straight from the Hugging Face Hub — no ingest step, no bundle to build, no credentials. Rows are indexed on the date they became public, so a strategy on bar t sees only what was known by t.

Published datasets

Browse them at huggingface.co/ZipLime. Each dataset card describes its tables (configs) and columns.

The one-line form

Name the dataset by address inside data.history:
The first read resolves the dataset to a commit, downloads only the Parquet parts the simulation window can reach, maps tickers onto the asset database and keeps the result in memory.
The one-line form mounts the simulation’s own window, so it sees nothing published before the first bar. A signal that looks back 90 days starts blind. Use the explicit form with an earlier start_date when you need history from before the run.

The explicit form

Mount once in initialize, reaching back before the first bar, then read it like any other source:

Pin a revision

These datasets are append-only and grow. Left on main, the same backtest a month apart reads different data and returns a different number. The engine resolves a branch to a commit up front and logs it:
Pass that commit back as revision= to repeat the run exactly.

Read the mount report

The mount logs how many Parquet parts it read, how many rows fell in the window and how many it mapped onto listings, and which tickers matched no listing. A large drop usually means the asset database is missing instruments — ingest them, or the rows are silently absent from every read.

Event data wants since

Disclosure datasets are sparse: thirty filings for one ticker can span four years. Read them with since=datetime.timedelta(...) rather than bar_count=.

In vectorized signals

A mounted dataset is also available to compute_signals as prices.dataset(name). See Vectorized Signals.

Other address schemes

hf:// is built in. Extensions can register their own schemes, and a strategy then reads data.history(..., data_source="scheme://...") with no registration of its own — zipfinam adds algopack:// for MOEX AlgoPack. See Venues & Calendars. Worked examples, with results and the controls they are measured against, are in examples/huggingface.