Agent skill · software engineering · ccxt

ccxt-cli

CCXT command-line interface (ccxt-cli) for interacting with 100+ cryptocurrency exchanges directly from the terminal — no code required. Covers installing the CLI, calling any unified CCXT method (fetchTicker, fetchOHLCV, createOrder, fetchBalance), passing arguments and exchange-specific params, authenticating with API keys, sandbox/testnet mode, streaming live tickers and orderbooks over WebSocket, plotting OHLCV charts, and scripting with raw JSON output. Use when the user wants to query an exchange, test API credentials, place or inspect orders, or debug exchange requests from the command line or in shell scripts.

Why this skill is useful

Adds executable CLI commands for interacting with 100+ cryptocurrency exchanges, enabling users to perform complex API operations without coding.

What it needs

Requires npm installed locally. About 9k tokens when loaded. Last updated 2026-08-06. 43,551 stars on the source repository.

What this skill does

CCXT CLI The CCXT CLI (ccxt-cli on npm) exposes the entire unified CCXT API as a terminal command. Anything you can call in code — fetchTicker, fetchOHLCV, createOrder, fetchBalance, withdraw, exchange-specific implicit methods — you can call as: It supports 100+ exchanges, REST and WebSocket, public and private endpoints, live terminal dashboards, and interactive OHLCV charts. Installation One-off use without installing (note -p ccxt-cli — the package name differs from the binary name): From a clone of the CCXT repository (contributor mode — uses the local source tree instead of the published package): Quick start Every run prints the CCXT version, the resolved call (e.g. kraken.fetchTicker ("BTC/USD")), the result, and timing. Use --raw to suppress everything except the JSON result. Discovering methods and arguments ccxt explain <method> output shows the argument order you must follow: Argument rules (important) Arguments are positional and must follow the method's signature order. The CLI auto-converts each argument: You type The method receives --- --- BTC/USDT string 'BTC/USDT' 0.001, 100 number undefined undefined (placeholder to skip an optional arg — the call echo displays it as null, which is expected) true / false / null boolean / null "2025-05-01T01:23:45Z" milliseconds timestamp (ISO8601 datetimes auto-convert; date-only strings like 2025-05-01 do NOT — include the time part) '{"recvWindow":5000}' object (JSON must be shell-quoted) '["BTC/USDT","ETH/USDT"]' array (shell-quoted) Rule 1 — pad skipped optionals with undefined. To pass limit without since: Rule 2 — --param key=value appends to the trailing params object. Repeat it for multiple keys. Values are coerced the same way (true, false, null, numbers, strings): Rule 3 — when using --param, explicitly fill ALL earlier optional positionals with undefined. If you leave gaps, the CLI mis-assigns arguments (a known quirk — the params object can end up in the wrong position). …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills ccxt/ccxt-cli

View the source on GitHub

Browse the @skills marketplace