-
-
Save thaaddeus/d850600a2d8f94e41dbfe7583fc6ac69 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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