Migration 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.
Install the new package
pip uninstall tardis-client
pip install tardis-devIf you were already using the dataset-download package, upgrade it in place:
pip install --upgrade tardis-devAPI mapping
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:
TardisClientis gone;replay()is now a top-level async generatorconfiguration stays explicit at the call site via keyword arguments
Channel.symbols=Noneor omittingsymbolsmeans all symbols for that channel
Dataset download migration
Before
After
What changed:
datasetssubpackage was removeddownload()was renamed todownload_datasets()download_datasets()is the synchronous wrapper; usedownload_datasets_async()inside an existing event loop
Cache cleanup migration
Before
After
Removed APIs
The following public APIs are intentionally removed in v3:
TardisClientreconstruct_market()tardis_client.reconstructorstardis_dev.datasets
Related docs
Last updated
Was this helpful?