Python SDK

Installation

Use the CryptoHFTData Python SDK to download high-frequency trading data from the main crypto exchanges.

Install with pip

Terminal
pip install cryptohftdata

Quick Start

Python
1# Get orderbook data for BTC/USDT on Binance
2df = client.get_orderbook(
3    symbol="BTCUSDT",
4    exchange=chd.exchanges.BINANCE_SPOT,
5    start_date="2025-08-01",
6    end_date="2025-08-01"
7)
8
9# Display basic information about the data
10print(f"Data shape: {df.shape}")
11print(f"Columns: {list(df.columns)}")
12print("First few rows:")
13print(df.head())
14

If you cannot find the information that you need, tell us. We also help with integrations.

Contact support