Package org.knowm.xchange.btcmarkets
Interface BTCMarketsAuthenticated
@Path("/")
@Produces("application/json")
public interface BTCMarketsAuthenticated
-
Method Summary
Modifier and TypeMethodDescriptioncancelOrder
(String publicKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonceFactory, BTCMarketsDigest signer, BTCMarketsCancelOrderRequest request) fundtransferHistory
(String publicKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonceFactory, BTCMarketsDigest signer) getBalance
(String publicKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonceFactory, BTCMarketsDigest signer) getOpenOrders
(String publicKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonceFactory, BTCMarketsDigest signer, BTCMarketsOpenOrdersRequest request) getOrderDetails
(String publicKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonceFactory, BTCMarketsDigest signer, BTCMarketsOrderDetailsRequest request) withdrawCrypto
(String publicKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonceFactory, BTCMarketsDigest signer, BTCMarketsWithdrawCryptoRequest request)
-
Method Details
-
getBalance
@GET @Path("account/balance") List<BTCMarketsBalance> getBalance(@HeaderParam("apikey") String publicKey, @HeaderParam("timestamp") si.mazi.rescu.SynchronizedValueFactory<Long> nonceFactory, @HeaderParam("signature") BTCMarketsDigest signer) throws BTCMarketsException, IOException - Throws:
BTCMarketsException
IOException
-
cancelOrder
@POST @Path("order/cancel") @Consumes("application/json") BTCMarketsCancelOrderResponse cancelOrder(@HeaderParam("apikey") String publicKey, @HeaderParam("timestamp") si.mazi.rescu.SynchronizedValueFactory<Long> nonceFactory, @HeaderParam("signature") BTCMarketsDigest signer, BTCMarketsCancelOrderRequest request) throws BTCMarketsException, IOException - Throws:
BTCMarketsException
IOException
-
getOpenOrders
@POST @Path("order/open") @Consumes("application/json") BTCMarketsOrders getOpenOrders(@HeaderParam("apikey") String publicKey, @HeaderParam("timestamp") si.mazi.rescu.SynchronizedValueFactory<Long> nonceFactory, @HeaderParam("signature") BTCMarketsDigest signer, BTCMarketsOpenOrdersRequest request) throws BTCMarketsException, IOException - Throws:
BTCMarketsException
IOException
-
getOrderDetails
@POST @Path("order/detail") @Consumes("application/json") BTCMarketsOrders getOrderDetails(@HeaderParam("apikey") String publicKey, @HeaderParam("timestamp") si.mazi.rescu.SynchronizedValueFactory<Long> nonceFactory, @HeaderParam("signature") BTCMarketsDigest signer, BTCMarketsOrderDetailsRequest request) throws BTCMarketsException, IOException - Throws:
BTCMarketsException
IOException
-
withdrawCrypto
@POST @Path("fundtransfer/withdrawCrypto") @Consumes("application/json") BTCMarketsWithdrawCryptoResponse withdrawCrypto(@HeaderParam("apikey") String publicKey, @HeaderParam("timestamp") si.mazi.rescu.SynchronizedValueFactory<Long> nonceFactory, @HeaderParam("signature") BTCMarketsDigest signer, BTCMarketsWithdrawCryptoRequest request) throws BTCMarketsException, IOException - Throws:
BTCMarketsException
IOException
-
fundtransferHistory
@GET @Path("fundtransfer/history") BTCMarketsFundtransferHistoryResponse fundtransferHistory(@HeaderParam("apikey") String publicKey, @HeaderParam("timestamp") si.mazi.rescu.SynchronizedValueFactory<Long> nonceFactory, @HeaderParam("signature") BTCMarketsDigest signer) throws BTCMarketsException, IOException - Throws:
BTCMarketsException
IOException
-