qbtrade/pkg/types/channel.go
2024-06-27 22:42:38 +08:00

21 lines
533 B
Go

package types
type Channel string
const (
BookChannel = Channel("book")
KLineChannel = Channel("kline")
BookTickerChannel = Channel("bookTicker")
MarketTradeChannel = Channel("trade")
AggTradeChannel = Channel("aggTrade")
ForceOrderChannel = Channel("forceOrder")
// channels for futures
MarkPriceChannel = Channel("markPrice")
LiquidationOrderChannel = Channel("liquidationOrder")
// ContractInfoChannel is the contract info provided by the exchange
ContractInfoChannel = Channel("contractInfo")
)