docs: public static Trade adaptTrade(
        CryptonitTransaction tx, CurrencyPair currencyPair, int timeScale) {
  
      OrderType orderType = tx.getType() == 0 ? OrderType.BID : OrderType.ASK;
      final String tradeId = String.valueOf(tx.getTid());
      Date date =
          DateUtils.fromMillisUtc(
              tx.getDate()
                  * timeScale); // polled order books provide a timestamp in seconds, stream in ms
      return new Trade(orderType, tx.getAmount(), currencyPair, tx.getPrice(), date, tradeId);
    }