code: public static LimitOrder adaptOrder(
        BigDecimal amount,
        BigDecimal price,
        CurrencyPair currencyPair,
        OrderType orderType,
        String id) {
  
      return new LimitOrder(orderType, amount, currencyPair, id, null, price);
    }
docs: Adapts a WexOrder to a LimitOrder
  
  @param amount
  @param price
  @param currencyPair
  @param orderType
  @param id
  @return