Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

ccxt-python

Skill by ccxt

CCXT for Python is a guide to the CCXT cryptocurrency exchange library. It shows how to connect to exchanges, fetch market data, place orders and stream live prices in Python.

  • Score 90
  • 45k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install ccxt-python

Built from the published package, never by AI.

git clone --depth 1 https://github.com/ccxt/ccxt /tmp/ccxt && mkdir -p ~/.claude/skills && cp -r /tmp/ccxt/.claude/skills/ccxt-python ~/.claude/skills/ccxt-python

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install ccxt-python in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

CCXT for Python is a skill guide for using the CCXT cryptocurrency exchange library in Python projects. It covers installing the package, creating exchange instances, fetching tickers and order books, placing and canceling orders, and checking balances. It also covers the WebSocket API, which uses watch_* methods through ccxt.pro for live tickers, order books, trades, orders and balances.

The source says the REST and WebSocket APIs ship in the same pip package. It shows both synchronous and asynchronous (asyncio) usage, and recommends enableRateLimit, sandbox testing and closing async instances. It is aimed at Python developers building trading bots, doing data analysis or managing portfolios.

Written from the project's SKILL.md and checked against it.

What it can do

  • InstallationInstalls CCXT with pip and lists optional orjson and coincurve performance packages.
  • REST market dataFetches tickers, order books, trades and OHLCV candles using fetch_* methods.
  • Order managementCreates limit and market orders, fetches orders and cancels them.
  • Balance and account dataFetches account balances and your own trades on authenticated exchanges.
  • WebSocket streamingStreams live tickers, order books, trades, orders and balances with watch_* methods.
  • Sync and async usageShows both synchronous REST calls and asyncio-based REST and WebSocket code.
  • Precision and limitsReads market precision and minimum limits and converts amounts and prices to precision.
  • PaginationUses the paginate option to page through historical OHLCV, trades and orders.
  • Capability checksChecks exchange.has and exchange.features before calling a method.

What you need

  • Python
  • pip to install the ccxt package
  • Exchange API key and secret for private endpoints
  • Exchange testnet or demo account, where offered

Try asking

  • Show me how to fetch the BTC/USDT ticker with CCXT in Python
  • Write an asyncio script that streams live BTC/USDT order book updates
  • Help me place a limit buy order for 0.01 BTC using CCXT

Good to know

  • REST endpoints have strict rate limits, described as 1-2 requests per second.
  • WebSocket watch methods require async code and are not available in sync mode.
  • set_sandbox_mode raises NotSupported when an exchange has no testnet.
  • Method support varies by exchange and must be checked with exchange.has.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/ccxt-python/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md51 KB

Alternatives to ccxt-python

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

ccxt-python: common questions

Do I need a separate package for CCXT WebSocket streaming?

No. The source says both REST and WebSocket APIs are included in the same pip install ccxt package, and WebSocket code uses ccxt.pro.

Can I test orders before using real funds?

The source recommends trying orders on a testnet or with the minimum size first. It notes that some exchanges also offer demo trading inside the live API.

Why do I need to close the exchange instance?

The source says to call exchange.close() when done with async instances, and for ccxt.pro it says close() shuts every subscription and socket.

How do I install ccxt-python?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is ccxt-python free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is ccxt-python safe to use?

It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to ccxt-python?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

ccxt-python Install

Add to stack

Loading.