All Projects → coingecko → Cryptoexchange

coingecko / Cryptoexchange

Licence: mit
[UNMAINTAINED] Ruby library to query market data from cryptocurrency exchanges (https://www.coingecko.com)

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Cryptoexchange

Rotki
A portfolio tracking, analytics, accounting and tax reporting application that protects your privacy
Stars: ✭ 689 (+153.31%)
Mutual labels:  ethereum, bitcoin, cryptocurrency-exchanges, hacktoberfest
Coinapi Sdk
SDKs for CoinAPI
Stars: ✭ 238 (-12.5%)
Mutual labels:  ethereum, bitcoin, exchange
Cryptotrader
A cryptocurrency trader for all famous exchanges
Stars: ✭ 228 (-16.18%)
Mutual labels:  ethereum, bitcoin, exchange
Whale
🐋 Show Ethereum and Bitcoin price in command line interface (CLI).
Stars: ✭ 81 (-70.22%)
Mutual labels:  ethereum, bitcoin, exchange
Crypto Whale Watching App
Python Dash app that tracks whale activity in cryptocurrency markets.
Stars: ✭ 389 (+43.01%)
Mutual labels:  ethereum, bitcoin, cryptocurrency-exchanges
Exchangesharp
ExchangeSharp is a powerful, fast and easy to use .NET/C# API for interfacing with many crypto currency exchanges. REST and web sockets are supported.
Stars: ✭ 489 (+79.78%)
Mutual labels:  ethereum, bitcoin, exchange
Crypto Whale Watcher
An app to keep a watch on big volume trades of cryptocurrecies on different exchanges by sending alerts via a Telegram Bot.
Stars: ✭ 60 (-77.94%)
Mutual labels:  ethereum, bitcoin, cryptocurrency-exchanges
Coinbase Pro Node
Coinbase Pro API written in TypeScript and covered by tests.
Stars: ✭ 116 (-57.35%)
Mutual labels:  ethereum, bitcoin, exchange
Coinbasepro Python
The unofficial Python client for the Coinbase Pro API
Stars: ✭ 1,386 (+409.56%)
Mutual labels:  ethereum, bitcoin, exchange
Crypto vba
An Excel/VBA project to communicate with various cryptocurrency exchanges APIs
Stars: ✭ 103 (-62.13%)
Mutual labels:  ethereum, bitcoin, exchange
Ccxt Rest
Open Source Unified REST API of 100+ Crypto Exchange Sites (18k+ docker pulls) - https://ccxt-rest.io/
Stars: ✭ 210 (-22.79%)
Mutual labels:  ethereum, bitcoin, exchange
Peatiocryptoexchange
An open-source Crypto-Currency exchange. Peatio v3.0 Coming Soon !
Stars: ✭ 141 (-48.16%)
Mutual labels:  ethereum, bitcoin, cryptocurrency-exchanges
Crypto Arbitrage
Automatic Cryptocurrency Trading Bot using Triangular or Exchange Arbitrages
Stars: ✭ 369 (+35.66%)
Mutual labels:  ethereum, bitcoin, exchange
Qtbitcointrader
Secure multi crypto exchange trading client
Stars: ✭ 520 (+91.18%)
Mutual labels:  ethereum, bitcoin, exchange
Donut
🏹 Dead-simple cross-platform cryptocurrency tracker.
Stars: ✭ 367 (+34.93%)
Mutual labels:  ethereum, bitcoin, exchange
Algo Coin
Python library for algorithmic trading cryptocurrencies across multiple exchanges
Stars: ✭ 365 (+34.19%)
Mutual labels:  ethereum, bitcoin, exchange
Ccxt
A JavaScript / Python / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges
Stars: ✭ 22,501 (+8172.43%)
Mutual labels:  ethereum, bitcoin, exchange
Wolfbot
Crypto currency trading bot written in TypeScript for NodeJS
Stars: ✭ 335 (+23.16%)
Mutual labels:  ethereum, bitcoin, exchange
Coin registry
A global registry of JSON formatted files on 1500+ cryptocurrency tokens. Provides information like chat rooms, communities, explorers, and contact information on each coin. Used by https://blockmodo.com, DEXs, developers, and exchanges.
Stars: ✭ 85 (-68.75%)
Mutual labels:  ethereum, bitcoin, cryptocurrency-exchanges
Multicurrencywallet
Bitcoin, Ethereum, ERC20 crypto wallets with Atomic Swap exchange. Release announce: https://twitter.com/SwapOnlineTeam/status/1321844352369500160
Stars: ✭ 136 (-50%)
Mutual labels:  ethereum, bitcoin, exchange

Cryptoexchange [UNMAINTAINED]

Note: This public repository will no longer be maintained by the CoinGecko team.

Cryptoexchange is a rubygem for ruby developers to interact with over 200+ cryptocurrency exchange market data APIs in a single library.

Installation

Add this line to your application's Gemfile:

gem 'cryptoexchange'

And then execute:

$ bundle

Or install it yourself as:

$ gem install cryptoexchange

Exchanges Supported

Exchange Ticker Order Book Trade Account Market List Trade Page URL slug m.type
58Coin Y Y Y Y Y fifty_eight_coin
AAX Y Y [x] Y Y Y aax
Abcc Y N N Y Y abcc
Abucoins Y Y Y Y abucoins
ACX Y Y [x] Y Y Y acx
AEX Y Y [x] Y Y aex
Airswap Y airswap
Allbit Y N N Y Y allbit
Allcoin Y Y [x] Y Y allcoin
Alluma Y N N Y N alluma
Alterdice Y Y Y alterdice
Altilly Y Y [x] Y Y Y altilly
Altmarkets Y Y [x] Y Y Y altmarkets
ANX Y User-Defined anx
Artisturba Y Y [x] Y Y Y artisturba
Aphelion Y Y Y aphelion
Atomars Y Y Y Y Y atomars
AXNET (halted) Y Y Y Y Y axnet
B2BX Y N Y b2bx
Balancer Y Y balancer
Bamboo Relay Y Y [x] Y Y bamboo_relay
Bancor Y N N Y bancor
Bankera Y Y [x] Y Y Y bankera
Bcex Y Y [x] Y Y Y bcex
Bcoin Y Y Y bcoin
Beaxy Y Y Y beaxy
Bgogo Y Y [x] Y [limit: 20] Y Y bgogo
Bhex Y Y Y Y Y bhex
Bibo Y Y [x] Y Y Y bibo
Bibox Y Y [x] Y [limit: 200] Y Y bibox
Bigmarkets Y Y Y bigmarkets
BigONE Y Y [x] Y Y Y bigone
BiHODL Y Y [x] Y Y Y bihodl
Biki Y Y [x] Y Y biki
Bilaxy Y Y [x] Y Y Y bilaxy
Binance Y Y [x] Y [limit: 500] Y Y binance
Binance DEX Y Y [x] Y [limit: 50] Y binance_dex
Binance Jersey Y Y [x] Y Y binance_jersey
Binance Uganda Y Y [x] Y Y binance_uganda
Binance Us Y Y [x] Y Y binance_us
Bione Y Y [x] Y Y bione
Birake Y Y Y birake
Bishang Y Y bishang
Bisq Y Y Y bisq
Bit2C Y Y [x] Y User-Defined Y bit2c
Bit-Z Y Y [x] Y bit_z
Bitalong Y Y [x] Y Y Y bitalong
Bitasset Y Y [x] Y Y Y bitasset
Bitbank Y Y [x] Y User-Defined Y bitbank
Bitbay Y Y [x] User-Defined bitbay
Bitbegin Y N N Y Y bitbegin
BitBNS Y Y bitbns
Bitbox (Auth) Y User-Defined Y bitbox
Bitbox (Public) Y Y Y bitbox
Bitc3 Y N N Y Y bitc3
Bitci Y Y [x] Y Y Y bitci
BitcoinCom Y Y [x] Y Y Y bitcoin_com
Bitconnect Y Y bitconnect
Bitcratic Y Y bitcratic
Bitebtc Y Y [x] Y Y Y bitebtc
Bitex.la Y Y [x] Y bitex
Bitexbook Y Y [x] N Y Y bitexbook
Bitexlive Y Y [x] N Y Y bitexlive
BitFex.Trade Y Y Y bitfex
Bitfinex Y Y [x] Y bitfinex
Bitflyer Y Y [x] Y bitflyer
Bitforex Y Y [x] N Y bitforex
Bitget Y Y [x] Y Y Y bitget
Bithash Y Y [x] Y Y Y bithash
Bitholic Y Y [x] Y Y bitholic
Bithumb Y Y [x] Y bithumb
Bithumb Global Y Y [x] Y Y Y bithumb_global
Bitibu Y Y [x] Y Y Y bitibu
Bitinfi Y Y [x] Y bitinfi
Bitinka Y Y [x] Y bitinka
Bitker Y Y [x] Y Y bitker
Bitkonan Y User-Defined bitkonan
Bitkub Y Y [x] Y Y Y bitkub
Bitlish Y Y [x] Y Y bitlish
Bitmart Y Y [x] Y Y bitmart
Bitmax Y Y [x] Y Y Y bitmax
Bitmesh Y N N Y Y bitmesh
Bitoffer Y Y [x] Y Y Y bitoffer
BitOnBay Y Y bitonbay
Bitopro Y Y [x] Y User-Defined Y bitopro
Bitpaction[halted] Y Y Y Y bitpaction
Bitpanda Y Y Y Y bitpanda
Bitrabbit Y Y [x] N Y Y bitrabbit
Bitrue Y Y [x] Y Y bitrue
Bits Blockchain Y Y Y bits_blockchain
Bitsane Y Y [x] Y bitsane
Bitsdaq Y Y [x] Y [limit: 50] Y Y bisdaq
Bitshares Assets Y User-Defined bitshares_assets
Bitso Y Y [x] Y bitso
Bitsoda Y Y Y Y bitsoda
Bitsonic Y Y [x] Y User-Defined Y bitsonic
Bitstamp Y Y [x] Y User-Defined bitstamp
Bitsten Y Y [x] N Y Y bitsten
Bitstorage Y Y [x] Y Y Y bitstorage
Bittrex Y Y [x] Y [limit: 100] Y Y bittrex
Bitubu Y Y [x] Y Y Y bitubu
Bkex Y Y [x] N Y Y bkex
Bleutrade Y Y bleutrade
Blockonix Y Y Y Y blockonix
Blokmy Y Y Y Y Y blokmy
Boa Y [x] Y Y Y Y boa
Braziliex (halted) Y Y Y Y braziliex
BTC38
BTC-e
BtcAlpha Y Y [x] Y Y Y btc_alpha
BTC Exchange Y Y Y Y Y btc_exchange
BtcTradeUa Y Y Y Y Y btc_trade_ua
BTCBox Y Y User-Defined Y btcbox
BTCC Y User-Defined btcc
BTCEXA Y Y [x] Y btcexa
BTCChina
BTCMarkets Y Y [x] Y Y btcmarkets
Btcsquare Y Y Unstable Y Y btcsquare
BTCTurk Y Y [x] Y Y btcturk
BTER Y Y bter
BTSE Y Y [x] Y Y Y btse
BTCNEXT Y Y N btcnext
Buyucoin Y N N Y buyucoin
Bvnex Y Y [x] Y [x] Y bvnex
BX Thailand Y Y [x] Y bx_thailand
Bybit(future) Y Y [x] Y bybit
BW Y Y Y bw
Bytex Y N N Y N bytex
Cashierest Y Y [x] N Y Y cashierest
Cashpayz Y Y Y Y Y cashpayz
Catex Y Y [x] N Y catex
C2CX Y Y [x] N Y c2cx
CPatex Y Y [x] Y Y c_patex
Cbx Y Y [x] Y Y Y cbx
CCex Y Y ccex
Ccx Y Y Y ccx
Cex Y Y [x] Y Y cex
Cfinex Y Y Y Y Y cfinex
Chaince Y Y Y chaince
Chainrift Y Y [x] Y Y chainrift
ChainEX Y Y [x] Y Y chainex
Chaoex Y Y [x] Y Y N chaoex
CHBTC Y Y [x] User-Defined chbtc
Chiliz Y Y [x] Y Y chiliz
Citex Y N N Y Y citex
Cobinhood Y Y [x] Y Y cobinhood
CODEX Y Y Y Y codex
Coin2001 Y Y Y Y coin2001
Coinall Y Y [x] Y [limit: 60] Y coinall
Coin Asset Y Y Y Y coinasset
Coinchangex Y N N Y Y coinchangex
CoinEgg Y Y [x] Y User-Defined Y coin_egg
CoinExchange Y Y [x] Y Y coin_exchange
Coinbe Y Y coinbe
Coinbene Y Y [x] Y [limit: 3000] Y Y coinbene
Coinbig Y Y [x] Y Y coinbig
Coinbit Y N N Y Y coinbit
Coincheck Y Y [x] User-Defined coincheck
CoinDCX Y Y [x] Y Y Y coindcx
Coindeal Y Y [x] Y coindeal
Coindirect Y N N Y Y coindirect
Coineal Y Y [broken] Y Y coineal
Coinex Y Y [x] Y Y Y coinex
Coinexmarket (broken) Y Y Y Y coinexmarket
Coinfalcon Y Y [x] Y Y coinfalcon
Coinfield Y Y [x] Y Y Y coinfield
Coinfinit Y Y [x] Y Y coinfinit
Coinflex Y Y [x] Y Y coinflex
Coinfloor Y Y [x] Y Y Y coinfloor
Coingi Y Y [x] Y Y Y coingi
Coinhouse Y Y Y coinhouse
Coinhub Y Y Y Y Y coinhub
CoinJar Y Y [x] Y Y Y coinjar
Coinlim Y N N Y N coinlim
Coinmate Y Y User-Defined coinmate
Coinmetro Y coin_metro
Coinmex Y Y [x] Y Y coinmex
Coinnest Y Y [x] Y User-Defined Y coinnest
Coinnox Y Y Y Y coinnox
Coinone Y Y [x] Y Y Y coinone
Coinpark Y Y Y Y Y coinpark
Coinplace Y Y coinplace
Coinrail [broken] Y Y Y Y Y coinrail
Coinroom Y Y coinroom
CoinsMarkets Y Y coin_markets
Coinsbank Y Y coinsbank
Coinsbit Y Y [x] Y coinsbit
Coinstock Y Y Y Y coinstock
Coinsuper Y N [Not Found] Y Y coinsuper
Cointiger Y Y [x] Y Y cointiger
Coinut (Auth) Y Y Y Y Y coinut
Coinxpro Y Y Y Y coinxpro
Coinzest Y Y [x] Y coinzest
Coinzo Y Y Y Y Y coinzo
Compound Finance Y N N N Y N compound_finance
COSS Y Y Y coss
Cpdax Y Y [x] Y Y cpdax
CredoEx Y Y credoex
Crex24 Y Y [x] Y Y Y crex24
CRXZone Y Y [x] Y Y Y crxzone
Cryptagio Y Y Y Y Y cryptagio
Cryptaldash Y Y Y Y cryptaldash
Cryptlocex Y Y [x] N Y Y cryptlocex
Cryptex Y Y Y User-Defined Y cryptex
CryptoBridge Y Y Y crypto_bridge
CryptoHub Y N N Y crypto_hub
Cryptobulls Y N N Y cryptobulls
Cryptology Y Y cryptology
Cryptonit Y Y Y Y Y cryptonit
Cryptopia Y Y Y Y cryptopia
Crytrex Y Y [x] Y Y crytrex
Currency Y Y Y currency
Curve Y Y curve
Cybex Y Y Y cybex
Dach.Exchange Y Y Y dach_exchange
Dakuce Y Y Y Y dakuce
Darb Finance Y Y [x] Y Y darb_finance
Daybit Y Y Y daybit
Dcoin Y Y [x] Y Y Y dcoin
Ddex Y Y Y Y Y ddex
Decoin Y Y Y Y Y Decoin
DEEX Y Y deex
DEx.top Y Y [x] Y Y dextop
Deversifi Y Y Y Y deversifi
dex-trade Y Y Y Y dextrade
dex.blue Y Y [x] Y Y Y dex_blue
Dflow Y Y Y dflow
Digifinex Y Y digifinex
Digitalprice Y Y Y Y Y digitalprice
Dobitrade Y Y [x] N Y Y dobitrade
Dove Wallet Y Y [x] Y Y Y dove_wallet
Dragonex Y Y [x] N Y Y dragonex
Dsx Y Y Y Y dsx
Dydx Y Y [x] N Y N dydx
Eosex Y N N Y Y eosex
Ecxx Y Y[X] N Y Y ecxx
Elitex Y Y[X] Y Y Y elitex
Ercdex Y Y Y erxdex
Escodex Y Y Y escodex
Eterbase Y Y Y Y eterbase
EtherDelta Y Y ether_delta
Etherflyer Y N N Y Y etherflyer
Ethex Y N N Y N ethex
Ethfinex Y Y [x] Y Y Y ethfinex
EtoroX Y Y [x] Y Y Y etorox
Everbloom Y Y everbloom
EXNCE Y N N Y Y exnce
ExMarkets Y Y Y Y Y exmarkets
Exmo Y Y [x] Y Y Y exmo
Exrates Y Y [x] N Y Y exrates
Extstock Y Y Y Y Y extstock
Exx Y Y [x] Y Y Y exx
F1cx Y Y Y Y Y f1cx
FatBTC Y Y [x] Y [limit: 50] Y fatbtc
Fcoin Y Y [x] Y [limit: 500] Y Y fcoin
Fex Y N N Y fex
Financex Y N N Y Y financex
Fisco Y Y Y Y Y fisco
Floatsv Y Y [x] Y Y floatsv
Forkdelta Y N N Y Y forkdelta
Freiexchange Y Y User-Defined Y freiexchange
FTX (Spot) Y Y [x] Y Y ftx_spot
FTX.us Y Y [x] Y Y ftx_us
FinexBox Y Y [x] Y Y finexbox
Fubt Y Y Y fubt
Gate Y Y [x] Y Y Y gate
Gatecoin Y Y gatecoin
GDAX(Coinbase Pro) Y Y [x] Y Y gdax
Gemini Y Y [x] Y Y gemini
GetBTC Y Y Y User-Defined Y getbtc
GmoJapan Y Y [x] Y Y Y gmo_japan
GoExchange Y Y [x] Y Y Y go_exchange
Gibraltar Y N N Y Y gbx
Gobaba Y Y gobaba
golix (API Failed) Y Y Y golix
GOPAX Y Y [x] Y Y Y gopax
Graviex Y Y [x] N Y Y graviex
Hadax Y Y [x] N Y Y hadax
Hanbitco Y N N Y Y hanbitco
Hb.top Y Y [x] N Y N hb_top
Hikenex Y N N Y N hikenex
HitBTC Y Y [x] Y Y Y hitbtc
Hoo Y Y [x] N Y Y hoo
Hotbit Y Y [x] Y [limit: 1000] Y Y hotbit
HPX Y Y [x] Y Y hpx
Hubi Y Y hubi
Huobi Y Y [x] Y [limit: 2000] Y Y huobi
Huobi DM Y Y [x] Y [limit: 2000] Y Y huobi_dm
Huobi ID Y Y [x] Y [limit: 2000] Y Y huobi_id
Huobi Japan Y Y [x] Y [limit: 2000] Y Y huobi_japan
Huobi Korea Y Y [x] Y [limit: 2000] Y Y huobi_korea
Huobi Thailand Y Y [x] Y Y Y huobi_thailand
Huobi US Y Y [x] Y [limit: 2000] Y Y huobi_us
Ice3x Y Y Y Y ice3x
Idax Y Y [x] N Y Y idax
Idcm Y Y [x] Y Y idcm
Idex Y Unstable Y Y Y idex
Incorex Y Y Y Y Y incorex
Indodax Y Y [x] Y User-Defined N indodax
Indoex Y Y [x] Y Y indoex
IndependentReserve Y Y [x] N Y Y independent_reserve
InfinityCoin Y Y Y infinity_coin
InstantBitex Y Y [x] Y Y instantbitex
Iqfinex Y Y Y Y Y iqfinex
Ironex Y Y ironex
Itbit Y Y [x] Y User-Defined itbit
Jex Y Y [x] N Y Y jex
Joyso Y Y [x] Y joyso
Jubi Y Y jubi
Kairex Y Y [x] Y kairex
KKex Y Y [x] Y Y Y k_kex
Kkcoin Y Y [x] Y Y Y kkcoin
Koinex Y Y koinex
Koinok Y Y Y koinok
Koinx Y Y [x] Y Y koinx
Korbit Y Y [x] User-Defined Y korbit
Kraken Y Y [x] Y [limit: 1000] Y Y kraken
Kryptono Y Y [x] Y User-Defined Y kryptono
Kucoin Y Y [x] N Y Y kucoin
Kumex Y Y [x] N Y Y kumex
Kuna Y Y [x] Y User-Defined Y kuna
KyberNetwork Y N N Y Y kyber_network
LakeBTC Y Y [X] Y Y lakebtc
Latoken Y Y Y latoken
Lbank Y Y [x] Y Y Y lbank
Letsdocoinz Y Y letsdocoinz
Liqui Y Y liqui
LiteBit.eu Y Y litebiteu
Livecoin Y Y [x] Y livecoin
LocalBitcoins Y N Y [limit: 500] Y localbitcoins P2P
LocalTrade Y Y Y localtrade
Lucent Y Y [x] Y Y lucent
Lukki Y Y [x] Y Y lukki
Luno Y Y Y luno
Lykke Y Y N Y lykke
Maplechange Y Y Y Y maplechange
MaxMaicoin Y Y [x] Y Y Y max_maicoin
MercadoBitcoin Y Y [x] User-Defined mercado_bitcoin
Mercatox Y Y [x] N N Y mercatox
Mercuriex Y N N N Y Y mercuriex
MXC Y Y [x] Y Y mxc
Myspeedtrade Y Y Y myspeedtrade
Namebase Y Y Y Y Y namebase
Nanex Y N N N Y nanex
Nanu.Exchange Y Y Y Y nanu_exchange
Nash Y Y [x] Y nash
NebliDex Y N N N Y N neblidex
Nebula Y N Y Y nebula
Negociecoins Y Y [x] Y User-Defined negociecoins
Neraex Y Y Y Y Y neraex
Newdex Y N N Y Y newdex
Nexybit Y Y N Y N nexybit
Ninecoin (Halted) Y Y ninecoin
NLexch Y Y Y nlexch
Nominex Y Y [x] Y Y nominex
Novadex Y N N Y Y novadex
Novadax Y Y [x] Y Y Y novadax
Nusax Y Y Y nusax
Nova Exchange Y Y novaexchange
Oasis Trade Y Y Y Y Y oasis_trade
OasisDEX Y Y oasisdex
OAX Y Y oax
Oceanex Y Y [x] Y Y Y oceanex
Octaex Y Y Y Y octaex
OEX Y Y [x] Y oex
OKCoin Y Y [x] Y okcoin
OKEx Y Y [x] Y [limit: 60] Y Y okex
OKEx Korea Y Y [x] Y Y okex_korea
Omgfin Y Y [x] Y Y omgfin
OmniTrade Y Y Y Y Y omnitrade
Ooobtc Y Y [x] Y [limit: 20] Y Y ooobtc
Openledger Y Y Y Y Y openledger
OrderBook Y Y Y Y Y orderbook
Ore Bz Y Y Y Y Y ore_bz
OTCBTC Y Y Y Y otcbtc
Ovex Y Y [x] Y Y Y ovex
P2pb2b Y Y [x] Y Y p2pb2b
Paribu Y Y paribu
Paro Exchange Y Y paroexchange
Paymium Y Y Y User-Defined paymium
Piexgo Y Y [x] Y Y piexgo
Poloniex Y Y [x] Y [limit: 200] Y Y poloniex
Prixbit Y Y Y prixbit
Probit Y Y [x] Y Y probit
Purcow Y Y Y purcow
QBTC Y Y [x] Y Y qbtc
Qryptos Y Y qryptos
Qtrade Y Y [x] Y qtrade
QuadrigaCX Y User-Defined quadrigacx
Liquid (Quoine) Y Y [x] Y Y quoine
RadarRelay Y Y [x] [No Price] Y Y radar_relay
Raidofinance Y Y [x] Y Y Y raidofinance
Raisex Y Y raisex
Remitano Y Y [x] Y [limit: 20] Y N remitano P2P
Resfinex Y Y [x] Y N resfinex
Rfinex Y Y Y Y rfinex
RightBTC Y Y [x] Y Y rightbtc
SafeTrade Y Y [x] N Y safe_trade
SatoExchange Y Y [x] Y Y satoexchange
SatoWalletEx Y N sato_wallet_ex
SaturnNetwork Y Y Y saturn_network
Secondbtc Y Y [x] N Y Y secondbtc
Shortex Y Y [x] Y Y shortex
Sigen Y Y Y sigen
Simex Y N N Y Y simex
Singularx Y N N Y singularx
Sistemkoin Y Y sistemkoin
6X Y Y [x] Y Y six_x
Satang (Tdax) Y Y [x] Y Y tdax
StakeCube Y Y [x] Y [limit: 20] Y Y stake_cube
SouthXchange Y Y [x] Y Y Y south_xchange
Stocks Exchange Y Y Y stocks_exchange
Swiftex Y Y Y Y swiftex
Switcheo Y Y [x] N Y Y switcheo
Syex Y N N Y Y syex
Synthetix Y N N Y Y synthetix
SZZC Y Y szzc
Tdax Y N N Y Y tdax
The Rock Trading Y Y [x] Y Y Y therocktrading
The Token Store Y Y Y Y Y thetokenstore
Thinkbit Y Y Y Y thinkbit
3Xbit Y Y Y Y Y three_xbit
Tideal Y Y Y Y tideal
Tidebit Y Y [x] Y Y tidebit
Tidex Y Y [x] Y tidex
Tokenize Y Y [x] Y Y tokenize
Tokenjar Y Y tokenjar
Tokenlon Y Y tokenlon
Tokenomy Y Y [x] Y Y Y tokenomy
TokensNet Y Y [x] N Y Y tokens_net
Token Sets Y Y Y Y Y token_sets
TokoCrypto Y Y Y Y N toko_crypto
Tokok Y Y [x] Y Y tokok
Tokpie Y Y [x] Y tokpie
Topbtc Y Y [x] N Y Y topbtc
TradeOgre Y Y [x] Y Y Y trade_ogre
Trade Satoshi Y Y [x] Y Y trade_satoshi
Trade.io Y Y tradeio
Trade.mn Y Y [x] Y Y trademn
TrocaNinja Y N N Y troca_ninja
TronTrade Y N N Y tron_trade
TrustDex ** Y Y trust_dex
TuxExchange Y Y tux_exchange
TRXMarket Y Y trx_market
Txbit Y Y [x] Y Y txbit
UEX Y Y uex
Unidax Y N N Y N unidax
Uniswap (v2) Y N N Y N uniswap
Uniswap (v1) Y N N Y N uniswap_v1
Unnamed Y Y Y Y Y unnamed
Unocoin unocoin
Upbit Y Y [x] Y Y Y upbit
Upbit Indonesia Y Y Y upbit_indonesia
Vaultmex Y Y Y Y Y vaultmex
Vb Y Y Y Y Y vb
Vbitex Y N N Y Y vbitex
Vcc Y Y [x] Y Y Y vcc
Vebitcoin Y Y N Y N vebitcoin
Velic Y Y [x] Y N velic
Vertpig Y Y N Y Y vertpig
Viabtc Y User-Defined viabtc
Vindax Y Y [x] Y Y vindax
Vinex Y Y [x] Y Y vinex
Vitex Y Y [x] Y Y Y vitex
Waves Y Y [x] Y Y waves
WazirX Y Y [x] Y wazirx
Wcx Y Y Y Y wcx
Wex Y Y Y Y Y wex
WhaleEx Y N Y Y whale_ex
Whitebit Y Y Y Y whitebit
Worldcore Y Y Y Y Y worldcore
Xcoex Y Y [x] Y Y xcoex
Xfutures Y Y [x] Y Y Y xfutures
Xt Y Y [x] Y Y Y xt
Yobit Y Y [x] Y Y yobit
Yuanbao Y User-Defined yuanbao
Yunbi Y Y yunbi
Zaif Y Y [x] Y Y Y zaif
ZB Y Y [x] Y Y Y zb
ZBG Y Y [x] Y Y zbg
Zbmega Y N N Y Y zbmega
Zebpay Y Y [x] Y Y Zebpay
Zeniex Y Y Y Y zeniex
ZG Y Y Y zg
ZG.TOP Y Y zgtop

Derivatives (Perpetual & Futures)

Exchange T OB List URL OpenInt CT Idx Idxid Idxn ST ET F% NFT F%P
Bakkt Futures Y N Y Y N Y N N N N N N bakkt
Bhex Futures Y Y Y Y N Y Y N N Y N N bhex_futures
Bibox (Futures) Y Y Y Y N Y N N N N N N bibox_futures
Binance Futures Y Y Y Y N Y Y N N Y Y N binance_futures
Bitflyer Futures Y Y Y Y N Y N N N bitflyer_futures
Bitfinex Futures Y Y Y Y Y Y N N Y Y bitfinex_futures
Bitforex Futures Y Y Y Y Y Y Y Y Y N bitforex_futures
Bithumb Futures Y Y Y Y Y Y Y Y Y N bithumb_futures
Bitmax.IO Futures Y Y Y Y Y Y Y Y N bitmax_futures
Bitmart Futures Y Y Y Y Y Y Y Y Y Y Y Y Y Y bitmart futures
Bitmex Y Y Y Y Y Y Y Y Y Y Y Y Y Y bitmex
Bitz Futures Y Y Y Y Y Y Y N N N N Y bitz_futures
Btcmex Y X Y Y Y Y Y N N Y Y Y btcmex
Bybit Y Y Y Y Y Y Y N N Y Y Y bybit
Biki Futures Y Y Y Y N Y Y N N Y Y N biki_futures
CME Futures Y N Y Y N Y N N Y N N N cme_futures
Coinflex Futures N N Y Y N Y* N N N coinflex_futures
Deribit Y Y Y Y Y Y Y Y Y Y Y Y deribit
Delta Futures Y Y Y Y N Y Y Y Y N N Y N N delta_futures
Dydx (Perpetual) Y Y Y Y Y Y N N N N N Y N N dydx_perpetual
FTX Y Y Y Y Y Y Y Y Y N Y Y Y N ftx
Fmex Y Y Y Y Y Y Y N N Y Y Y fmex
Gate (Futures) Y Y Y Y Y Y Y N N Y Y Y gate_futures
GMO (Futures) Y Y Y Y N Y* N N N gmo_futures
Hopex Y N Y Y Y Y Y N N N N N N N hopex
Huobi DM Y Y Y Y Y Y Y Y Y Y N N N huobi_dm
JexFutures Y Y Y N Y Y N N Y Y Y jex_futures
Kraken Futures Y Y Y Y Y Y Y Y Y Y Y Y Y Y kraken_futures
Kumex Y Y Y Y Y Y Y Y Y Y Y Y Y Y kumex
OKEx Swaps Y Y Y Y Y Y Y Y Y Y Y Y Y okex_swaps
BTSE (Futures) Y Y Y Y Y Y Y Y Y Y Y btse_futures
Prime XBT Y Y Y Y N Y N N N N N N prime_xbt
BaseFEX Y Y Y Y Y Y Y N N Y Y Y basefex
Phemex Y Y Y Y Y Y Y N N Y N N phemex
Liquid (Derivatives) Y Y Y Y N Y Y N N Y N N liquid_derivatives
Zbg Futures Y Y Y Y N Y N N N N N N zbg_futures

Legend

T : Ticker

OB : OrderBook

List : Market List

URL : Trade Page URL

OpenInt : Open Interest

CT : Contract Type

Idx : Price Index

Idxid : Index Identifier

Idxn : Index Name

ST : Start Timestamp

ET : Expire Timestamp

F : Funding Rate %

NFT : Next Funding Rate Timestamp

F% : Funding Rate % Predicted

** Mapping and data may be incorrect (Cannot determine correctness)

*** User-Defined requires pair id

Usage

List market pairs supported by an exchange

  client = Cryptoexchange::Client.new
  pairs = client.pairs('bitflyer')

List exchange services for certain currency

  client.exchange_for('btc')

  # ['anx', 'binance', ...]

Query the Ticker API

  pair = client.pairs('bitflyer').first
  ticker = client.ticker(pair)
  ticker.base
  ticker.target
  ticker.last

Query the Ticker stream API

  pair = client.pairs('bitfinex').first
  thread = client.ticker_stream(
    market_pair: pair,
    onopen: Proc.new { puts 'Opened!' },
    onmessage: Proc.new do |ticker|
                 puts ticker.base
                 puts ticker.target
                 puts ticker.last
                 # ...
               end,
    onclose: Proc.new { puts 'Closed!' },
  )

  thread.kill

Query the OrderBook API

  # Check if exchange has support for OrderBook
  pair = client.pairs('bitbank').first
  order_book = client.order_book(pair)
  order_book.base
  order_book.target
  order_book.bids
  order_book.asks

Query the OrderBook stream API

  pair = client.pairs('bitfinex').first
  thread = client.order_book_stream(
    market_pair: pair,
    onopen: Proc.new { puts 'Opened!' },
    onmessage: Proc.new do |order_book|
                 puts order_book.asks[0].price if order_book.asks[0]
                 puts order_book.bids[0].price if order_book.bids[0]
                 # ...
               end,
    onclose: Proc.new { puts 'Closed!' },
  )

  thread.kill

Query the Trades API

  # Check if exchange has support for Trades
  # returns array

  pair = client.pairs('neraex').first
  trades = client.trades(pair)
  trades[0].base
  trades[0].target
  trades[0].price
  trades[0].amount

Query the Trade stream API

  pair = client.pairs('bitfinex').first
  thread = client.trade_stream(
    market_pair: pair,
    onopen: Proc.new { puts 'Opened!' },
    onmessage: Proc.new do |trade|
                 puts trade.trade_id
                 puts trade.price
                 puts trade.amount
                 # ...
               end,
    onclose: Proc.new { puts 'Closed!' },
  )

  thread.kill

Get Exchange Trade URL (Work in Progress)

  client.trade_page_url 'binance', base: 'BTC', target: 'USDT'

Market List

Some exchange API do not support market pair listings. For those exchanges, we included a custom YML file to define the list of market pairs supported by that exchange. That configuration works out of the box, however if that exchange adds new market pairs, you as the user of Cryptoexchange can explicitly add those pairs instead of waiting for this library to be updated.

In the table above, look for the User-Defined under the Market List column.

The format of the yaml file should look like below. Name the file <exchange_name>.yml and place it under the config/cryptoexchange directory.

  :pairs:
    - :base: BTC
      :target: KRW
    - :base: ETH
      :target: KRW
    - :base: ETC
      :target: KRW

configuration

Cache

This gem uses https://github.com/SamSaffron/lru_redux cache by default so it doesn't hit exchanges with endpoint that returns multiple tickers for each ticker you are querying.

Alternatively, if you are using rails you can use rails cache (ActiveSupport::Cache::Store) by changing the config: create the following file /config/initializers/cryptoexchange.rb and have the config inside.

Cryptoexchange.configure do |config|
  config.ticker_ttl = 10
  # ticker cache duration in seconds
  # default value = 10

  config.cache_size = 200
  # lru_redux cache store, ONLY EFFECTIVE if you use lru_redux cache which is the default, this value will be ignored when using rails cache
  # default value = 200

  config.rails_cache = false
  # enables rails cache
  # default value = false
end

Proxy

To use proxy for HTTP requests, pass in array of hashes as proxy_list as below:

proxy_list = [
  {
    proxy_address: "1.1.1.1",
    proxy_port: 8080,
  },
  {
    proxy_address: "2.2.2.2",
    proxy_port: 8080
  }
]

Cryptoexchange.configure do |config|
  config.proxy_list = proxy_list
end

Development

After checking out the repo, run bin/setup to install dependencies and run rake add_exchange <exchange_name in snake_case> to create necessary files. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/coingecko/cryptoexchange. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

When implementing a new exchange for HTTP API, refer to this guide. For Websocket API, refer to this guide

The contributing guide may also be useful to you.

You can chat with the core team member or other participating in this repository chat on https://gitter.im/cryptoexchange-api/Lobby/~chat#

License

The gem is available as open source under the terms of the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].