ccxt-bybit
Version:
A JavaScript / Python / PHP cryptocurrency trading library with support for 130+ exchanges
117 lines (99 loc) • 101 kB
Markdown
# CCXT – CryptoCurrency eXchange Trading Library
[](https://travis-ci.org/ccxt/ccxt) [](https://npmjs.com/package/ccxt) [](https://pypi.python.org/pypi/ccxt) [](https://www.npmjs.com/package/ccxt) [](https://gitter.im/ccxt-dev/ccxt?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [](https://github.com/ccxt/ccxt/wiki/Exchange-Markets) [](https://opencollective.com/ccxt)
[](https://twitter.com/ccxt_official)
A JavaScript / Python / PHP library for cryptocurrency trading and e-commerce with support for many bitcoin/ether/altcoin exchange markets and merchant APIs.
### [Install](#install) · [Usage](#usage) · [Manual](https://github.com/ccxt/ccxt/wiki) · [FAQ](https://github.com/ccxt/ccxt/wiki/FAQ) · [Examples](https://github.com/ccxt/ccxt/tree/master/examples) · [Contributing](https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md) · [Social](#social)
The **CCXT** library is used to connect and trade with cryptocurrency exchanges and payment processing services worldwide. It provides quick access to market data for storage, analysis, visualization, indicator development, algorithmic trading, strategy backtesting, bot programming, and related software engineering.
It is intended to be used by **coders, developers, technically-skilled traders, data-scientists and financial analysts** for building trading algorithms.
Current feature list:
- support for many cryptocurrency exchanges — more coming soon
- fully implemented public and private APIs
- optional normalized data for cross-exchange analytics and arbitrage
- an out of the box unified API that is extremely easy to integrate
- works in Node 7.6+, Python 2 and 3, PHP 5.4+, and web browsers
## Sponsored Promotion
[](https://ccxt.pro)
## See Also
- <sub>[](https://p.nomics.com/cryptocurrency-bitcoin-api)</sub> **[Nomics API](https://p.nomics.com/cryptocurrency-bitcoin-api)** — enterprise-grade [crypto market cap & pricing data](https://nomics.com) API for your fund, smart contract, or app.
- <sub>[](https://quadency.com?utm_source=ccxt)</sub> **[Quadency](https://quadency.com?utm_source=ccxt)** — professional crypto terminal, algo trading, and unified streaming APIs.
- <sub>[](https://tab-trader.com/?utm_source=ccxt)</sub> **[TabTrader](https://tab-trader.com/?utm_source=ccxt)** — trading on all exchanges in one app. Avaliable on [Android](https://play.google.com/store/apps/details?id=com.tabtrader.android&referrer=utm_source%3Dccxt) and [iOS](https://itunes.apple.com/app/apple-store/id1095716562?mt=8).
## Certified Cryptocurrency Exchanges
| logo | id | name | ver | doc | certified | pro |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------|----------------------------------------------------------------------|:---:|:----------------------------------------------------------------------------------:|-----------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------|
|[](https://www.binance.com/?ref=10205187) | binance | [Binance](https://www.binance.com/?ref=10205187) | * | [API](https://binance-docs.github.io/apidocs/spot/en) | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://ccxt.pro)|
|[](https://www.bitfinex.com/?refcode=P61eYxFL) | bitfinex | [Bitfinex](https://www.bitfinex.com/?refcode=P61eYxFL) | 1 | [API](https://docs.bitfinex.com/v1/docs) | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://ccxt.pro)|
|[](https://bittrex.com) | bittrex | [Bittrex](https://bittrex.com) | 1.1 | [API](https://bittrex.github.io/api/) | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://ccxt.pro)|
|[](https://www.bytetrade.com) | bytetrade | [ByteTrade](https://www.bytetrade.com) | * | [API](https://github.com/Bytetrade/bytetrade-official-api-docs/wiki) | [](https://github.com/ccxt/ccxt/wiki/Certification) | |
|[](https://ftx.com/#a=1623029) | ftx | [FTX](https://ftx.com/#a=1623029) | * | [API](https://github.com/ftexchange/ftx) | [](https://github.com/ccxt/ccxt/wiki/Certification) | |
|[](https://idex.market) | idex | [IDEX](https://idex.market) | * | [API](https://docs.idex.market/) | [](https://github.com/ccxt/ccxt/wiki/Certification) | |
|[](https://www.kraken.com) | kraken | [Kraken](https://www.kraken.com) | 0 | [API](https://www.kraken.com/features/api) | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://ccxt.pro)|
|[](https://www.poloniex.com/?utm_source=ccxt&utm_medium=web) | poloniex | [Poloniex](https://www.poloniex.com/?utm_source=ccxt&utm_medium=web) | * | [API](https://docs.poloniex.com) | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://ccxt.pro)|
|[](https://upbit.com) | upbit | [Upbit](https://upbit.com) | 1 | [API](https://docs.upbit.com/docs/%EC%9A%94%EC%B2%AD-%EC%88%98-%EC%A0%9C%ED%95%9C) | [](https://github.com/ccxt/ccxt/wiki/Certification) | |
## Supported Cryptocurrency Exchange Markets
The ccxt library currently supports the following 122 cryptocurrency exchange markets and trading APIs:
| logo | id | name | ver | doc | certified | pro |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------|-----------------------------------------------------------------------------------------|:---:|:--------------------------------------------------------------------------------------------:|-----------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------|
|[](https://1btcxe.com) | _1btcxe | [1BTCXE](https://1btcxe.com) | * | [API](https://1btcxe.com/api-docs.php) | | |
|[](https://acx.io) | acx | [ACX](https://acx.io) | 2 | [API](https://acx.io/documents/api_v2) | | |
|[](https://adara.io) | adara | [Adara](https://adara.io) | 1 | [API](https://api.adara.io/v1) | | |
|[](https://anxpro.com) | anxpro | [ANXPro](https://anxpro.com) | * | [API](https://anxv2.docs.apiary.io) | | |
|[](https://www.bcex.top/register?invite_code=758978&lang=en) | bcex | [BCEX](https://www.bcex.top/register?invite_code=758978&lang=en) | 1 | [API](https://github.com/BCEX-TECHNOLOGY-LIMITED/API_Docs/wiki/Interface) | | |
|[](https://bequant.io) | bequant | [Bequant](https://bequant.io) | 2 | [API](https://api.bequant.io/) | | |
|[](https://www.bibox.com/signPage?id=11114745&lang=en) | bibox | [Bibox](https://www.bibox.com/signPage?id=11114745&lang=en) | 1 | [API](https://biboxcom.github.io/en/) | | |
|[](https://b1.run/users/new?code=D3LLBVFT) | bigone | [BigONE](https://b1.run/users/new?code=D3LLBVFT) | 3 | [API](https://open.big.one/docs/api.html) | | |
|[](https://www.binance.com/?ref=10205187) | binance | [Binance](https://www.binance.com/?ref=10205187) | * | [API](https://binance-docs.github.io/apidocs/spot/en) | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://ccxt.pro)|
|[](https://www.binance.je/?ref=35047921) | binanceje | [Binance Jersey](https://www.binance.je/?ref=35047921) | * | [API](https://github.com/binance-exchange/binance-official-api-docs/blob/master/rest-api.md) | | [](https://ccxt.pro)|
|[](https://www.binance.us/?ref=35005074) | binanceus | [Binance US](https://www.binance.us/?ref=35005074) | * | [API](https://github.com/binance-us/binance-official-api-docs) | | [](https://ccxt.pro)|
|[](https://bit2c.co.il/Aff/63bfed10-e359-420c-ab5a-ad368dab0baf) | bit2c | [Bit2C](https://bit2c.co.il/Aff/63bfed10-e359-420c-ab5a-ad368dab0baf) | * | [API](https://www.bit2c.co.il/home/api) | | |
|[](https://bitbank.cc/) | bitbank | [bitbank](https://bitbank.cc/) | 1 | [API](https://docs.bitbank.cc/) | | |
|[](https://auth.bitbay.net/ref/jHlbB4mIkdS1) | bitbay | [BitBay](https://auth.bitbay.net/ref/jHlbB4mIkdS1) | * | [API](https://bitbay.net/public-api) | | |
|[](https://www.bitfinex.com/?refcode=P61eYxFL) | bitfinex | [Bitfinex](https://www.bitfinex.com/?refcode=P61eYxFL) | 1 | [API](https://docs.bitfinex.com/v1/docs) | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://ccxt.pro)|
|[](https://www.bitfinex.com/?refcode=P61eYxFL) | bitfinex2 | [Bitfinex](https://www.bitfinex.com/?refcode=P61eYxFL) | 2 | [API](https://docs.bitfinex.com/v2/docs/) | | |
|[](https://bitflyer.jp) | bitflyer | [bitFlyer](https://bitflyer.jp) | 1 | [API](https://lightning.bitflyer.com/docs?lang=en) | | |
|[](https://www.bitforex.com/en/invitationRegister?inviterId=1867438) | bitforex | [Bitforex](https://www.bitforex.com/en/invitationRegister?inviterId=1867438) | 1 | [API](https://github.com/githubdev2020/API_Doc_en/wiki) | | |
|[](https://www.bithumb.com) | bithumb | [Bithumb](https://www.bithumb.com) | * | [API](https://apidocs.bithumb.com) | | |
|[](https://www.bitkk.com) | bitkk | [bitkk](https://www.bitkk.com) | 1 | [API](https://www.bitkk.com/i/developer) | | |
|[](https://bitlish.com) | bitlish | [Bitlish](https://bitlish.com) | 1 | [API](https://bitlish.com/api) | | |
|[](http://www.bitmart.com/?r=rQCFLh) | bitmart | [BitMart](http://www.bitmart.com/?r=rQCFLh) | 2 | [API](https://github.com/bitmartexchange/bitmart-official-api-docs) | | |
|[](https://bitmax.io/#/register?inviteCode=EL6BXBQM) | bitmax | [BitMax](https://bitmax.io/#/register?inviteCode=EL6BXBQM) | 1 | [API](https://github.com/bitmax-exchange/api-doc/blob/master/bitmax-api-doc-v1.2.md) | | |
|[](https://www.bitmex.com/register/rm3C16) | bitmex | [BitMEX](https://www.bitmex.com/register/rm3C16) | 1 | [API](https://www.bitmex.com/app/apiOverview) | | [](https://ccxt.pro)|
|[](https://bitso.com/?ref=itej) | bitso | [Bitso](https://bitso.com/?ref=itej) | 3 | [API](https://bitso.com/api_info) | | |
|[](https://www.bitstamp.net) | bitstamp | [Bitstamp](https://www.bitstamp.net) | 2 | [API](https://www.bitstamp.net/api) | | |
|[](https://www.bitstamp.net) | bitstamp1 | [Bitstamp](https://www.bitstamp.net) | 1 | [API](https://www.bitstamp.net/api) | | |
|[](https://bittrex.com) | bittrex | [Bittrex](https://bittrex.com) | 1.1 | [API](https://bittrex.github.io/api/) | [](https://github.com/ccxt/ccxt/wiki/Certification) | [](https://ccxt.pro)|
|[](https://u.bitz.com/register?invite_code=1429193) | bitz | [Bit-Z](https://u.bitz.com/register?invite_code=1429193) | 2 | [API](https://apidoc.bitz.com/en/) | | |
|[](https://bl3p.eu) | bl3p | [BL3P](https://bl3p.eu) | 1 | [API](https://github.com/BitonicNL/bl3p-api/tree/master/docs) | | |
|[](https://bleutrade.com) | bleutrade | [Bleutrade](https://bleutrade.com) | * | [API](https://app.swaggerhub.com/apis-docs/bleu/white-label/3.0.0) | | |
|[](https://braziliex.com/?ref=5FE61AB6F6D67DA885BC98BA27223465) | braziliex | [Braziliex](https://braziliex.com/?ref=5FE61AB6F6D67DA885BC98BA27223465) | * | [API](https://braziliex.com/exchange/api.php) | | |
|[](https://btc-alpha.com/?r=123788) | btcalpha | [BTC-Alpha](https://btc-alpha.com/?r=123788) | 1 | [API](https://btc-alpha.github.io/api-docs) | | |
|[](https://www.btcbox.co.jp/) | btcbox | [BtcBox](https://www.btcbox.co.jp/) | 1 | [API](https://www.btcbox.co.jp/help/asm) | | |
|[](https://www.btcchina.com) | btcchina | [BTCChina](https://www.btcchina.com) | 1 | [API](https://www.btcchina.com/apidocs) | | |
|[](https://btcmarkets.net) | btcmarkets | [BTC Markets](https://btcmarkets.net) | * | [API](https://github.com/BTCMarkets/API) | | |
|[](https://m.baobi.com/invite?inv=1765b2) | btctradeim | [BtcTrade.im](https://m.baobi.com/invite?inv=1765b2) | * | [API](https://www.btctrade.im/help.api.html) | | |
|[](https://btc-trade.com.ua/registration/22689) | btctradeua | [BTC Trade UA](https://btc-trade.com.ua/registration/22689) | * | [API](https://docs.google.com/document/d/1ocYA0yMy_RXd561sfG3qEPZ80kyll36HUxvCRe5GbhE/edit) | | |
|[](https://www.btcturk.com) | btcturk | [BTCTurk](https://www.btcturk.com) | * | [API](https://github.com/BTCTrader/broker-api-docs) | | |
|[](https://www.buda.com) | buda | [Buda](https://www.buda.com) | 2 | [API](https://api.buda.com) | | |
|[](https://www.bw.com) | bw | [BW](https://www.bw.com) | 1 | [API](https://github.com/bw-exchange/api_docs_en/wiki) | | |
|[](https://www.bytetrade.com) | bytetrade | [ByteTrade](https://www.bytetrade.com) | * | [API](https://github.com/Bytetrade/bytetrade-official-api-docs/wiki) | [](https://github.com/ccxt/ccxt/wiki/Certification) | |
|[](https://cex.io/r/0/up105393824/0/) | cex | [CEX.IO](https://cex.io/r/0/up105393824/0/) | * | [API](https://cex.io/cex-api) | | |
|[](https://chilebit.net) | chilebit | [ChileBit](https://chilebit.net) | 1 | [API](https://blinktrade.com/docs) | | |
|[](https://cobinhood.com?referrerId=a9d57842-99bb-4d7c-b668-0479a15a458b) | cobinhood | [COBINHOOD](https://cobinhood.com?referrerId=a9d57842-99bb-4d7c-b668-0479a15a458b) | 1 | [API](https://cobinhood.github.io/api-public) | | |
|[](https://www.coinbase.com/join/58cbe25a355148797479dbd2) | coinbase | [Coinbase](https://www.coinbase.com/join/58cbe25a355148797479dbd2) | 2 | [API](https://developers.coinbase.com/api/v2) | | |
|[](https://prime.coinbase.com) | coinbaseprime | [Coinbase Prime](https://prime.coinbase.com) | * | [API](https://docs.prime.coinbase.com) | | [](https://ccxt.pro)|
|[](https://pro.coinbase.com/) | coinbasepro | [Coinbase Pro](https://pro.coinbase.com/) | * | [API](https://docs.pro.coinbase.com) | | [](https://ccxt.pro)|
|[](https://coincheck.com) | coincheck | [coincheck](https://coincheck.com) | * | [API](https://coincheck.com/documents/exchange/api) | | |
|[](https://www.coinegg.com/user/register?invite=523218) | coinegg | [CoinEgg](https://www.coinegg.com/user/register?invite=523218) | * | [API](https://www.coinegg.com/explain.api.html) | | |
|[](https://www.coinex.com/register?refer_code=yw5fz) | coinex | [CoinEx](https://www.coinex.com/register?refer_code=yw5fz) | 1 | [API](https://github.com/coinexcom/coinex_exchange_api/wiki) | | |
|[](https://coinfalcon.com/?ref=CFJSVGTUPASB) | coinfalcon | [CoinFalcon](https://coinfalcon.com/?ref=CFJSVGTUPASB) | 1 | [API](https://docs.coinfalcon.com) | | |
|[](https://www.coinfloor.co.uk) | coinfloor | [coinfloor](https://www.coinfloor.co.uk) | * | [API](https://github.com/coinfloor/api) | | |
|[](https://www.coingi.com/?r=XTPPMC) | coingi | [Coingi](https://www.coingi.com/?r=XTPPMC) | * | [API](https://coingi.docs.apiary.io) | | |
|[](https://coinmarketcap.com) | coinmarketcap | [CoinMarketCap](https://coinmarketcap.com) | 1 | [API](https://coinmarketcap.com/api) | | |
|[](https://coinmate.io?referral=YTFkM1RsOWFObVpmY1ZjMGREQmpTRnBsWjJJNVp3PT0) | coinmate | [CoinMate](https://coinmate.io?referral=YTFkM1RsOWFObVpmY1ZjMGREQmpTRnBsWjJJNVp3PT0) | * | [API](https://coinmate.docs.apiary.io) | | |
|[](https://coinone.co.kr) | coinone | [CoinOne](https://coinone.co.kr) | 2 | [API](https://doc.coinone.co.kr) | | |
|[](https://www.coinspot.com.au/register?code=PJURCU) | coinspot | [CoinSpot](https://www.coinspot.com.au/register?code=PJURCU) | * | [API](https://www.coinspot.com.au/api) | | |
|[](https://www.coolcoin.com/user/register?invite_code=bhaega) | coolcoin | [CoolCoin](https://www.coolcoin.com/user/register?invite_code=bhaega) | * | [API](https://www.coolcoin.com/help.api.html) | | |
|[](https://www.coss.io/c/reg?r=OWCMHQVW2Q) | coss | [COSS](https://www.coss.io/c/reg?r=OWCMHQVW2Q) | 1 | [API](https://api.coss.io/v1/spec) | | |
|[](https://crex24.com/?refid=slxsjsjtil8xexl9hksr) | crex24 | [CREX24](https://crex24.com/?refid=slxsjsjtil8xexl9hksr) | 2 | [API](https://docs.crex24.com/trade-api/v2) | | |
|[](https://www.deribit.com/reg-1189.4038) | deribit | [Deribit](https://www.deribit.com/reg-1189.4038) | 1 | [API](https://docs.deribit.com) | | |
|[](https://www.digifinex.vip/en-ww/from/DhOzBg/3798****5114) | digifinex | [DigiFinex](https://www.digifinex.vip/en-ww/from/DhOzBg/3798****5114) | 3 | [API](https://docs.digifinex.vip) | | |
|[](https://dsx.uk) | dsx | [DSX](https://dsx.uk) | 3 | [API](https://dsx.uk/developers/publicApi) |