/**
  * Performs aggregate query with the provided <tt>scope</tt>.
  *
  * <p>Note: the scopes were defined from the Designer.
  *
  * @param scope the scope to perform the query.
  * @param params a map of parameters.
  * @throws RemoteRequestException If there are other issues with the request.
  */
 public static String aggregateQuery(String scope, Map<String, String> params)
     throws RemoteRequestException {
   return com.anypresence.sdk.APObject.aggregateQuery(scope, params, CapitalMarketsOrder.class);
 }