批量获取用户订单

@param symbol
@param type 查询类型 0:未完成的订单 1:已经完成的订单
@param orderIds
@return
498903
public OkCoinOrderResult getOrder(String symbol, Integer type, String orderIds)
      throws IOException {

    OkCoinOrderResult orderResult =
        okCoin.getOrders(apikey, type, orderIds, symbol, signatureCreator());
    return returnOrThrow(orderResult);
  }
26042
public static Expression<?> orderBy(List<OrderSpecifier<?>> args) {
        return operation(Object.class, Ops.ORDER, ConstantImpl.create(args));
    }
943682
@Override
  public int get(String symbol) {
    int id = symbolToId.getOrDefault(symbol, -1);
    if (id < 0) {
      throw new IllegalArgumentException("No symbol exists for key " + symbol);
    }
    return id;
  }
981008
public static List<LimitOrder> createOrders(
      CurrencyPair currencyPair, Order.OrderType orderType, BitcoindeOrder[] orders) {

    List<LimitOrder> limitOrders = new ArrayList<>();
    for (BitcoindeOrder order : orders) {
      limitOrders.add(createOrder(currencyPair, order, orderType, null, null));
    }
    return limitOrders;
  }
379002
public static String getPrimitiveObjCType(TypeMirror type) {
    return TypeUtil.isVoid(type) ? "void"
        : type.getKind().isPrimitive() ? "j" + TypeUtil.getName(type) : "id";
  }
725478
public <K, T extends Persistable<K>>
    CastorDao<K, T> getDao(
                    final Class<T> type
                    )
    {
        CastorDao<K, T>  dao = _daoRegistry.getDao( type );
        dao.setDaoRegistry( _daoRegistry );

        return dao;
    }
570369
public static <T> List<String> getUniqeDocIdList(List<T> results, Ordering<T> ordering, Function<T, String> toIdString) {
    Collections.sort(results, ordering);
    Set<String> list = Sets.newLinkedHashSet();
    for (T result : results) {
      list.add(toIdString.apply(result));
    }
    return Lists.newArrayList(list);
  }
693820
public OvhDebt order_orderId_debt_GET(Long orderId) throws IOException {
		String qPath = "/me/order/{orderId}/debt";
		StringBuilder sb = path(qPath, orderId);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhDebt.class);
	}
696923
public static <S extends Storable> OrderingList<S> get(Class<S> type, String property) {
        OrderingList<S> list = emptyList();
        if (property != null) {
            list = list.concat(type, property);
        }
        return list;
    }
402485
public static String makeMercadoBitcoinOrderId(CurrencyPair currencyPair, String orderId) {

    String pair;

    if (currencyPair.equals(CurrencyPair.BTC_BRL)) {
      pair = "btc_brl";
    } else if (currencyPair.equals(new CurrencyPair(Currency.LTC, Currency.BRL))) {
      pair = "ltc_brl";
    } else {
      throw new NotAvailableFromExchangeException();
    }

    return pair + ":" + orderId;
  }
836231
public OkCoinMoreTradeResult batchTrade(String symbol, String type, String ordersData)
      throws IOException {
    OkCoinMoreTradeResult tradeResult =
        okCoin.batchTrade(apikey, symbol, type, ordersData, signatureCreator());
    return returnOrThrow(tradeResult);
  }
264671
def get_type(self, index):

        
        if index < 0 or index >= len(self._types):
            raise ValueError("Index for getting order parameter type"
                             " out-of-bounds!")
        return self._types[index]
575839
public OvhPayment order_orderId_payment_GET(Long orderId) throws IOException {
		String qPath = "/me/order/{orderId}/payment";
		StringBuilder sb = path(qPath, orderId);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhPayment.class);
	}
442130
public OkCoinFuturesOrderResult getFuturesOrders(
      String orderIds, String symbol, FuturesContract contract) throws IOException {

    OkCoinFuturesOrderResult futuresOrder =
        okCoin.getFuturesOrders(apikey, orderIds, symbol, contract.getName(), signatureCreator());
    return returnOrThrow(futuresOrder);
  }
1330271
public static LimitOrder adaptOrder(
      BigDecimal amount,
      BigDecimal price,
      CurrencyPair currencyPair,
      OrderType orderType,
      String id) {

    return new LimitOrder(orderType, amount, currencyPair, id, null, price);
  }
921418
public static Result newPreparedExecuteRequest(Type[] types,
            long statementId) {

        Result result = newResult(ResultConstants.EXECUTE);

        result.metaData    = ResultMetaData.newSimpleResultMetaData(types);
        result.statementID = statementId;

        result.navigator.add(ValuePool.emptyObjectArray);

        return result;
    }
57533
public static String simplePrint(GraphQLType type) {
        StringBuilder sb = new StringBuilder();
        if (isNonNull(type)) {
            sb.append(simplePrint(unwrapOne(type)));
            sb.append("!");
        } else if (isList(type)) {
            sb.append("[");
            sb.append(simplePrint(unwrapOne(type)));
            sb.append("]");
        } else {
            sb.append(type.getName());
        }
        return sb.toString();
    }