Package info.bitrich.xchangestream.ftx
Class FtxStreamingAdapters
java.lang.Object
info.bitrich.xchangestream.ftx.FtxStreamingAdapters
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OrderBook
adaptOrderbookMessage
(OrderBook orderBook, Instrument instrument, com.fasterxml.jackson.databind.JsonNode jsonNode) static Order
adaptOrders
(com.fasterxml.jackson.databind.JsonNode jsonNode) static Ticker
adaptTickerMessage
(Instrument instrument, com.fasterxml.jackson.databind.JsonNode jsonNode) adaptTradesMessage
(Instrument instrument, com.fasterxml.jackson.databind.JsonNode jsonNode) static UserTrade
adaptUserTrade
(com.fasterxml.jackson.databind.JsonNode jsonNode) static Long
getOrderbookChecksum
(List<LimitOrder> asks, List<LimitOrder> bids)
-
Constructor Details
-
FtxStreamingAdapters
public FtxStreamingAdapters()
-
-
Method Details
-
adaptOrderbookMessage
public static OrderBook adaptOrderbookMessage(OrderBook orderBook, Instrument instrument, com.fasterxml.jackson.databind.JsonNode jsonNode) -
getOrderbookChecksum
-
adaptTickerMessage
public static Ticker adaptTickerMessage(Instrument instrument, com.fasterxml.jackson.databind.JsonNode jsonNode) -
adaptTradesMessage
public static Iterable<Trade> adaptTradesMessage(Instrument instrument, com.fasterxml.jackson.databind.JsonNode jsonNode) -
adaptUserTrade
-
adaptOrders
-