Interface FillAPI


@Path("/api/v1/fills")
@Produces("application/json")
public interface FillAPI
Based on code by chenshiwei on 2019/1/10.
  • Method Details

    • queryTrades

      @GET KucoinResponse<Pagination<TradeResponse>> queryTrades​(@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("orderId") String orderId, @QueryParam("side") String side, @QueryParam("type") String type, @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
      orderId - [optional] Limit list of fills to this orderId
      side - [optional] buy or sell
      type - [optional] limit, market, limit_stop or market_stop
      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 - The page size.
      currentPage - The page to select.
      Returns:
      Trades.
      Throws:
      IOException