Symbol trading rules
symbol_spec1 credit. Exact trading rules for one symbol on one venue: tick size (price step), lot/size step, minimum order size and minimum order value, contract value, max leverage and base fee, plus the venue's own symbol format and a ready rounding snippet (Python Decimal). Call it before writing order-size or price code so orders are not rejected for wrong precision or size. Sourced and dated.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"venue": "<venue>",
"symbol": "<symbol>"
},
"name": "symbol_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| venue | Yes | Exchange or broker id, lowercase: binance (Binance), bitget (Bitget), bybit (Bybit), coinbase (Coinbase), gate (Gate), ibkr (Interactive Brokers), kraken (Kraken), kucoin (KuCoin), mt5 (MetaTrader 5 (broker patterns)), okx (OKX). Call list_venues (free) to see what each one covers. | |
| market | No | Optional: spot, perp (perpetual futures/swaps), stock or fx. Guessed from the symbol if omitted; set it when the same pair trades as both spot and perp. | |
| symbol | Yes | The trading pair. Any common format works and is matched across venues, e.g. BTC-USDT, BTCUSDT, BTC/USDT, BTC-USDT-SWAP (OKX perpetual), PF_XBTUSD (Kraken futures). |