code: public CexIOOrder placeCexIOMarketOrder(MarketOrder marketOrder) throws IOException {
      CexIOOrder order =
          cexIOAuthenticated.placeOrder(
              signatureCreator,
              marketOrder.getCurrencyPair().base.getCurrencyCode(),
              marketOrder.getCurrencyPair().counter.getCurrencyCode(),
              new CexioPlaceOrderRequest(
                  (marketOrder.getType() == BID ? CexIOOrder.Type.buy : CexIOOrder.Type.sell),
                  null,
                  marketOrder.getOriginalAmount(),
                  "market"));
      if (order.getErrorMessage() != null) {
        throw new ExchangeException(order.getErrorMessage());
      }
      return order;
    }
docs: /*
  Presently, the exchange is designed in such way that placing market order we have to use amount either in base,
  or counter currency depending on order type.
  
  Example:
  CurrencyPair.BCH_USD, Order.OrderType.ASK, Amount = 0.02 (BCH)
  CurrencyPair.BCH_USD, Order.OrderType.BID, Amount = 20 (USD)
  
  Because of this non-standard behaviour we cannot place this function into common interface