Package org.knowm.xchange.bitcoinde.v4
Interface Bitcoinde
@Path("v4")
@Produces("application/json")
public interface Bitcoinde
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrder
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest, BigDecimal maxAmount, BigDecimal price, String tradingPair, String type) deleteOrder
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest, String orderId, String tradingPair) getAccount
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest) getAccountLedger
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest, String currency, String type, String datetimeStart, String datetimeEnd, Integer page) getCompactOrderBook
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest, String tradingPair) getMyOrders
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest, String type, Integer state, String start, String end, Integer page) getMyOrders
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest, String tradingPair, String type, Integer state, String start, String end, Integer page) getMyTrades
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest, String type, Integer state, Integer onlyTradesWithActionForPaymentOrTransferRequired, Integer paymentMethod, String dateStart, String dateEnd, Integer page) getMyTrades
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest, String tradingPair, String type, Integer state, Integer onlyTradesWithActionForPaymentOrTransferRequired, Integer paymentMethod, String dateStart, String dateEnd, Integer page) getOrderBook
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest, String tradingPair, String type, Integer orderRequirementsFullfilled, Integer onlyKycFull, Integer onlyExpressOrders) getTrades
(String apiKey, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, si.mazi.rescu.ParamsDigest paramsDigest, String tradingPair, Integer since)
-
Method Details
-
getCompactOrderBook
@GET @Path("{trading_pair}/orderbook/compact") BitcoindeCompactOrderbookWrapper getCompactOrderBook(@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("trading_pair") String tradingPair) throws IOException, BitcoindeException - Throws:
IOException
BitcoindeException
-
getOrderBook
@GET @Path("{trading_pair}/orderbook") BitcoindeOrderbookWrapper getOrderBook(@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("trading_pair") String tradingPair, @QueryParam("type") String type, @QueryParam("order_requirements_fullfilled") Integer orderRequirementsFullfilled, @QueryParam("only_kyc_full") Integer onlyKycFull, @QueryParam("only_express_orders") Integer onlyExpressOrders) throws IOException, BitcoindeException - Throws:
IOException
BitcoindeException
-
getTrades
@GET @Path("{trading_pair}/trades/history") BitcoindeTradesWrapper getTrades(@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("trading_pair") String tradingPair, @QueryParam("since_tid") Integer since) throws IOException, BitcoindeException - Throws:
IOException
BitcoindeException
-
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 IOException, BitcoindeException - Throws:
IOException
BitcoindeException
-
getAccountLedger
@GET @Path("{currency}/account/ledger") BitcoindeAccountLedgerWrapper getAccountLedger(@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("currency") String currency, @QueryParam("type") String type, @QueryParam("datetime_start") String datetimeStart, @QueryParam("datetime_end") String datetimeEnd, @QueryParam("page") Integer page) throws IOException, BitcoindeException - Throws:
IOException
BitcoindeException
-
getMyOrders
@GET @Path("orders") BitcoindeMyOrdersWrapper getMyOrders(@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, @QueryParam("type") String type, @QueryParam("state") Integer state, @QueryParam("date_start") String start, @QueryParam("date_end") String end, @QueryParam("page") Integer page) throws IOException, BitcoindeException - Throws:
IOException
BitcoindeException
-
getMyOrders
@GET @Path("{trading_pair}/orders") BitcoindeMyOrdersWrapper getMyOrders(@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("trading_pair") String tradingPair, @QueryParam("type") String type, @QueryParam("state") Integer state, @QueryParam("date_start") String start, @QueryParam("date_end") String end, @QueryParam("page") Integer page) throws IOException, BitcoindeException - Throws:
IOException
BitcoindeException
-
createOrder
@POST @Path("{trading_pair}/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_currency_to_trade") BigDecimal maxAmount, @FormParam("price") BigDecimal price, @PathParam("trading_pair") String tradingPair, @FormParam("type") String type) throws IOException, BitcoindeException - Throws:
IOException
BitcoindeException
-
deleteOrder
@DELETE @Path("{trading_pair}/orders/{order_id}") BitcoindeResponse 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 orderId, @PathParam("trading_pair") String tradingPair) throws IOException, BitcoindeException - Throws:
IOException
BitcoindeException
-
getMyTrades
@GET @Path("trades") BitcoindeMyTradesWrapper getMyTrades(@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, @QueryParam("type") String type, @QueryParam("state") Integer state, @QueryParam("only_trades_with_action_for_payment_or_transfer_required") Integer onlyTradesWithActionForPaymentOrTransferRequired, @QueryParam("payment_method") Integer paymentMethod, @QueryParam("date_start") String dateStart, @QueryParam("date_end") String dateEnd, @QueryParam("page") Integer page) throws IOException, BitcoindeException - Throws:
IOException
BitcoindeException
-
getMyTrades
@GET @Path("{trading_pair}/trades") BitcoindeMyTradesWrapper getMyTrades(@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("trading_pair") String tradingPair, @QueryParam("type") String type, @QueryParam("state") Integer state, @QueryParam("only_trades_with_action_for_payment_or_transfer_required") Integer onlyTradesWithActionForPaymentOrTransferRequired, @QueryParam("payment_method") Integer paymentMethod, @QueryParam("date_start") String dateStart, @QueryParam("date_end") String dateEnd, @QueryParam("page") Integer page) throws IOException, BitcoindeException - Throws:
IOException
BitcoindeException
-