Agent skill

CCXT Crypto Market Data

by HKUDS in HKUDS/Vibe-Trading

Fetches public crypto market data (candles, tickers, order books, trades) from 100+ exchanges through CCXT, and serves as the fallback when OKX is unavailable.

MITAuto-check passedBusiness, Finance & HR

Install CCXT Crypto Market Data

skills CLI
$ npx skills add HKUDS/Vibe-Trading --skill ccxt -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install HKUDS/Vibe-Trading ccxt --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agent/src/skills/ccxt .claude/skills/ccxt && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ccxt
GitHub stars
35k
Token cost
~544 tokens
SKILL.md length
191 words
Files
1
Skills in repo
89
Repo updated
First seen
Licence
MIT

At a glance

Fetches public crypto market data (candles, tickers, order books, trades) from 100+ exchanges through CCXT, and serves as the fallback when OKX is unavailable.

  • Downloading historical crypto candles without an API key
  • SKILL.md covers Overview, Quick Start, Key Methods and Timeframes, plus 4 more sections
  • Calls pip
  • Getting a live ticker or order book from an exchange

What it does

CCXT is a unified Python library for cryptocurrency exchanges, covering 100+ of them including Binance, Bybit, OKX, Coinbase and Kraken. The skill sticks to public market data, which needs no API key, and lists the key methods: fetch_ohlcv for historical candles, fetch_ticker and fetch_tickers for quotes, fetch_order_book and fetch_trades.

Practical details include the slash symbol format such as BTC/USDT, which the project's loader converts from the hyphen form, the supported timeframes from 1m to 1M (check exchange.timeframes, since support varies), exchange selection through the CCXT_EXCHANGE variable with binance as the default, and pagination through the since parameter. The built-in loader pages automatically up to 200 pages and acts as a fallback when the OKX loader is not available.

When your agent uses it

  • Downloading historical crypto candles without an API key
  • Getting a live ticker or order book from an exchange
  • Falling back to CCXT when the OKX loader is unavailable
  • Choosing symbols and timeframes that an exchange supports

Example prompts

  • “Fetch hourly BTC/USDT candles from Binance for the last week.”
  • “Show the current order book for ETH/USDT on Kraken.”
  • “Switch the data source to Bybit using the exchange variable.”
  • “Which timeframes does OKX support in CCXT?”

Requirements

  • Python with ccxt (pip install ccxt)
  • Network access to the exchanges' public APIs

What it can do on your machine

Read from SKILL.md and the folder at commit 7f6908b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

CCXT Crypto Market Data loads about 544 tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 191 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~30
When it runs · the whole SKILL.md, loaded when a task matches
~544

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from HKUDS/Vibe-Trading at commit 7f6908b, republished under its MIT licence (© HKUDS). 191 words, ~544 tokens.

Download SKILL.mdSave it as .claude/skills/ccxt/SKILL.md (or your agent's skills folder).
name
ccxt
description
CCXT unified crypto exchange library (100+ exchanges). Free public market data. Fallback when OKX is unavailable.
category
data-source

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.

Quick Start

python
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).

© HKUDS, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in agent/src/skills/ccxt of HKUDS/Vibe-Trading.

Open the folder on GitHubat commit 7f6908b

Compare with similar skills

CCXT Crypto Market Data next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

CCXT Crypto Market Data compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
CCXT Crypto Market Data this skillHKUDS/Vibe-Trading35k—~544Automated safety check: PassMIT
Fintoolsecond-state/fintool316—~5.9kAutomated safety check: PassNone
ArbiscanLeoYeAI/openclaw-master-skills2.2k—~4.7kAutomated safety check: PassMIT
CCXT Crypto Exchange Library2025Emma/vibe-coding-cn23k2 repos~4.4kAutomated safety check: PassMIT
Okx Cex Marketdex-original/okx-agent-trade-kit1101 repos~2.7kAutomated safety check: PassMIT
Okx Cex Smartmoneydex-original/okx-agent-trade-kit1101 repos~1.4kAutomated safety check: PassMIT

