manual

Skip to content

Type / to search

Manual

Travis CI User edited this page yesterday · 1606 revisions

Overview

The ccxt library is a collection of available crypto exchanges or exchange classes. Each class implements the public and private API for a particular crypto exchange. All exchanges are derived from the base Exchange class and share a set of common methods. To access a particular exchange from ccxt library you need to create an instance of corresponding exchange class. Supported exchanges are updated frequently and new exchanges are added regularly.

The structure of the library can be outlined as follows:

                                 User
    +-------------------------------------------------------------+
    |                            CCXT                             |
    +------------------------------+------------------------------+
    |            Public            |           Private            |
    +=============================================================+
    │                              .                              |
    │                    The Unified CCXT API                     |
    │                              .                              |
    |       loadMarkets            .           fetchBalance       |
    |       fetchMarkets           .            createOrder       |
    |       fetchCurrencies        .            cancelOrder       |
    |       fetchTicker            .             fetchOrder       |
    |       fetchTickers           .            fetchOrders       |
    |       fetchOrderBook         .        fetchOpenOrders       |
    |       fetchOHLCV             .      fetchClosedOrders       |
    |       fetchStatus            .          fetchMyTrades       |
    |       fetchTrades            .                deposit       |
    |                              .               withdraw       |
    │                              .                              |
    +=============================================================+
    │                              .                              |
    |                     Custom Exchange API                     |
    |         (Derived Classes And Their Implicit Methods)        |
    │                              .                              |
    |       publicGet...           .          privateGet...       |
    |       publicPost...          .         privatePost...       |
    |                              .          privatePut...       |
    |                              .       privateDelete...       |
    |                              .                   sign       |
    │                              .                              |
    +=============================================================+
    │                              .                              |
    |                      Base Exchange Class                    |
    │                              .                              |
    +=============================================================+

Full public and private HTTP REST APIs for all exchanges are implemented. WebSocket implementations in JavaScript, PHP, Python are available in CCXT Pro, which is a professional addon to CCXT with support for WebSocket streams.

Social

Exchanges

The CCXT library currently supports the following 97 cryptocurrency exchange markets and trading APIs:

logo
id
name
ver
certified
pro

ace

alpaca

ascendex

bequant

bigone

binance

binancecoinm

binanceus

binanceusdm

bingx

bit2c

bitbank

bitbns

bitfinex

bitfinex2

bitflyer

bitget

bithumb

bitmart

bitmex

bitopro

bitrue

bitso

bitstamp

bitteam

bitvavo

bl3p

blockchaincom

blofin

btcalpha

btcbox

btcmarkets

btcturk

bybit

cex

coinbase

coinbaseinternational

coinbasepro

coincheck

coinex

coinlist

coinmate

coinmetro

coinone

coinsph

coinspot

cryptocom

currencycom

delta

deribit

digifinex

exmo

fmfwio

gate

gemini

hitbtc

hollaex

htx

huobijp

hyperliquid

idex

independentreserve

indodax

kraken

krakenfutures

kucoin

kucoinfutures

kuna

latoken

lbank

luno

lykke

mercado

mexc

ndax

novadax

oceanex

okcoin

okx

onetrading

p2b

paymium

phemex

poloniex

poloniexfutures

probit

timex

tokocrypto

tradeogre

upbit

wavesexchange

wazirx

whitebit

woo

yobit