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.
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-javaRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/ccxt/ccxt /tmp/ccxt && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ccxt/.claude/skills/ccxt-java ~/.gemini/antigravity-cli/skills/ccxt-javaAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Lists live launchpad token feeds and AI-detected hot topics for meme tokens on BSC, Solana and Base. Covers new, finalizing and just-migrated tokens on launchpads such as Pump.fun and Four.meme.
The okx-market skill lets an AI assistant retrieve cryptocurrency market data from the OKX V5 REST API. It is aimed at users who want spot, derivatives and index data in Python without an account.
Calculates key SaaS health metrics such as ARR, churn, LTV and CAC from raw business numbers, then gives prioritized advice. Built for founders and finance leads who share revenue or customer figures.
Fetches U.S. SEC EDGAR data for research. It resolves a ticker to its CIK, lists recent filings with primary-document URLs, and pulls XBRL financial series. Built for analysts who need free, U.S.-only filing data.
Provides free, no-auth access to Eastmoney market data for A-shares, Hong Kong stocks and US stocks. It covers fund flows, dragon-tiger lists, financial statements and stock screening.
Reads and manages a user's QuickBooks business through Intuit's official MCP server. It answers finance questions from reports, invoices, customers, products and benchmarks, and completes approved actions.
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.
