Package org.knowm.xchange.cryptonit2
Interface CryptonitAuthenticatedV2
-
@Path("api") @Consumes("application/x-www-form-urlencoded") @Produces("application/json") public interface CryptonitAuthenticatedV2
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCryptonitAuthenticatedV2.Side
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CryptonitOrder[]getOpenOrders(String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, CryptonitV2.Pair pair)CryptonitUserTransaction[]getUserTransactions(String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, Long numberOfTransactions, Long offset, String sort)CryptonitUserTransaction[]getUserTransactions(String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, CryptonitV2.Pair pair, Long numberOfTransactions, Long offset, String sort)WithdrawalRequest[]getWithdrawalRequests(String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, Long timeDelta)CryptonitOrderplaceMarketOrder(String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, CryptonitAuthenticatedV2.Side side, CryptonitV2.Pair pair, BigDecimal amount)CryptonitOrderplaceOrder(String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, CryptonitAuthenticatedV2.Side side, CryptonitV2.Pair pair, BigDecimal amount, BigDecimal price)
-
-
-
Method Detail
-
getOpenOrders
@POST @Path("open_orders/{pair}/") CryptonitOrder[] getOpenOrders(@FormParam("key") String apiKey, @FormParam("signature") si.mazi.rescu.ParamsDigest signer, @FormParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @PathParam("pair") CryptonitV2.Pair pair) throws CryptonitException, IOException- Throws:
CryptonitExceptionIOException
-
placeMarketOrder
@POST @Path("{side}/market/{pair}/") CryptonitOrder placeMarketOrder(@FormParam("key") String apiKey, @FormParam("signature") si.mazi.rescu.ParamsDigest signer, @FormParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @PathParam("side") CryptonitAuthenticatedV2.Side side, @PathParam("pair") CryptonitV2.Pair pair, @FormParam("amount") BigDecimal amount) throws CryptonitException, IOException- Throws:
CryptonitExceptionIOException
-
placeOrder
@POST @Path("{side}/{pair}/") CryptonitOrder placeOrder(@FormParam("key") String apiKey, @FormParam("signature") si.mazi.rescu.ParamsDigest signer, @FormParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @PathParam("side") CryptonitAuthenticatedV2.Side side, @PathParam("pair") CryptonitV2.Pair pair, @FormParam("amount") BigDecimal amount, @FormParam("price") BigDecimal price) throws CryptonitException, IOException- Throws:
CryptonitExceptionIOException
-
getUserTransactions
@POST @Path("user_transactions/") CryptonitUserTransaction[] getUserTransactions(@FormParam("key") String apiKey, @FormParam("signature") si.mazi.rescu.ParamsDigest signer, @FormParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @FormParam("limit") Long numberOfTransactions, @FormParam("offset") Long offset, @FormParam("sort") String sort) throws CryptonitException, IOException- Throws:
CryptonitExceptionIOException
-
getUserTransactions
@POST @Path("user_transactions/{pair}/") CryptonitUserTransaction[] getUserTransactions(@FormParam("key") String apiKey, @FormParam("signature") si.mazi.rescu.ParamsDigest signer, @FormParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @PathParam("pair") CryptonitV2.Pair pair, @FormParam("limit") Long numberOfTransactions, @FormParam("offset") Long offset, @FormParam("sort") String sort) throws CryptonitException, IOException- Throws:
CryptonitExceptionIOException
-
getWithdrawalRequests
@POST @Path("withdrawal-requests/") WithdrawalRequest[] getWithdrawalRequests(@FormParam("key") String apiKey, @FormParam("signature") si.mazi.rescu.ParamsDigest signer, @FormParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @FormParam("timedelta") Long timeDelta) throws CryptonitException, IOException- Throws:
CryptonitExceptionIOException
-
-