Class CoinmateStreamingAdapter
java.lang.Object
info.bitrich.xchangestream.coinmate.v2.CoinmateStreamingAdapter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Trade
adaptTrade
(CoinmateWebSocketTrade webSocketTrade, CurrencyPair currencyPair) static OpenOrders
adaptWebsocketOpenOrders
(List<CoinmateWebsocketOpenOrder> coinmateWebsocketOpenOrders, CurrencyPair currencyPair) static UserTrades
adaptWebSocketUserTrades
(List<CoinmateWebSocketUserTrade> coinmateWebSocketUserTrades, CurrencyPair currencyPair) static String
getChannelPostfix
(CurrencyPair currencyPair)
-
Constructor Details
-
CoinmateStreamingAdapter
public CoinmateStreamingAdapter()
-
-
Method Details
-
getChannelPostfix
-
adaptWebSocketUserTrades
public static UserTrades adaptWebSocketUserTrades(List<CoinmateWebSocketUserTrade> coinmateWebSocketUserTrades, CurrencyPair currencyPair) -
adaptWebsocketOpenOrders
public static OpenOrders adaptWebsocketOpenOrders(List<CoinmateWebsocketOpenOrder> coinmateWebsocketOpenOrders, CurrencyPair currencyPair) -
adaptTrade
-