mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +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 (
|
||||
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"}
|
||||
|
|
Loading…
Reference in New Issue
Block a user