Package org.knowm.xchange.kucoin.service
Interface TradingFeeAPI
@Path("api/v1")
@Produces("application/json")
public interface TradingFeeAPI
-
Method Summary
Modifier and TypeMethodDescriptiongetBaseFee
(String apiKey, si.mazi.rescu.ParamsDigest signature, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String apiPassphrase) Get basic fee rate of users.getTradeFee
(String apiKey, si.mazi.rescu.ParamsDigest signature, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String apiPassphrase, String symbols)
-
Method Details
-
getBaseFee
@GET @Path("/base-fee") KucoinResponse<TradeFeeResponse> getBaseFee(@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) throws IOException Get basic fee rate of users.- Returns:
- basic trading fee information
- Throws:
IOException
-
getTradeFee
@GET @Path("/trade-fees") KucoinResponse<List<TradeFeeResponse>> getTradeFee(@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("symbols") String symbols) throws IOException - Throws:
IOException
-