Package org.knowm.xchange.bittrex
Interface BittrexAuthenticated
- All Superinterfaces:
Bittrex
-
Method Summary
Modifier and TypeMethodDescriptioncancelOrder
(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature, String accountId) createNewWithdrawal
(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature, BittrexNewWithdrawal newWithdrawal) executeOrdersBatch
(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature, BatchOrder[] batchOrders) generateAddress
(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature, BittrexNewAddress newAddress) getAccountVolume
(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature) getAddress
(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature, String currencySymbol) getAddresses
(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature) getBalance
(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature, String currencySymbol) getBalances
(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature) getClosedOrders
(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature, String marketSymbol, Integer pageSize, Date startDate, Date endDate) getDepositsClosed
(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature, String currencySymbol, String nextPageToken, String previousPageToken, Integer pageSize) getOpenOrders
(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature) getOrder
(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature, String orderId) getTradingFees
(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature) getWithdrawalsClosed
(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature, String currencySymbol, String nextPageToken, String previousPageToken, Integer pageSize) placeOrder
(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature, BittrexNewOrder newOrderPayload) Methods inherited from interface org.knowm.xchange.bittrex.Bittrex
getCurrencies, getMarkets, getMarketSummaries, getMarketSummary, getOrderBook, getTicker, getTickers, getTrades
-
Method Details
-
getTradingFees
@GET @Path("account/fees/trading") List<BittrexComissionRatesWithMarket> getTradingFees(@HeaderParam("Api-Key") String apiKey, @HeaderParam("Api-Timestamp") Long timestamp, @HeaderParam("Api-Content-Hash") si.mazi.rescu.ParamsDigest hash, @HeaderParam("Api-Signature") si.mazi.rescu.ParamsDigest signature) throws IOException, BittrexException - Throws:
IOException
BittrexException
-
getAccountVolume
@GET @Path("account/volume") BittrexAccountVolume getAccountVolume(@HeaderParam("Api-Key") String apiKey, @HeaderParam("Api-Timestamp") Long timestamp, @HeaderParam("Api-Content-Hash") si.mazi.rescu.ParamsDigest hash, @HeaderParam("Api-Signature") si.mazi.rescu.ParamsDigest signature) throws IOException, BittrexException - Throws:
IOException
BittrexException
-
executeOrdersBatch
@POST @Path("batch") @Consumes("application/json") BatchResponse[] executeOrdersBatch(@HeaderParam("Api-Key") String apiKey, @HeaderParam("Api-Timestamp") Long timestamp, @HeaderParam("Api-Content-Hash") si.mazi.rescu.ParamsDigest hash, @HeaderParam("Api-Signature") si.mazi.rescu.ParamsDigest signature, BatchOrder[] batchOrders) throws IOException, BittrexException - Throws:
IOException
BittrexException
-
cancelOrder
@DELETE @Path("orders/{order_id}") BittrexOrder cancelOrder(@HeaderParam("Api-Key") String apiKey, @HeaderParam("Api-Timestamp") Long timestamp, @HeaderParam("Api-Content-Hash") si.mazi.rescu.ParamsDigest hash, @HeaderParam("Api-Signature") si.mazi.rescu.ParamsDigest signature, @PathParam("order_id") String accountId) throws IOException, BittrexException - Throws:
IOException
BittrexException
-
getBalances
@GET @Path("balances") BittrexBalances getBalances(@HeaderParam("Api-Key") String apiKey, @HeaderParam("Api-Timestamp") Long timestamp, @HeaderParam("Api-Content-Hash") si.mazi.rescu.ParamsDigest hash, @HeaderParam("Api-Signature") si.mazi.rescu.ParamsDigest signature) throws IOException, BittrexException - Throws:
IOException
BittrexException
-
getBalance
@GET @Path("balances/{currencySymbol}") BittrexBalance getBalance(@HeaderParam("Api-Key") String apiKey, @HeaderParam("Api-Timestamp") Long timestamp, @HeaderParam("Api-Content-Hash") si.mazi.rescu.ParamsDigest hash, @HeaderParam("Api-Signature") si.mazi.rescu.ParamsDigest signature, @PathParam("currencySymbol") String currencySymbol) throws IOException, BittrexException - Throws:
IOException
BittrexException
-
getAddresses
@GET @Path("addresses") List<BittrexAddress> getAddresses(@HeaderParam("Api-Key") String apiKey, @HeaderParam("Api-Timestamp") Long timestamp, @HeaderParam("Api-Content-Hash") si.mazi.rescu.ParamsDigest hash, @HeaderParam("Api-Signature") si.mazi.rescu.ParamsDigest signature) throws IOException, BittrexException - Throws:
IOException
BittrexException
-
getAddress
@GET @Path("addresses/{currencySymbol}") BittrexAddress getAddress(@HeaderParam("Api-Key") String apiKey, @HeaderParam("Api-Timestamp") Long timestamp, @HeaderParam("Api-Content-Hash") si.mazi.rescu.ParamsDigest hash, @HeaderParam("Api-Signature") si.mazi.rescu.ParamsDigest signature, @PathParam("currencySymbol") String currencySymbol) throws IOException, BittrexException - Throws:
IOException
BittrexException
-
generateAddress
@POST @Path("addresses") BittrexAddress generateAddress(@HeaderParam("Api-Key") String apiKey, @HeaderParam("Api-Timestamp") Long timestamp, @HeaderParam("Api-Content-Hash") si.mazi.rescu.ParamsDigest hash, @HeaderParam("Api-Signature") si.mazi.rescu.ParamsDigest signature, BittrexNewAddress newAddress) throws IOException, BittrexException - Throws:
IOException
BittrexException
-
getOrder
@GET @Path("orders/{orderId}") BittrexOrder getOrder(@HeaderParam("Api-Key") String apiKey, @HeaderParam("Api-Timestamp") Long timestamp, @HeaderParam("Api-Content-Hash") si.mazi.rescu.ParamsDigest hash, @HeaderParam("Api-Signature") si.mazi.rescu.ParamsDigest signature, @PathParam("orderId") String orderId) throws IOException, BittrexException - Throws:
IOException
BittrexException
-
placeOrder
@POST @Path("orders") @Consumes("application/json") BittrexOrder placeOrder(@HeaderParam("Api-Key") String apiKey, @HeaderParam("Api-Timestamp") Long timestamp, @HeaderParam("Api-Content-Hash") si.mazi.rescu.ParamsDigest hash, @HeaderParam("Api-Signature") si.mazi.rescu.ParamsDigest signature, BittrexNewOrder newOrderPayload) throws IOException, BittrexException - Throws:
IOException
BittrexException
-
getOpenOrders
@GET @Path("orders/open") BittrexOrders getOpenOrders(@HeaderParam("Api-Key") String apiKey, @HeaderParam("Api-Timestamp") Long timestamp, @HeaderParam("Api-Content-Hash") si.mazi.rescu.ParamsDigest hash, @HeaderParam("Api-Signature") si.mazi.rescu.ParamsDigest signature) throws IOException, BittrexException - Throws:
IOException
BittrexException
-
getClosedOrders
@GET @Path("orders/closed") List<BittrexOrder> getClosedOrders(@HeaderParam("Api-Key") String apiKey, @HeaderParam("Api-Timestamp") Long timestamp, @HeaderParam("Api-Content-Hash") si.mazi.rescu.ParamsDigest hash, @HeaderParam("Api-Signature") si.mazi.rescu.ParamsDigest signature, @QueryParam("marketSymbol") String marketSymbol, @QueryParam("pageSize") Integer pageSize, @QueryParam("startDate") Date startDate, @QueryParam("endDate") Date endDate) throws IOException, BittrexException - Throws:
IOException
BittrexException
-
getDepositsClosed
@GET @Path("deposits/closed") List<BittrexDepositHistory> getDepositsClosed(@HeaderParam("Api-Key") String apiKey, @HeaderParam("Api-Timestamp") Long timestamp, @HeaderParam("Api-Content-Hash") si.mazi.rescu.ParamsDigest hash, @HeaderParam("Api-Signature") si.mazi.rescu.ParamsDigest signature, @QueryParam("currencySymbol") String currencySymbol, @QueryParam("nextPageToken") String nextPageToken, @QueryParam("previousPageToken") String previousPageToken, @QueryParam("pageSize") Integer pageSize) throws IOException, BittrexException - Throws:
IOException
BittrexException
-
getWithdrawalsClosed
@GET @Path("withdrawals/closed") List<BittrexWithdrawalHistory> getWithdrawalsClosed(@HeaderParam("Api-Key") String apiKey, @HeaderParam("Api-Timestamp") Long timestamp, @HeaderParam("Api-Content-Hash") si.mazi.rescu.ParamsDigest hash, @HeaderParam("Api-Signature") si.mazi.rescu.ParamsDigest signature, @QueryParam("currencySymbol") String currencySymbol, @QueryParam("nextPageToken") String nextPageToken, @QueryParam("previousPageToken") String previousPageToken, @QueryParam("pageSize") Integer pageSize) throws IOException, BittrexException - Throws:
IOException
BittrexException
-
createNewWithdrawal
@POST @Path("withdrawals") @Consumes("application/json") BittrexWithdrawal createNewWithdrawal(@HeaderParam("Api-Key") String apiKey, @HeaderParam("Api-Timestamp") Long timestamp, @HeaderParam("Api-Content-Hash") si.mazi.rescu.ParamsDigest hash, @HeaderParam("Api-Signature") si.mazi.rescu.ParamsDigest signature, BittrexNewWithdrawal newWithdrawal) throws IOException, BittrexException - Throws:
IOException
BittrexException
-