Package org.knowm.xchange.bitcoinde
Interface Bitcoinde
@Path("/")
@Produces("application/json")
public interface Bitcoinde
-
Method Summary
Modifier and Type Method Description BitcoindeIdResponse
createOrder(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest, BigDecimal max_amount, BigDecimal price, String trading_pair, String type)
BitcoindeIdResponse
deleteOrder(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest, String order_id, String trading_pair)
BitcoindeAccountWrapper
getAccount(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest)
BitcoindeOrderbookWrapper
getOrderBook(String trading_pair, String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest)
BitcoindeMyOpenOrdersWrapper
getOrders(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest)
BitcoindeTradesWrapper
getTrades(String trading_pair, Integer since, String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest)
-
Method Details
-
deleteOrder
@DELETE @Path("orders/{order_id}/{trading_pair}") BitcoindeIdResponse deleteOrder(@HeaderParam("X-API-KEY") String apiKey, @HeaderParam("X-API-NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("X-API-SIGNATURE") si.mazi.rescu.ParamsDigest paramsDigest, @PathParam("order_id") String order_id, @PathParam("trading_pair") String trading_pair) throws BitcoindeException, IOException- Throws:
BitcoindeException
IOException
-
createOrder
@POST @Path("orders") BitcoindeIdResponse createOrder(@HeaderParam("X-API-KEY") String apiKey, @HeaderParam("X-API-NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("X-API-SIGNATURE") si.mazi.rescu.ParamsDigest paramsDigest, @FormParam("max_amount") BigDecimal max_amount, @FormParam("price") BigDecimal price, @FormParam("trading_pair") String trading_pair, @FormParam("type") String type) throws BitcoindeException, IOException- Throws:
BitcoindeException
IOException
-
getOrderBook
@GET @Path("orders/compact") BitcoindeOrderbookWrapper getOrderBook(@QueryParam("trading_pair") String trading_pair, @HeaderParam("X-API-KEY") String apiKey, @HeaderParam("X-API-NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("X-API-SIGNATURE") si.mazi.rescu.ParamsDigest paramsDigest) throws BitcoindeException, IOException- Throws:
BitcoindeException
IOException
-
getTrades
@GET @Path("trades/history") BitcoindeTradesWrapper getTrades(@QueryParam("trading_pair") String trading_pair, @QueryParam("since_tid") Integer since, @HeaderParam("X-API-KEY") String apiKey, @HeaderParam("X-API-NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("X-API-SIGNATURE") si.mazi.rescu.ParamsDigest paramsDigest) throws BitcoindeException, IOException- Throws:
BitcoindeException
IOException
-
getAccount
@GET @Path("account") BitcoindeAccountWrapper getAccount(@HeaderParam("X-API-KEY") String apiKey, @HeaderParam("X-API-NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("X-API-SIGNATURE") si.mazi.rescu.ParamsDigest paramsDigest) throws BitcoindeException, IOException- Throws:
BitcoindeException
IOException
-
getOrders
@GET @Path("orders/my_own") BitcoindeMyOpenOrdersWrapper getOrders(@HeaderParam("X-API-KEY") String apiKey, @HeaderParam("X-API-NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("X-API-SIGNATURE") si.mazi.rescu.ParamsDigest paramsDigest) throws BitcoindeException, IOException- Throws:
BitcoindeException
IOException
-