Skip to content

Gate.io

tradectl supports Gate.io USDT-margined perpetual futures.

Supported features

  • Real-time ticker and trade WebSocket streams
  • Market and limit orders
  • TP / SL exits via ExitOrder
  • Leverage configuration; isolated and cross margin

API key setup

  1. Log in to Gate.io
  2. API ManagementCreate API Key
  3. Permissions: Futures Trading – Read & Write
  4. IP whitelist the host
  5. Do not enable withdrawals

Configuration

json
{
  "api": { "provider": "Gate", "key": "...", "secret": "..." },
  "strats": [{
    "name": "btc-perp",
    "type": "shot",
    "marketType": "LINEAR",
    "isEmulator": false,
    "pairs": ["BTC_USDT", "ETH_USDT"],
    "leverage": 10
  }]
}

Gate uses underscore-delimited symbols (BTC_USDT). The CLI accepts both BTCUSDT and BTC_USDT and normalizes internally.

Notes

  • Gate offers very low fees and a wide pair list. Liquidity on long-tail pairs may be lower than on Binance — calibrate slippage accordingly when backtesting.

tradectl — Automate Crypto Trading