mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-14 02:53:50 +00:00
types: fix const type declaration
This commit is contained in:
parent
5527b3c48a
commit
c4f8b11f98
|
@ -40,12 +40,12 @@ func (n ExchangeName) String() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
ExchangeMax = ExchangeName("max")
|
ExchangeMax ExchangeName = "max"
|
||||||
ExchangeBinance = ExchangeName("binance")
|
ExchangeBinance ExchangeName = "binance"
|
||||||
ExchangeFTX = ExchangeName("ftx")
|
ExchangeFTX ExchangeName = "ftx"
|
||||||
ExchangeOKEx = ExchangeName("okex")
|
ExchangeOKEx ExchangeName = "okex"
|
||||||
ExchangeKucoin = ExchangeName("kucoin")
|
ExchangeKucoin ExchangeName = "kucoin"
|
||||||
ExchangeBacktest = ExchangeName("backtest")
|
ExchangeBacktest ExchangeName = "backtest"
|
||||||
)
|
)
|
||||||
|
|
||||||
var SupportedExchanges = []ExchangeName{"binance", "max", "ftx", "okex", "kucoin"}
|
var SupportedExchanges = []ExchangeName{"binance", "max", "ftx", "okex", "kucoin"}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user