Binance
tradectl supports Binance USD-M Futures (Linear perpetuals).
Supported Features
- Real-time bookTicker and aggTrades WebSocket streams
- Market and limit orders
- Take-profit and stop-loss orders
- Leverage up to 125x (exchange limit)
- Hedge mode and one-way mode
API Key Setup
- Log into Binance
- Go to API Management > Create API
- Enable Futures trading permission
- Restrict to IP whitelist (recommended)
- Do not enable withdrawals — tradectl only needs trade permissions
Configuration
json
{
"exchange": "binance",
"market_type": "LINEAR",
"symbols": ["BTCUSDT", "ETHUSDT"],
"leverage": 10
}Fees
| Tier | Maker | Taker |
|---|---|---|
| VIP 0 | 0.0200% | 0.0400% |
| VIP 1 | 0.0160% | 0.0400% |
Use your actual fee tier when configuring backtests for accurate results.
Testnet
Binance provides a futures testnet. When adding credentials, check the Testnet option. Testnet credentials use a different API endpoint automatically.