Agent skill · ccxt

ccxt-rust

CCXT cryptocurrency exchange library for Rust developers. Covers both REST API (standard) and WebSocket API (real-time). Helps install CCXT, connect to exchanges, fetch market data, place orders, stream live tickers/orderbooks, handle authentication, and manage errors in Rust projects. Use when working with crypto exchanges in Rust applications, trading bots, or low-latency services. Async (tokio), typed wrappers returning Result<T, ExchangeError>.

What it needs

About 9k tokens when loaded.

What this skill does

CCXT for Rust A comprehensive guide to using CCXT in Rust projects for cryptocurrency exchange integration. Every exchange has a typed wrapper (ccxt::Binance, ccxt::Kraken, …) exposing the unified CCXT API with native Rust return types — Ticker, Order, OrderBook, Market — instead of a dynamic value. All methods are async and return Result<T, ExchangeError>. Installation REST API WebSocket API (ccxt.pro) Prediction markets Cargo.toml Requirements Rust stable, edition 2021 or later. A tokio runtime — every unified method is async. There is no sync API. ccxt alone is enough for REST. Add ccxt-pro only when you need watch; it is a separate crate so a REST-only build does not compile the whole WebSocket surface. Quick Start REST API WebSocket API — real-time updates Each watch call resolves to one decoded update, so consuming a stream is just calling it in a loop. Crate layout Crate Contains Use when --- --- --- ccxt Typed REST wrappers (ccxt::Binance, …), Params, Config, types::, TypedExchange. Re-exports the whole engine at its root. Always ccxt-pro Typed WebSocket wrappers (ccxtpro::Binance, …) with watch Streaming ccxt-prediction Typed prediction-market wrappers (ccxtprediction::Kalshi, …) Prediction markets ccxt-base The untyped engine (Value, HTTP, crypto, rate limiter, Cores, WS infra) Rarely direct — ccxt re-exports it ccxt re-exports ccxt-base at its root, so ccxt::Value, ccxt::runtime::…, ccxt::exchanges::binance::BinanceCore resolve alongside the typed ccxt::Binance. Coverage today: 105 typed REST venues, 76 typed WebSocket venues, 7 prediction venues. …

How to use it

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

@skills ccxt/ccxt-rust

View the source on GitHub

Browse the @skills marketplace