Class BitgetStreamingAdapters
java.lang.Object
info.bitrich.xchangestream.bitget.BitgetStreamingAdapters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoBitgetChannel(Object... args) CreatesBitgetChannelfrom argumentstoOrderBook(BitgetWsOrderBookSnapshotNotification notification, Instrument instrument) toSubscriptionId(BitgetChannel bitgetChannel) Returns unique subscription id.toTicker(BitgetTickerNotification notification) toUserTrade(BitgetWsUserTradeNotification notification)
-
Constructor Details
-
BitgetStreamingAdapters
public BitgetStreamingAdapters()
-
-
Method Details
-
toTicker
-
toSubscriptionId
Returns unique subscription id. Can be used as key for subscriptions caching -
toBitgetChannel
CreatesBitgetChannelfrom arguments- Parameters:
args- [ChannelType,MarketType,Instrument/null]
-
toOrderBook
public OrderBook toOrderBook(BitgetWsOrderBookSnapshotNotification notification, Instrument instrument) -
toUserTrade
-