Similar skills

  • Fintool

    second-state/fintool

    Financial trading CLIs — spot and perp trading on Hyperliquid, Binance, Coinbase, OKX.

    316 GitHub stars~5.9k tokensUpdated 4 mo ago
    Business, Finance & HRAuto-check passed
  • Arbiscan

    LeoYeAI/openclaw-master-skills

    Comprehensive crypto market scanner across Binance, OKX, Bybit, and Bitget.

    2.2k GitHub stars~4.7k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check passed
  • CCXT Crypto Exchange Library

    2025Emma/vibe-coding-cn

    Reference help for the CCXT library covering crypto exchange APIs, market data, trading and order management across 150+ exchanges in JavaScript, Python and PHP.

    23k GitHub starsUsed in 2 repos~4.4k tokens
    Business, Finance & HRAuto-check passed
  • Okx Cex Market

    dex-original/okx-agent-trade-kit

    A skill your agent uses when the user asks for: price of any asset, ticker, order book, candles, OHLCV, funding rate, open interest, OI change scanner, market screener (top movers, high-volume…

    110 GitHub starsUsed in 1 repo~2.7k tokens
    Business, Finance & HRAuto-check passed
  • Okx Cex Smartmoney

    dex-original/okx-agent-trade-kit

    Smart Money analytics on OKX: leaderboard traders, position tracking, trade records, aggregated consensus signals, and signal history.

    110 GitHub starsUsed in 1 repo~1.4k tokens
    Business, Finance & HRAuto-check passed
  • Okx Sentiment Tracker

    dex-original/okx-agent-trade-kit

    A skill your agent uses when the user asks about: 'any crypto news', 'latest news', 'market update', 'daily briefing', 'BTC news', 'ETH news', 'news on SOL', 'search SEC ETF', 'regulation news'…

    110 GitHub starsUsed in 1 repo~3.8k tokens
    Business, Finance & HRAuto-check passed

More from HKUDS/Vibe-Trading

All 89 skills in this repo
  • Eastmoney Market Data

    HKUDS/Vibe-Trading

    Index of Eastmoney's free, no-token market data interfaces for China A-shares and Hong Kong stocks: fund flows, dragon-tiger lists, margin trading, reports and news.

    35k GitHub stars~1k tokensUpdated yesterday
    Auto-check passed
  • OKX Market Data

    HKUDS/Vibe-Trading

    Retrieves public OKX cryptocurrency market data such as spot prices, candlesticks, funding rates and open interest through the OKX V5 REST API, with no authentication.

    35k GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • SEC EDGAR Filings Fetcher

    HKUDS/Vibe-Trading

    Fetches U.S. SEC EDGAR data: resolves tickers to CIK numbers, lists recent 10-K, 10-Q and 8-K filings with document URLs, and pulls XBRL financial series.

    35k GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • A-Share ST Risk Screener

    HKUDS/Vibe-Trading

    Predicts whether a mainland China A-share company risks an ST or *ST warning after its next annual report, using financial thresholds and Sina penalty records.

    35k GitHub stars~4.9k tokensUpdated yesterday
    Auto-check passed
  • Breaks a structural trend such as AI infrastructure into its physical supply chain and ranks lesser-known listed companies sitting on each bottleneck.

    35k GitHub stars~2.7k tokensUpdated yesterday
    Auto-check passed
  • Plans and drafts an eight-part, roughly 120k-word investigative series on one company, built around a strict fact-check pass rather than fast drafting.

    35k GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed

Questions about CCXT Crypto Market Data

What does CCXT Crypto Market Data do?

Fetches public crypto market data (candles, tickers, order books, trades) from 100+ exchanges through CCXT, and serves as the fallback when OKX is unavailable. CCXT is a unified Python library for cryptocurrency exchanges, covering 100+ of them including Binance, Bybit, OKX, Coinbase and Kraken. The skill sticks to public market data, which needs no API key, and lists the key methods: fetch_ohlcv for historical candles, fetch_ticker and fetch_tickers for quotes, fetch_order_book and fetch_trades.

When should I use CCXT Crypto Market Data?

CCXT Crypto Market Data fits situations like: downloading historical crypto candles without an API key; getting a live ticker or order book from an exchange; falling back to CCXT when the OKX loader is unavailable; choosing symbols and timeframes that an exchange supports.

How do I install CCXT Crypto Market Data in Claude Code?

Run `npx skills add HKUDS/Vibe-Trading --skill ccxt -a claude-code`. Or copy the skill folder (agent/src/skills/ccxt in HKUDS/Vibe-Trading) into .claude/skills/ccxt in your project. Claude Code loads it when a task matches its description.

How do I install CCXT Crypto Market Data in Codex?

Run `npx skills add HKUDS/Vibe-Trading --skill ccxt -a codex`. Or copy the skill folder (agent/src/skills/ccxt in HKUDS/Vibe-Trading) into .agents/skills/ccxt in your project. Codex loads it when a task matches its description.

Can I use CCXT Crypto Market Data in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HKUDS/Vibe-Trading --skill ccxt -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ccxt, .gemini/skills/ccxt, .github/skills/ccxt and .opencode/skills/ccxt in your project.

What does CCXT Crypto Market Data need to run?

Going by SKILL.md and its folder, CCXT Crypto Market Data needs the command-line tools its instructions call (pip). Our summary lists: Python with ccxt (pip install ccxt); Network access to the exchanges' public APIs.

Does CCXT Crypto Market Data access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is CCXT Crypto Market Data safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does CCXT Crypto Market Data use?

CCXT Crypto Market Data is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does CCXT Crypto Market Data use?

About 544 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to CCXT Crypto Market Data?

Skills that share tags, products or a category with CCXT Crypto Market Data: Fintool (second-state/fintool, 316 stars), Arbiscan (LeoYeAI/openclaw-master-skills, 2.2k stars), CCXT Crypto Exchange Library (2025Emma/vibe-coding-cn, 23k stars) and Okx Cex Market (dex-original/okx-agent-trade-kit, 110 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains CCXT Crypto Market Data?

HKUDS (a GitHub organization) maintains it in HKUDS/Vibe-Trading, which has 34,884 GitHub stars. The repository holds 89 skills in this directory. The repository was last updated on October 6, 2026.

Source: HKUDS/Vibe-Trading on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.