Built-in Functions
Structures
Built-in Variables and Constants
Conventions
Exchanges
Centralized Exchanges
Crypto exchanges, one page per brand; the spot and futures exchange objects of a brand share the page.
In this sectionRead the whole section
| Name | Description |
| AscendEx | Spot trading on AscendEX (formerly BitMax); only spot pairs are served. |
| Backpack | Backpack (Spot): Spot trading on Backpack Exchange (mainly USDC-quoted), including the tokenized stocks listed on the exchange; the account reads the spot balan… |
| BigONE | Spot trading on BigONE; only spot pairs are served. |
| Binance | Binance (Spot): Binance spot, plus Binance margin accounts (isolated and cross) and cross margin trading under a unified (portfolio margin) account. |
| Bitfinex | Bitfinex (Spot): Bitfinex spot trading through the Bitfinex v2 API (https://api.bitfinex.com), accessed with an API Key and Secret Key. |
| bitFlyer | Spot trading on the Japanese exchange bitFlyer (api.bitflyer.jp). |
| Bitget | Bitget (Spot): Bitget spot, for unified accounts (UTA; choose v3 for the "Version" option, the default) and classic accounts (choose v2). |
| Bithumb | Spot trading on the Korean exchange Bithumb, using Bithumb's new API (Upbit-style, JWT authentication). |
| Bitstamp | Spot trading on Bitstamp; only spot pairs are served. |
| Bybit | Bybit (Spot): Bybit spot, plus spot margin (borrowing on order). |
| Coincheck | Spot trading on the Japanese exchange Coincheck (API address https://coincheck.com). |
| Coinone | Spot trading on the KRW market of the Korean exchange Coinone (API address https://api.coinone.co.kr). |
| CoinW | Coinw (Spot): CoinW spot trading through CoinW's command-style spot API (api.coinw.com); everything is REST polling, with no market data or order push. |
| Crypto.com | Crypto (Spot): Crypto.com Exchange spot trading (Exchange v1 API https://api.crypto.com/exchange/v1), accessed with an API Key and Secret Key, including spot ma… |
| DeepCoin | DeepCoin (Spot): DeepCoin spot trading through the DeepCoin API (api.deepcoin.com); everything is REST polling, with no market data or order push. |
| Deribit | Coin-margined (inverse) perpetual and delivery contracts, USDC linear perpetual and delivery contracts, spread combination contracts (future_combo), plus option… |
| DigiFinex | DigiFinex (Spot): DigiFinex spot trading over the REST endpoints of DigiFinex OpenAPI v3 (openapi.digifinex.com); private endpoints need an API key (Access Key… |
| Gate | GateIO (Spot): Gate spot (Gate API v4), plus margin accounts (isolated and cross) and spot trading under a unified account. |
| Gemini | Spot trading on Gemini (API address https://api.gemini.com). |
| HashKey | Spot trading on the Hong Kong-based exchange HashKey (API address https://api-pro.hashkey.com), with pairs quoted in USDT, USDC, USD, HKD and others. |
| HitBTC | Spot trading on HitBTC (API address https://api.hitbtc.com, v3 API), without HitBTC's perpetual contracts (_PERP): exchange.GetMarkets() and exchange.GetTickers… |
| HTX | Huobi (Spot): HTX (Huobi) spot, plus isolated and cross margin accounts; it connects to api.huobi.pro by default. |
| Korbit | Spot trading on the KRW market of the Korean exchange Korbit (API address https://api.korbit.co.kr, v2 API). |
| Kraken | Kraken (Spot): Kraken spot trading (Kraken REST API https://api.kraken.com), accessed with a Kraken API Key and Secret Key. |
| KuCoin | KuCoin (Spot): KuCoin spot trading; it connects to api.kucoin.com by default. |
| LBank | Spot trading on LBank (API address https://api.lbank.info, v2 API), including leveraged-token (ETF) pairs. |
| MEXC | MEXC (Spot): MEXC spot trading through the MEXC spot V3 API (api.mexc.com); everything is REST polling, with no market data or order push. |
| OKX | OKEX (Spot): OKX spot, plus spot margin trading (isolated and cross) on the same account. |
| Poloniex | Spot trading on Poloniex (API address https://api.poloniex.com, v3 API); orders are placed in the SPOT account (accountType is SPOT). |
| Upbit | Spot trading on the Korean exchange Upbit (API address https://api.upbit.com): the KRW, BTC and USDT markets. |
| WEEX | WEEX (Spot): WEEX spot trading over the WEEX spot V3 REST API (api-spot.weex.com). |
| WOO X | WOO (Spot): WOO X spot trading over the WOO X REST API (api.woox.io), with native take-profit, stop-loss and OCO conditional orders. |
| Zaif | Spot trading on the Japanese exchange Zaif (API address https://api.zaif.jp). |