Skip to content

Agent Trade Kit

The official toolkit for AI agents to trade on Toobit.

Drive trading with natural language — from market queries to order execution. Built-in MCP Server + CLI, fully open-source, runs locally, and your keys never leave your device.

Supported Features

ModuleFeaturesTools
MarketReal-time quotes, depth, candlesticks, mark price, funding rate, open interest, index price, long/short ratio21
SpotPlace orders, cancel orders, batch operations, query orders, trade history10
Futures (USDT-M)Open/close positions, leverage, margin, take-profit/stop-loss, flash close, reverse position25
AccountBalance queries, deposit/withdrawal records, sub-account management, transfers, flow, API Key check10

Total: 66 tools

Two Ways to Use

MCP Server

toobit-trade-mcp

Connect to Claude, Cursor, VS Code, or any AI client that supports MCP (Model Context Protocol) to call all Toobit trading tools via natural language.

CLI

toobit

Trade directly from the terminal. Supports piping, cron jobs, and scripts — no AI client required.

Use Case Examples

ScenarioNatural Language Example
Position health check"Show all my futures positions and today's PnL"
News-driven trading"Market buy 1,000 USD worth of BTC immediately"
Spot stop-loss"Market buy 500 USDT of ETH, stop-loss at 3500"
Leveraged futures"10x long BTC-SWAP-USDT, quantity 0.1 BTC"
Reverse position"Reverse my BTC-SWAP-USDT long into a short"
Batch order management"Cancel all my open BTC-SWAP-USDT orders"

Project Structure

agent-toobit-kit/
├── packages/
│   ├── core/          # shared core library
│   ├── mcp/           # toobit-trade-mcp — MCP server
│   └── cli/           # toobit-trade-cli — CLI tool
└── README.md

Released under the MIT License.