Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
hkuds avatar

Ccxt

  • 2 installs
  • 29.6k repo stars
  • Updated August 4, 2026
  • hkuds/vibe-trading

Fetch free public crypto market data (OHLCV, tickers, order books) across 100+ exchanges with CCXT as a fallback when a single exchange is down.

About

Documents the CCXT library for fetching free public market data across 100+ crypto exchanges as a fallback data source. A developer uses it to pull OHLCV, tickers, or order books when a single exchange like OKX is unavailable.

  • Unified access to 100+ crypto exchanges
  • Free public OHLCV, tickers, and order books, no API key

Ccxt by the numbers

  • 2 all-time installs (skills.sh)
  • Ranked #869 of 1,106 Finance & Trading skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/hkuds/vibe-trading --skill ccxt

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs2
repo stars29.6k
Last updatedAugust 4, 2026
Repositoryhkuds/vibe-trading

What it does

Fetch free public crypto market data (OHLCV, tickers, order books) across 100+ exchanges with CCXT as a fallback when a single exchange is down.

Files

SKILL.mdMarkdownGitHub ↗

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], ...]

# Fetch ticker
ticker = exchange.fetch_ticker("ETH/USDT")
print(f"ETH price: {ticker['last']}")

Key Methods

MethodDescriptionReturns
fetch_ohlcv(symbol, timeframe, since, limit)Historical candles[[ts, o, h, l, c, v], ...]
fetch_ticker(symbol)Latest quote{last, bid, ask, volume, ...}
fetch_tickers(symbols)Batch quotes{symbol: ticker}
fetch_order_book(symbol, limit)Order book{bids, asks, timestamp}
fetch_trades(symbol, since, limit)Recent trades[{price, amount, side, timestamp}, ...]

Timeframes

1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 12h, 1d, 1w, 1M

Note: not all exchanges support all timeframes. Use exchange.timeframes to check.

Symbol Format

CCXT uses slash format: BTC/USDT, ETH/BTC, SOL/USDT

The project's DataLoader automatically converts BTC-USDT (hyphen) to BTC/USDT (slash).

Exchange Selection

Set via environment variable: CCXT_EXCHANGE=binance (default)

Popular exchanges: binance, bybit, okx, coinbase, kraken, bitget, gate

Built-in Loader

The project has a built-in CCXT DataLoader at backtest/loaders/ccxt_loader.py. It serves as a fallback when the OKX loader is unavailable.

Pagination

For long history, CCXT paginates via the since parameter (millisecond timestamp). The built-in loader handles this automatically (up to 200 pages).

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.