Search in sources :

Example 1 with DefaultQueryOrderParam

use of org.knowm.xchange.service.trade.params.orders.DefaultQueryOrderParam in project XChange by knowm.

the class TradeService method toOrderQueryParams.

static OrderQueryParams[] toOrderQueryParams(String... orderIds) {
    OrderQueryParams[] res = new OrderQueryParams[orderIds.length];
    for (int i = 0; i < orderIds.length; i++) {
        String orderId = orderIds[i];
        res[i] = new DefaultQueryOrderParam(orderId);
    }
    return res;
}
Also used : DefaultQueryOrderParam(org.knowm.xchange.service.trade.params.orders.DefaultQueryOrderParam) OrderQueryParams(org.knowm.xchange.service.trade.params.orders.OrderQueryParams)

Aggregations

DefaultQueryOrderParam (org.knowm.xchange.service.trade.params.orders.DefaultQueryOrderParam)1 OrderQueryParams (org.knowm.xchange.service.trade.params.orders.OrderQueryParams)1