Package org.knowm.xchange.btcmarkets
Interface BTCMarketsAuthenticatedV3
@Path("/v3/")
@Produces("application/json")
public interface BTCMarketsAuthenticatedV3
-
Method Summary
Modifier and TypeMethodDescriptiondepositAddress
(String publicKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonceFactory, BTCMarketsDigestV3 signer, String assetName) placeOrder
(String publicKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonceFactory, BTCMarketsDigestV3 signer, BTCMarketsPlaceOrderRequest order) trades
(String publicKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonceFactory, BTCMarketsDigestV3 signer, String marketId, String before, String after, Integer limit) tradingFees
(String publicKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonceFactory, BTCMarketsDigestV3 signer)
-
Method Details
-
placeOrder
@POST @Path("orders") @Consumes("application/json") BTCMarketsPlaceOrderResponse placeOrder(@HeaderParam("BM-AUTH-APIKEY") String publicKey, @HeaderParam("BM-AUTH-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonceFactory, @HeaderParam("BM-AUTH-SIGNATURE") BTCMarketsDigestV3 signer, BTCMarketsPlaceOrderRequest order) throws BTCMarketsExceptionV3, IOException - Throws:
BTCMarketsExceptionV3
IOException
-
depositAddress
@GET @Path("addresses") BTCMarketsAddressesResponse depositAddress(@HeaderParam("BM-AUTH-APIKEY") String publicKey, @HeaderParam("BM-AUTH-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonceFactory, @HeaderParam("BM-AUTH-SIGNATURE") BTCMarketsDigestV3 signer, @QueryParam("assetName") String assetName) throws BTCMarketsExceptionV3, IOException - Throws:
BTCMarketsExceptionV3
IOException
-
trades
@GET @Path("trades") List<BTCMarketsTradeHistoryResponse> trades(@HeaderParam("BM-AUTH-APIKEY") String publicKey, @HeaderParam("BM-AUTH-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonceFactory, @HeaderParam("BM-AUTH-SIGNATURE") BTCMarketsDigestV3 signer, @QueryParam("marketId") String marketId, @QueryParam("before") String before, @QueryParam("after") String after, @QueryParam("limit") Integer limit) throws BTCMarketsExceptionV3, IOException - Throws:
BTCMarketsExceptionV3
IOException
-
tradingFees
@GET @Path("accounts/me/trading-fees") BTCMarketsTradingFeesResponse tradingFees(@HeaderParam("BM-AUTH-APIKEY") String publicKey, @HeaderParam("BM-AUTH-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonceFactory, @HeaderParam("BM-AUTH-SIGNATURE") BTCMarketsDigestV3 signer) throws BTCMarketsExceptionV3, IOException - Throws:
BTCMarketsExceptionV3
IOException
-