Package org.knowm.xchange.coinegg
Interface CoinEggAuthenticated
@Path("api/v1")
@Consumes("application/x-www-form-urlencoded")
@Produces("application/json")
public interface CoinEggAuthenticated
-
Method Summary
Modifier and TypeMethodDescriptiongetBalance
(String apiKey, long nonce, si.mazi.rescu.ParamsDigest signer) getTradeAdd
(String apiKey, si.mazi.rescu.ParamsDigest signer, long nonce, BigDecimal amount, BigDecimal price, String type, String coin) getTradeCancel
(String apiKey, si.mazi.rescu.ParamsDigest signer, long nonce, String id, String coin) getTradeList
(String apiKey, si.mazi.rescu.ParamsDigest signer, long nonce, long since, String coin, String type) getTradeView
(String apiKey, si.mazi.rescu.ParamsDigest signer, long nonce, String tradeID, String coin)
-
Method Details
-
getBalance
@POST @Path("balance") CoinEggBalance getBalance(@FormParam("key") String apiKey, @FormParam("nonce") long nonce, @FormParam("signature") si.mazi.rescu.ParamsDigest signer) throws IOException - Throws:
IOException
-
getTradeList
@POST @Path("trade_list") CoinEggTradeList getTradeList(@FormParam("key") String apiKey, @FormParam("signature") si.mazi.rescu.ParamsDigest signer, @FormParam("nonce") long nonce, @FormParam("since") long since, @FormParam("coin") String coin, @FormParam("type ") String type) throws IOException - Throws:
IOException
-
getTradeView
@POST @Path("trade_view") CoinEggTradeView getTradeView(@FormParam("key") String apiKey, @FormParam("signature") si.mazi.rescu.ParamsDigest signer, @FormParam("nonce") long nonce, @FormParam("id") String tradeID, @FormParam("coin") String coin) throws IOException - Throws:
IOException
-
getTradeCancel
@POST @Path("trade_cancel") CoinEggTradeCancel getTradeCancel(@FormParam("key") String apiKey, @FormParam("signature") si.mazi.rescu.ParamsDigest signer, @FormParam("nonce") long nonce, @FormParam("id") String id, @FormParam("coin") String coin) throws IOException - Throws:
IOException
-
getTradeAdd
@POST @Path("trade_add") CoinEggTradeAdd getTradeAdd(@FormParam("key") String apiKey, @FormParam("signature") si.mazi.rescu.ParamsDigest signer, @FormParam("nonce") long nonce, @FormParam("amount") BigDecimal amount, @FormParam("price") BigDecimal price, @FormParam("type") String type, @FormParam("coin") String coin) throws IOException - Throws:
IOException
-