docs: private static Object adaptOrder(Order order) {
      OrderCreateApiRequest.OrderCreateApiRequestBuilder request = OrderCreateApiRequest.builder();
      boolean hasClientId = false;
      for (IOrderFlags flag : order.getOrderFlags()) {
        if (flag instanceof KucoinOrderFlags) {
          request.clientOid(((KucoinOrderFlags) flag).getClientId());
          hasClientId = true;
        } else if (flag instanceof TimeInForce) {
          request.timeInForce(((TimeInForce) flag).name());
        }
      }
      if (!hasClientId) {
        request.clientOid(UUID.randomUUID().toString());
      }
      return request
          .symbol(adaptCurrencyPair(order.getCurrencyPair()))
          .size(order.getOriginalAmount())
          .side(adaptSide(order.getType()));
    }