ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

ccxt

Interact with 100+ cryptocurrency exchanges — fetch markets, order books, tickers, place orders, check balances, and more using the CCXT CLI.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/pcriadoperez/ccxt
Or

CCXT — Cryptocurrency Exchange Trading

You have access to the ccxt CLI tool which lets you interact with 100+ cryptocurrency exchanges (Binance, Bybit, OKX, Kraken, Coinbase, and many more). You can fetch market data, place orders, check balances, and stream live data.

Core Syntax

ccxt <exchange_id> <methodName> [args...] [options]

Before Calling Any Method

If you're unsure about the required arguments for a method, run:

ccxt explain <methodName>

This will show you the required and optional arguments with descriptions.

Available Options

FlagPurpose
--verboseShow raw request/response data
--sandboxUse testnet/sandbox environment
--rawOutput clean JSON without formatting
--swapTarget swap/perpetuals account
--futureTarget futures account
--spotTarget spot account
--optionTarget options account
--param key=valuePass extra exchange-specific params (repeatable)
--no-keysSkip API key loading

Common Operations

Market Data (Public — No API Keys Required)

Fetch markets (list all trading pairs on an exchange):

ccxt <exchange> fetchMarkets --raw

Fetch a single ticker:

ccxt <exchange> fetchTicker "BTC/USDT" --raw

Fetch multiple tickers:

ccxt <exchange> fetchTickers --raw

Fetch order book:

ccxt <exchange> fetchOrderBook "BTC/USDT" --raw

Fetch OHLCV candles:

ccxt <exchange> fetchOHLCV "BTC/USDT" 1h undefined 10 --raw

Fetch recent trades:

ccxt <exchange> fetchTrades "BTC/USDT" --raw

Fetch exchange status:

ccxt <exchange> fetchStatus --raw

Fetch currencies:

ccxt <exchange> fetchCurrencies --raw

Trading (Private — Requires API Keys)

Create an order:

ccxt <exchange> createOrder "BTC/USDT" limit buy 0.001 50000 --raw
ccxt <exchange> createOrder "BTC/USDT" market buy 0.001 --raw

Create order with extra params:

ccxt <exchange> createOrder "BTC/USDT" limit buy 0.001 50000 --param stopPrice=49000 --raw

Cancel an order:

ccxt <exchange> cancelOrder "<order_id>" "BTC/USDT" --raw

Fetch open orders:

ccxt <exchange> fetchOpenOrders "BTC/USDT" --raw

Fetch closed orders:

ccxt <exchange> fetchClosedOrders "BTC/USDT" --raw

Fetch a specific order:

ccxt <exchange> fetchOrder "<order_id>" "BTC/USDT" --raw

Account (Private — Requires API Keys)

Fetch balance:

ccxt <exchange> fetchBalance --raw

Fetch balance for derivatives:

ccxt <exchange> fetchBalance --swap --raw

Fetch my trades:

ccxt <exchange> fetchMyTrades "BTC/USDT" --raw

Fetch positions (derivatives):

ccxt <exchange> fetchPositions --swap --raw

Fetch deposit address:

ccxt <exchange> fetchDepositAddress "BTC" --raw

Derivatives

Metadata

Stars1217
Views0
Updated2026-02-20
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-pcriadoperez-ccxt": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.