ccxt

Provide CCXT usage guidance for trading bots across 150+ exchanges.

22.7k|2.4k|Updated Dec 17, 2025
One-click install
npx skills add https://github.com/2025Emma/vibe-coding-cn --skill ccxt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ccxt
Source: https://github.com/2025Emma/vibe-coding-cn/tree/main/i18n/en/skills/ccxt
Command: npx skills add https://github.com/2025Emma/vibe-coding-cn --skill ccxt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

CCXT Skill provides comprehensive guidance for using the CCXT cryptocurrency trading library, enabling developers to work with exchange APIs, trading, and market data across 150+ exchanges with less guesswork.

Core Features & Use Cases

  • Unified API guidance for CCXT across many exchanges and languages
  • APIs, debugging, and best practices for building crypto trading automation
  • Learning CCXT patterns and troubleshooting common issues

Quick Start

Install CCXT in your project and begin querying an exchange (e.g., fetch markets from Binance) to jump-start CCXT automation.

Frequently Asked Questions about ccxt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I connect to cryptocurrency exchanges using a unified API?

CCXT provides a unified API that works across 150+ exchanges like Binance, Kraken, and Coinbase. Install CCXT in your project, instantiate an exchange (e.g., `ccxt.binance()`), and call methods like `fetch_markets()` or `fetch_ticker()` with consistent syntax across all supported exchanges.

Can I use CCXT to build a trading bot?

Yes. CCXT supports order placement, market data fetching, and account management across exchanges. Use methods like `create_order()`, `fetch_balance()`, and `fetch_ohlcv()` to build bots in JavaScript, Python, or PHP. Handle authentication securely and implement error handling for network and exchange-specific failures.

What are common issues when integrating CCXT with exchanges?

Common challenges include API rate limits, authentication errors, inconsistent response formats between exchanges, and connectivity timeouts. CCXT troubleshooting covers debugging these issues, validating credentials, handling rate-limit exceptions, and using retry logic with appropriate backoff strategies.

Does CCXT support real-time market data streaming?

CCXT supports REST APIs by default. CCXT Pro adds WebSocket streaming for real-time market data and order updates when needed. Check exchange-specific support for streaming endpoints and use Pro subscriptions for continuous data feeds across supported exchanges.

Which programming languages work with CCXT?

CCXT is available in JavaScript, Python, and PHP. All three implementations provide the same unified API and support the same 150+ exchanges, so you can choose based on your project's tech stack and deploy consistently across languages.

How do I fetch historical market data from exchanges?

Use CCXT's `fetch_ohlcv()` method to retrieve candlestick data across timeframes and exchanges. Specify the symbol, timeframe (1m, 5m, 1h, 1d, etc.), and optional since parameter to paginate historical data. Combine with loops and rate-limit handling for complete datasets.