Skip to main content

Overview

Each supported exchange has unique characteristics that ClyptQ models precisely. This page consolidates all exchange-specific parameters in one place.

Supported Exchanges

Market Type Support

Default Fee Rates (Non-VIP)

Fees are auto-fetched via CCXT. These are default tier rates — VIP rates are lower.
VIP rates can be 2-10× lower than default rates. Use CostModelSpec to override with your actual tier. See Cost Models for details.

Margin & Liquidation Parameters

See Liquidation Logic for detailed calculation examples.

Funding Rate Schedule

Per-Exchange Details

Binance

The most liquid crypto exchange with the widest selection of perpetual futures. Key characteristics:
  • Market types: Spot, USDT-M Futures (linear), COIN-M Futures (inverse)
  • Quote currencies: USDT (primary), USDC
  • Max leverage: 125× (BTC/ETH), lower for altcoins
  • Tiered MMR: Position size determines MMR tier (1.3% → 50% across tiers)
  • Insurance fund: Largest in the industry
Configuration example:

Bybit

Known for derivatives trading with competitive fee structures. Key characteristics:
  • Market types: Spot, USDT Perpetual, Inverse Perpetual
  • Quote currencies: USDT, USDC
  • Max leverage: 100× (BTC/ETH)
  • Lower MMR: 0.5% default (more aggressive than Binance)
  • Unified margin: Cross-asset margin pool
Configuration example:

Gateio

Broad altcoin selection with higher liquidation threshold. Key characteristics:
  • Market types: Spot, USDT Futures
  • Quote currencies: USDT
  • Max leverage: 100×
  • Higher threshold: 1.5 margin ratio (more conservative than peers)
  • Altcoin depth: More small-cap perpetuals than other exchanges
  • Contract units: Futures use integer contracts, not fractional amounts
Important note: Gateio’s 1.5× liquidation threshold means positions are liquidated earlier than on Binance or Bybit. A strategy that survives on Binance may get liquidated on Gateio with the same parameters. Contract unit conversion: Gateio futures require integer contracts. The API converts between BTC amounts and contracts automatically:

Coinbase

US-regulated exchange with CFTC oversight and strict leverage limits. Key characteristics:
  • Market types: Spot, USDC Perpetual
  • Quote currencies: USDC (only)
  • Max leverage: 10× (CFTC limit)
  • High MMR: 6.67% (MM = IM × ⅔) — always static default (no dynamic tier API)
  • Higher fees: Liquidation fee at 1.0%
  • No funding simulation: has_funding_rate=False — funding not auto-injected
Coinbase has has_funding_rate=False, so funding is not auto-injected in backtest or paper trading (rate defaults to 0). Funding data is collected (1h intervals) but not applied to backtest P&L. Consider using Binance or Bybit for accurate futures backtests with funding simulation.

Kraken

Regulated exchange with moderate leverage and higher liquidation costs. Key characteristics:
  • Market types: Spot, USD Futures (via krakenfutures)
  • Quote currencies: USD
  • Max leverage: 50×
  • Higher MMR: 2.0% default — dynamic tier resolution supported via CCXT public API
  • Higher liquidation fee: 1.5%
  • 4-hour funding: 6 settlements per day (vs standard 3) — fully simulated at all 6 settlement times
Kraken’s 4-hour funding schedule means 6 settlements per day (00:00, 04:00, 08:00, 12:00, 16:00, 20:00 UTC). The backtest executor applies funding at all 6 settlement boundaries using per-exchange FUNDING_SETTLEMENT_HOURS.CCXT note: fetch_funding_rate_history() returns data at 1h intervals for Kraken, but the intermediate values (01h, 02h, 03h, etc.) are predicted rates, not actual settlements. Only the 4h boundary values represent real funding charges. The settlement hour gatekeeping ensures only real settlement times are applied.

OKX

Global exchange with Binance-style margin calculation and passphrase authentication. Key characteristics:
  • Market types: Spot, USDT-M Swap (linear)
  • Quote currencies: USDT, USDC
  • Max leverage: 125× (BTC/ETH)
  • Inverted margin: Same formula as Binance (MMR/Equity × 100, trigger at ≥ 100%)
  • Passphrase required: OKX API keys require an additional passphrase field
  • Hedge mode: Supports both one-way and hedge mode
Configuration example:

Settlement Currencies

Symbol formats differ by exchange:

Position Modes

Order Validation Limits

ClyptQ fetches minimum order sizes and lot sizes from each exchange via CCXT and enforces them during backtest:

What Gets Validated

What Happens on Rejection

Orders that fail validation are rejected (not filled), matching live behavior:
If many orders are rejected, consider:
  • Increasing book size (position sizing)
  • Reducing the number of symbols (concentrated portfolio)
  • Checking minimum requirements for your specific symbols

Multi-Exchange Configuration

ClyptQ natively supports multi-exchange strategies. Each account has its own cost model, margin parameters, and order validation:
Each venue is independently simulated:
  • Separate cost models (Binance fees ≠ Gateio fees)
  • Separate liquidation (Binance 100% threshold ≠ Gateio 150% threshold)
  • Separate funding (each venue’s historical rates)
  • Separate order validation (each venue’s minimum requirements)

Cost Models

How to configure and override fee structures

Liquidation Logic

Detailed liquidation calculation with formulas

Funding Rates

Funding rate simulation and settlement timing

Supported Exchanges

Platform-level exchange support overview