Interface HistOrdersAPI


@Path("/api/v1/hist-orders") @Produces("application/json") public interface HistOrdersAPI
  • Method Details

    • queryHistOrders

      @GET KucoinResponse<Pagination<HistOrdersResponse>> queryHistOrders(@HeaderParam("KC-API-KEY") String apiKey, @HeaderParam("KC-API-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("KC-API-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("KC-API-PASSPHRASE") String apiPassphrase, @QueryParam("symbol") String symbol, @QueryParam("side") String side, @QueryParam("startAt") Long startAt, @QueryParam("endAt") Long endAt, @QueryParam("pageSize") Integer pageSize, @QueryParam("currentPage") Integer currentPage) throws IOException
      Get a list of recent fills.
      Parameters:
      symbol - [optional] Limit list of fills to this orderId
      side - [optional] buy or sell
      startAt - [optional] Start time. unix timestamp calculated in milliseconds, the creation time queried shall posterior to the start time.
      endAt - [optional] End time. unix timestamp calculated in milliseconds, the creation time queried shall prior to the end time.
      pageSize - [optional] The page size.
      currentPage - [optional] The page to select.
      Returns:
      Trades.
      Throws:
      IOException