dccd logo dccd logo

Download Crypto Currencies Data

Download Crypto Currencies Data

Python versions PyPI version PyPI status CI License Documentation Coverage Docstring coverage Downloads

dccd downloads crypto-currency data (OHLCV, trades, order book) from multiple exchanges via REST and WebSocket APIs.

pip install dccd
Python API

Historical REST downloads and real-time WebSocket streams — use dccd directly in your scripts or notebooks.

Quickstart
CLI Daemon

Autonomous server-side collector driven by a YAML config with scheduling, WebSocket streams, and rclone remote sync.

Daemon (dccd.daemon)
Storage & Formats

Annual Parquet files by default · CSV · Excel · SQLite · PostgreSQL · Polars & Pandas output.

Storage (dccd.storage)

Key features

  • 7 exchanges — Binance, Coinbase, Kraken, Bybit, OKX, Bitfinex, Bitmex

  • 3 data types — OHLCV candles, trade history, order book snapshots

  • Incremental updatesstart='last' resumes from the last saved timestamp, no duplicates

  • Polars-native outputget_data() returns a polars.DataFrame; get_data(format='pandas') for Pandas

  • No 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.