XT AI TradeKit

Web4.0: Build the AI Agent Future with TradeKit

The era of autonomous AI Agent trading is here. Connect to markets, execute strategies, and manage assets with natural language.

Get Started in 3 Minutes

From installation to your first trade in just three steps

Trading needs an XT API key — create one at XT.COM → API Management. View guide

1

Install & Deploy

Install the skills with one command, then deploy the local MCP server — works with mainstream AI agent clients.

Paste this to any AI agent to self-install
Set up XT TradeKit for me (repo: github.com/XtApis/AItradekit).
Skills — run: npx skills add XtApis/AItradekit
MCP — add server "xt-tradekit" to my client config, command: npx -y xt-tradekit
2

Configure API Key

Create an API Key on XT.COM. We recommend starting with read-only permissions, then enabling trading as you get comfortable.

# Secret is entered silently, never via the AI chat
$ npx xt-tradekit setup
3

Start Conversational Trading

Restart your AI session, then describe what you want in natural language — no slash command needed.

# Restart your AI session, then just chat

"What is the current price of BTC/USDT?"
"Check my USDT balance"
"Buy 0.01 BTC at market price"
Claude Code — XT TradeKit
> What is the current price of BTC/USDT?
BTC/USDT   $68,432.50   +2.34%   24h Vol: 1.2B USDT

> Buy 0.01 BTC at market price, take profit at 72000, stop loss at 65000
Confirm: Buy 0.01 BTC @ Market ≈ $684.33
TP: $72,000 (+5.2%)   SL: $65,000 (-5.0%)
[Confirmed]Order Filled

> Open a 3x long on ETH with 500 USDT
Confirm: Open LONG ETH/USDT   3x   500 USDT ≈ 0.81 ETH
Entry ≈ $1,842.50   Liq. ≈ $1,285.00   Funding +0.011%
[Confirmed]Position Opened

> Show my position P&L
Total: $12,580.32   PnL: +$1,245.00 (+10.98%)
Positions: 5   Open Orders: 3   24h Fees: $12.40

> Why is SOL up today?
SOL/USDT   $178.20   +9.4%   Funding +0.031%
Top driver: Firedancer mainnet upgrade live (2h ago)

Why Choose XT TradeKit

Trading infrastructure natively designed for AI Agents, redefining how humans interact with markets

Chat is Trading

Place orders with natural language — no manual API calls or scripts needed. Say goodbye to complex trading interfaces.

Research to Execution

From market analysis to strategy execution, all in one conversation window. AI handles research, analysis, and order placement end-to-end.

Safe Confirmation

All trading operations require explicit confirmation. AI never executes automatically.

Developer Friendly

Open source and transparent. API Keys stored locally. Testnet supported.

AI Client Integration

One install, ready across Claude Code, Cursor, OpenCode and other mainstream AI agent clients.

Claude CodeSupported
ChatGPTSupported
CursorSupported
OpenCodeSupported
OpenClawSupported

Full Asset Class Trading

Spot and USDT perpetual futures, covering the complete trading pipeline

Spot Trading

Market Data
Latest Price · 24h Stats · Order Book · K-Line · Trading Pair Info
Account Queries
Balance Query · Open Orders · Order History
Trading Operations
Limit Buy/Sell · Market Buy/Sell · Cancel Order · Cancel All
Asset Management
Account Transfer · Withdrawal

Futures Trading

Futures Market
Latest Price · Order Book · Funding Rate · K-Line
Position Management
Equity Query · Position Info · Unrealized P&L
Futures Trading
Open Long · Open Short · Close Position · Cancel Order · Order History
Risk Management
Take Profit/Stop Loss · Leverage Adjustment · Position Limits

Market Data & Research

Beyond trading — aggregated market metrics, on-chain safety checks, and real-time news, all in natural language.

Market Data

Open interest · Long/short ratio · Taker volume · Liquidations · Fear & Greed index · Global overview · Sentiment snapshot

On-chain Security

Token security · Honeypot & tax detection · Mint authority · Holder concentration · Coin fundamentals

News & Announcements

XT announcements (10 locales) · Listing & maintenance · Announcement search · Aggregated crypto news · Move attribution

Natural Language, Unlimited Possibilities

Just describe what you want in natural language — no slash command needed.

"What is the current price of BTC/USDT?"

Real-Time Market Query

Get the latest price, change percentage, and volume for any trading pair in one sentence.

"Buy 0.01 BTC at market price"

Quick Market Order

Place orders with natural language. The system displays full order details for confirmation before execution.

"Check my USDT balance"

Account Asset Overview

Query account balances, positions, and unrealized P&L in real time.

"Open long 10 contracts on BTC perpetual"

One-Click Futures Entry

Operate futures trades with natural language — supports long, short, and close positions.

"Cancel all BTC open orders"

Batch Order Cancellation

Clear all open orders for a specific trading pair in one command for efficient order management.

"Transfer 1000 USDT from spot to futures"

Inter-Account Transfer

Flexibly move funds between accounts with a single sentence.

"What is the current price of BTC/USDT?"

Real-Time Market Query

Get the latest price, change percentage, and volume for any trading pair in one sentence.

"Buy 0.01 BTC at market price"

Quick Market Order

Place orders with natural language. The system displays full order details for confirmation before execution.

"Check my USDT balance"

Account Asset Overview

Query account balances, positions, and unrealized P&L in real time.

"Open long 10 contracts on BTC perpetual"

One-Click Futures Entry

Operate futures trades with natural language — supports long, short, and close positions.

"Cancel all BTC open orders"

Batch Order Cancellation

Clear all open orders for a specific trading pair in one command for efficient order management.

"Transfer 1000 USDT from spot to futures"

Inter-Account Transfer

Flexibly move funds between accounts with a single sentence.

Safety First

Multi-layered security mechanisms for worry-free, controllable AI trading

Order Confirmation

All order placements, cancellations, and transfers display full details and require explicit confirmation before execution. AI never trades automatically.

Withdrawal Protection

Withdrawals are irreversible. Before execution, the coin, chain, amount, fee, and destination address are displayed for explicit confirmation.

Local Credential Security

API keys are stored locally at ~/.xt-tradekit/credentials.json (permission 600), never transmitted to any third party.

Minimal Permissions

Supports four permission levels: read-only, trading, transfer, and withdrawal. Start with read-only and enable as needed. IP whitelisting adds extra security.

FAQ

Common questions about XT TradeKit