arrow-rightMigration Notice

Migrate from tardis-client and tardis_dev.datasets to the unified tardis-dev package

Python client v3 unifies historical replay, CSV dataset downloads and exchange metadata into one package: tardis-dev.

circle-exclamation

Install the new package

pip uninstall tardis-client
pip install tardis-dev

If you were already using the dataset-download package, upgrade it in place:

pip install --upgrade tardis-dev

API mapping

Before
After

from tardis_client import TardisClient, Channel

from tardis_dev import replay, Channel

tardis_client = TardisClient(api_key="...")

pass api_key="..." directly to replay() or download_datasets()

tardis_client.replay(...)

replay(...)

from tardis_dev import datasets

from tardis_dev import download_datasets

datasets.download(...)

download_datasets(...)

tardis_client.clear_cache()

clear_cache()

get_exchange_details(exchange)

get_exchange_details(exchange)

Replay migration

Before

After

What changed:

  • TardisClient is gone; replay() is now a top-level async generator

  • configuration stays explicit at the call site via keyword arguments

  • Channel.symbols=None or omitting symbols means all symbols for that channel

Dataset download migration

Before

After

What changed:

  • datasets subpackage was removed

  • download() was renamed to download_datasets()

  • download_datasets() is the synchronous wrapper; use download_datasets_async() inside an existing event loop

Cache cleanup migration

Before

After

Removed APIs

The following public APIs are intentionally removed in v3:

  • TardisClient

  • reconstruct_market()

  • tardis_client.reconstructors

  • tardis_dev.datasets

Last updated

Was this helpful?