Agent skill · software engineering · ccxt

ccxt-java

CCXT cryptocurrency exchange library for Java 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 Java projects. Use when working with crypto exchanges in Java applications, trading systems, or financial software. Requires Java 21+.

Why this skill is useful

Provides specific Java integration patterns and commands for using the CCXT library with cryptocurrency exchanges that the AI wouldn't reliably generate on its own.

What it needs

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

What this skill does

CCXT for Java A comprehensive guide to using CCXT in Java projects for cryptocurrency exchange integration. Installation Via Gradle Via Maven Requirements Java 21 or higher (uses virtual threads) Quick Start REST API WebSocket API - Real-time Updates Architecture: Typed Subclasses Each exchange has two classes following the Go pattern: BinanceCore - transpiled untyped class (internal, extends BinanceApi extends Exchange) Binance - typed wrapper extending Core with typed overloads (user-facing) The typed methods use Java method overloading. They coexist safely with untyped methods because Java resolves overloads at compile time: BinanceCore.java is compiled without knowledge of Binance.java's typed overloads, so internal calls always bind to untyped varargs. REST vs WebSocket Feature REST API WebSocket API --------- ---------- --------------- Use for One-time queries, placing orders Real-time monitoring, live price feeds Import io.github.ccxt.exchanges.Binance io.github.ccxt.exchanges.pro.Binance Methods fetch (fetchTicker, fetchOrderBook) watch (watchTicker, watchOrderBook) Returns Typed objects (Ticker, List\<Trade\>) CompletableFuture<Object> (call .join()) Speed Slower (HTTP request/response) Faster (persistent connection) Rate limits Strict (1-2 req/sec) More lenient (continuous stream) Best for Trading, account management Price monitoring, arbitrage detection Creating Exchange Instance REST API WebSocket API Dynamic Instantiation (generic, untyped) Common REST Operations Loading Markets Fetching Ticker Fetching Order Book Fetching Trades Fetching OHLCV (Candlesticks) Creating Orders Limit Order Market Order Fetching Balance Fetching Orders Canceling Orders Exchange-Specific (Implicit) API Each exchange class inherits exchange-specific endpoint methods from its Api class. These return CompletableFuture<Object> (untyped): WebSocket Operations (Real-time) WebSocket classes are in io.github.ccxt.exchanges.pro. …

How to use it

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

@skills ccxt/ccxt-java

View the source on GitHub

Browse the @skills marketplace