Files
gocryptotrader/exchanges/support.go
Adrian Gallagher 0fd433e865 exchanges/bittrex,kucoin: Remove exchange implementation and fix minor test issue (#1403)
* exchanges/Bittrex: Remove exchange implementation

* Kucoin: Fix TestProcessMarketSnapshot after pair removal update

* Kucoin: Fix race due to duplicate setupWS call

Unleash your inner Max Verstappen

* Kucoin: Actually test spot/margin market snapshot replication
2023-11-22 10:20:09 +11:00

44 lines
643 B
Go

package exchange
import "strings"
// IsSupported returns whether or not a specific exchange is supported
func IsSupported(exchangeName string) bool {
for x := range Exchanges {
if strings.EqualFold(exchangeName, Exchanges[x]) {
return true
}
}
return false
}
// Exchanges stores a list of supported exchanges
var Exchanges = []string{
"binance",
"binanceus",
"bitfinex",
"bithumb",
"bitflyer",
"bitmex",
"bitstamp",
"btc markets",
"btse",
"bybit",
"coinbasepro",
"coinut",
"exmo",
"gateio",
"gemini",
"hitbtc",
"huobi",
"itbit",
"kraken",
"kucoin",
"lbank",
"okcoin",
"okx",
"poloniex",
"yobit",
"zb",
}