docs: public void update(OrderBookUpdate orderBookUpdate) {
  
      LimitOrder limitOrder = orderBookUpdate.getLimitOrder();
      List<LimitOrder> limitOrders = getOrders(limitOrder.getType());
      int idx = Collections.binarySearch(limitOrders, limitOrder);
      if (idx >= 0) {
        limitOrders.remove(idx);
      } else {
        idx = -idx - 1;
      }
  
      if (orderBookUpdate.getTotalVolume().compareTo(BigDecimal.ZERO) != 0) {
        LimitOrder updatedOrder = withAmount(limitOrder, orderBookUpdate.getTotalVolume());
        limitOrders.add(idx, updatedOrder);
      }
  
      updateDate(limitOrder.getTimestamp());
    }