Package org.knowm.xchange.kucoin.service
Interface HistOrdersAPI
@Path("/api/v1/hist-orders")
@Produces("application/json")
public interface HistOrdersAPI
-
Method Summary
Modifier and TypeMethodDescriptionqueryHistOrders
(String apiKey, si.mazi.rescu.ParamsDigest signature, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String apiPassphrase, String symbol, String side, Long startAt, Long endAt, Integer pageSize, Integer currentPage) Get a list of recent fills.
-
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 orderIdside
- [optional] buy or sellstartAt
- [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
-