public String placeGateioLimitOrder(LimitOrder limitOrder) throws IOException {

    GateioOrderType type =
        (limitOrder.getType() == Order.OrderType.BID) ? GateioOrderType.BUY : GateioOrderType.SELL;

    return placeGateioLimitOrder(
        limitOrder.getCurrencyPair(),
        type,
        limitOrder.getLimitPrice(),
        limitOrder.getOriginalAmount());
  }
public String placeGateioLimitOrder ( LimitOrder limitOrder ) throws IOException { GateioOrderType type = ( limitOrder . getType ( ) == Order . OrderType . BID ) ? GateioOrderType . BUY : GateioOrderType . SELL ; return placeGateioLimitOrder ( limitOrder . getCurrencyPair ( ) , type , limitOrder . getLimitPrice ( ) , limitOrder . getOriginalAmount ( ) ) ; }
Submits a Limit Order to be executed on the Gateio Exchange for the desired market defined by
{@code CurrencyPair}. WARNING - Gateio will return true regardless of whether or not an order
actually gets created. The reason for this is that orders are simply submitted to a queue in
their back-end. One example for why an order might not get created is because there are
insufficient funds. The best attempt you can make to confirm that the order was created is to
poll {@link #getGateioOpenOrders}. However if the order is created and executed before it is
caught in its open state from calling {@link #getGateioOpenOrders} then the only way to confirm
would be confirm the expected difference in funds available for your account.

@param limitOrder
@return String order id of submitted request.
@throws IOException