Class FtxStreamingAdapters

java.lang.Object
info.bitrich.xchangestream.ftx.FtxStreamingAdapters

public class FtxStreamingAdapters
extends Object
  • Constructor Details

    • FtxStreamingAdapters

      public FtxStreamingAdapters()
  • Method Details

    • adaptOrderbookMessage

      public static OrderBook adaptOrderbookMessage​(OrderBook orderBook, Instrument instrument, com.fasterxml.jackson.databind.JsonNode jsonNode)
    • getOrderbookChecksum

      public static Long getOrderbookChecksum​(List<LimitOrder> asks, List<LimitOrder> bids)
    • 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

      public static UserTrade adaptUserTrade​(com.fasterxml.jackson.databind.JsonNode jsonNode)
    • adaptOrders

      public static Order adaptOrders​(com.fasterxml.jackson.databind.JsonNode jsonNode)