curl -sSfL https://raw.githubusercontent.com/crypto-com/cdcx-cli/main/install.sh | sh
Copied!
86 MCP tools with typed parameters, safety enforcement, and schema discovery. 12 agent skill files. Works with Claude, GPT, Copilot, Gemini, and any MCP client.
86 REST endpoints across 10 API groups. --help on everything. --dry-run to preview. --output json for scripts. Profiles for multi-account. Paper trading.
Full-screen TUI with streaming data, candlestick charts, heatmap, split screen, order workflows. Toggle between LIVE and PAPER mode with one key.
86 endpoints from the Crypto.com Exchange API. Tickers, order books, trades, candlesticks, instruments — all accessible as simple CLI commands with table or JSON output.

cdcx market ticker BTC_USDT | Live ticker for one instrument |
cdcx market book BTC_USDT | Order book with depth |
cdcx market trades BTC_USDT | Recent trades |
cdcx market candlestick BTC_USDT | OHLCV candlestick data |
cdcx market instruments | All available instruments |
Full-screen dashboard with 6 tabs, real-time WebSocket streaming, sparklines, heatmap mode, and zero flicker. Built with ratatui — character-level double-buffer diffing.



Market, Portfolio, Orders, History, Watchlist, Positions
WebSocket ticker, book, candlestick, trade channels. Auto-reconnect.
24h Braille-dot price charts from real candle data.
Toggle h — rows glow red/green by 24h performance.
\ splits table + chart. Navigate rows, chart follows.
Session P&L in the status bar. Portfolio tab shows cash vs positions breakdown with real-time tracking.
Toggle p — trade against local paper engine with unrealized/realized P&L tracking.
o for OCO (stop-loss + take-profit). O for OTOCO (entry + SL + TP).
terminal-pro, cyber-midnight, monochrome, neon, micky-d, amber. Plus custom TOML.
Candlestick charts with volume bars, 9 timeframes, streaming updates. Compare up to 4 instruments side by side.


k | Toggle candlestick chart |
[ / ] | Cycle timeframe (1m, 5m, 15m, 1h, 4h, 1D) |
m | Compare mode — up to 4 instruments |
a / d | Add/remove instruments in compare |
Place orders, cancel, amend — all with safety confirmations and dry-run preview. Every dangerous operation requires explicit acknowledgment.
read, sensitive_read, mutate, dangerous. Each with appropriate guardrails.
--dry-run previews the exact API payload without executing.
Press t for interactive order placement with instrument picker.
Local paper trading engine with live market prices. No auth required. Track positions, unrealized/realized P&L, cash vs position breakdown, and trade history. Available in both CLI and TUI.


cdcx paper init --balance 50000 | Create paper account |
cdcx paper buy BTC_USDT --quantity 0.01 | Market buy |
cdcx paper sell BTC_USDT --quantity 0.01 | Market sell |
cdcx paper positions | Portfolio + live P&L |
cdcx paper balance | Account balance |
cdcx paper reset | Start fresh |
Expose the Exchange API as MCP tools. Claude, GPT, or any MCP-compatible agent gets 86 typed, documented tools with safety enforcement — market data, trading, advanced orders, OTC, wallet, staking, fiat, margin.
WebSocket streaming as newline-delimited JSON. Pipe to jq, feed to agents, or just watch the market flow.
cdcx stream ticker | Stream ticker updates |
cdcx stream book | Stream order book |
cdcx stream trades | Stream trade executions |
cdcx stream orders | Your order updates (auth) |
cdcx stream positions | Position changes (auth) |
Single binary, no runtime dependencies. macOS and Linux.
cdcx setup | Interactive credential setup |
cdcx tui --setup | TUI wizard — theme, watchlist, tick rate |
--profile uat | Switch credential profiles |
--env uat | Target UAT/sandbox |
6 built-in themes. Or define your own in ~/.config/cdcx/tui.toml with hex colors.

| 1-6 / Tab | Switch tabs |
| Enter | Instrument detail (book + trades) |
| k | Candlestick chart |
| m | Compare charts (up to 4) |
| h | Toggle heatmap |
| i | Instrument spotlight |
| \ | Split screen (table + chart) |
| [ / ] | Cycle chart timeframe |
| s / S | Sort / reverse sort |
| / | Search instruments |
| t | Place order |
| o | OCO order (stop-loss + take-profit) |
| O | OTOCO order (entry + SL + TP) |
| c | Cancel orders |
| p | Toggle LIVE / PAPER mode |
| ! | Set price alert |
| y | Copy to clipboard (CSV) |
| ? | Help overlay |
| q | Quit |