Skip to content

Instantly share code, notes, and snippets.

@thaaddeus
Created January 27, 2022 12:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thaaddeus/d850600a2d8f94e41dbfe7583fc6ac69 to your computer and use it in GitHub Desktop.
Save thaaddeus/d850600a2d8f94e41dbfe7583fc6ac69 to your computer and use it in GitHub Desktop.
from tardis_dev import datasets
datasets.download(
exchange="deribit",
data_types=[
"incremental_book_L2",
"trades",
"quotes",
"derivative_ticker",
"book_snapshot_25",
"liquidations"
],
from_date="2021-12-01",
to_date="2021-12-02",
symbols=["BTC-PERPETUAL", "ETH-PERPETUAL"],
api_key="YOUR API KEY"
)
# pip install tardis-dev
# requires Python >=3.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment