qbtrade/pkg/types/channel.go

21 lines
533 B
Go
Raw Normal View History

2024-06-27 14:42:38 +00:00
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")
)