Download Crypto Currencies Data
Download Crypto Currencies Data¶
dccd downloads crypto-currency data (OHLCV, trades, order book) from
multiple exchanges via REST and WebSocket APIs.
pip install dccd
Historical REST downloads and real-time WebSocket streams — use
dccd directly in your scripts or notebooks.
Autonomous server-side collector driven by a YAML config with scheduling, WebSocket streams, and rclone remote sync.
Annual Parquet files by default · CSV · Excel · SQLite · PostgreSQL · Polars & Pandas output.
Key features
7 exchanges — Binance, Coinbase, Kraken, Bybit, OKX, Bitfinex, Bitmex
3 data types — OHLCV candles, trade history, order book snapshots
Incremental updates —
start='last'resumes from the last saved timestamp, no duplicatesPolars-native output —
get_data()returns apolars.DataFrame;get_data(format='pandas')for PandasNo API key required — all endpoints used are public
Autonomous daemon — YAML config, APScheduler, WebSocket streams, rclone remote sync
Supported exchanges¶
Exchange |
REST OHLCV |
REST Trades |
REST Order Book |
WS OHLCV |
WS Trades |
WS Order Book |
|---|---|---|---|---|---|---|
Binance |
✓ |
✓ |
✓ |
✓ |
✓ |
|
Coinbase |
✓ |
✓ † |
✓ |
|||
Kraken |
✓ |
✓ |
✓ |
✓ |
✓ |
✓ |
Bybit |
✓ |
✓ † |
✓ |
✓ |
✓ |
|
OKX |
✓ |
✓ |
✓ |
✓ |
✓ |
✓ |
Bitfinex |
✓ * |
✓ |
✓ |
|||
Bitmex |
✓ |
✓ |
* Bitfinex WS OHLCV is aggregated from the trades stream via get_ohlc_bitfinex.
† Recent trades only (Bybit ≤ 1 000, Coinbase ≤ 100) — no deep historical pagination via the public REST API.