Python Client

Python tardis-client GitHub repository

Python tardis-clientarrow-up-right provides simple and intuitive way of accessing Tardis.dev historical market data API. Detailed and most up to date documentation & installation instructions can be found on GitHubarrow-up-right, but the gist of it is that you provide exchange name, historical date ranges and optional filters (channel names are the same as exchange's channels in real-time WebSocket feeds, same for symbols) and you receive an Async Generatorarrow-up-right that provides market data message for each iteration. Local disk-based caching is being done transparently in the background. Cached data is stored on disk in compressed form (GZIP) and decompressed on demand when reading the data. See example snippet below that shows how to replay some of the historical BitMEX data.

circle-info

Requires Python 3.7.0+.

Try on repl.itarrow-up-right

Examples

■ BitMEX historical trades and order book data replay

Try on repl.itarrow-up-right

■ Saving Deribit historical index data to CSV file

Try on repl.itarrow-up-right

Last updated