ccxt
Installation
SKILL.md
Overview
CCXT is a unified cryptocurrency exchange trading library supporting 100+ exchanges including Binance, Bybit, OKX, Coinbase, Kraken, and more. Public market data (OHLCV, tickers, order books) requires no API key.
- GitHub: https://github.com/ccxt/ccxt (35k+ stars)
- Install:
pip install ccxt
Quick Start
import ccxt
exchange = ccxt.binance({"enableRateLimit": True})
# Fetch daily OHLCV
ohlcv = exchange.fetch_ohlcv("BTC/USDT", "1d", limit=100)
# Returns: [[timestamp, open, high, low, close, volume], ...]