types: fix const type declaration

This commit is contained in:
c9s 2022-06-02 11:42:38 +08:00
parent 5527b3c48a
commit c4f8b11f98
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -40,12 +40,12 @@ func (n ExchangeName) String() string {
}
const (
ExchangeMax = ExchangeName("max")
ExchangeBinance = ExchangeName("binance")
ExchangeFTX = ExchangeName("ftx")
ExchangeOKEx = ExchangeName("okex")
ExchangeKucoin = ExchangeName("kucoin")
ExchangeBacktest = ExchangeName("backtest")
ExchangeMax ExchangeName = "max"
ExchangeBinance ExchangeName = "binance"
ExchangeFTX ExchangeName = "ftx"
ExchangeOKEx ExchangeName = "okex"
ExchangeKucoin ExchangeName = "kucoin"
ExchangeBacktest ExchangeName = "backtest"
)
var SupportedExchanges = []ExchangeName{"binance", "max", "ftx", "okex", "kucoin"}