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-java

Skill by ccxt

Explains how to use the CCXT library in Java to connect to crypto exchanges over REST and WebSocket. It covers market data, order placement, live streams and authentication. Built for Java developers working on trading systems, it requires Java 21 or higher.

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

Install ccxt-java

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-java ~/.claude/skills/ccxt-java

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

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

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

About

CCXT for Java is a skill guide for using the CCXT cryptocurrency exchange library in Java projects. It covers installation through Gradle or Maven, and it shows both the REST API for one-time queries and order placement and the WebSocket API for live tickers, order books and trades. The guide also explains typed and async call patterns, exchange-specific endpoints, testnet mode, precision rounding and pagination.

Developers call exchange methods such as fetchTicker, fetchOrderBook, createOrder and watchOrderBook on typed classes like Binance. Authentication uses apiKey and secret settings for private endpoints. The source states it requires Java 21 or higher and notes that it uses virtual threads. It is aimed at Java developers building crypto exchange integrations, trading systems or financial software.

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

What it can do

  • Install CCXTAdds the io.github.ccxt library to a project using Gradle or Maven.
  • Market data over RESTCalls fetchTicker, fetchOrderBook, fetchTrades and fetchOHLCV for public data.
  • Order managementCreates, fetches and cancels orders with createOrder, fetchOrder and cancelOrder.
  • BalancesRetrieves account balances with fetchBalance.
  • WebSocket streamsStreams live data with watchTicker, watchOrderBook, watchTrades and watchOrders.
  • Exchange-specific endpointsCalls exchange-specific methods such as publicGetTicker24hr on Binance.
  • Precision helpersRounds amounts and prices with amountToPrecision and priceToPrecision.
  • Testnet modeEnables sandbox mode with setSandboxMode(true) where the exchange has a testnet.
  • History paginationLets CCXT paginate history using the paginate parameter.
  • Dynamic instantiationCreates an exchange by name with Exchange.dynamicallyCreateInstance.

What you need

  • Java 21 or higher
  • Gradle or Maven with access to Maven Central
  • Exchange API key and secret for private endpoints

Try asking

  • Show me how to fetch the BTC/USDT ticker on Binance in Java
  • Write Java code that streams the BTC/USDT order book over WebSocket
  • Round an order amount to market precision before placing a limit order

Good to know

  • REST rate limits are described as strict, around 1-2 requests per second.
  • setSandboxMode throws NotSupported if the exchange has no testnet.
  • Private calls require your own API key and secret.

Security check

A

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

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

Inside the skill

  • SKILL.md26 KB

Alternatives to ccxt-java

All alternatives →

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

ccxt-java: common questions

Which Java version does CCXT for Java need?

The source says it requires Java 21 or higher and uses virtual threads.

What is the difference between the REST and WebSocket APIs here?

REST uses fetch methods for one-time queries and order placement. WebSocket uses watch methods for real-time updates over a persistent connection.

Does it support synchronous and asynchronous calls?

Yes. Typed methods block until a result arrives, and each fetch and watch method has an Async overload that returns a CompletableFuture.

How do I install ccxt-java?

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

Is ccxt-java free?

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

Is ccxt-java safe to use?

It scores 91 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-java?

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

ccxt-java Install

Add to stack

Loading.