Package org.knowm.xchange.bittrex
Interface BittrexAuthenticated
- All Superinterfaces:
Bittrex
@Path("v3") @Produces("application/json") public interface BittrexAuthenticated extends Bittrex
-
Method Summary
Modifier and Type Method Description BittrexOrder
cancelOrder(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature, String accountId)
BittrexWithdrawal
createNewWithdrawal(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature, BittrexNewWithdrawal newWithdrawal)
BatchResponse[]
executeOrdersBatch(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature, BatchOrder[] batchOrders)
BittrexAddress
generateAddress(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature, BittrexNewAddress newAddress)
BittrexAccountVolume
getAccountVolume(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature)
BittrexAddress
getAddress(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature, String currencySymbol)
List<BittrexAddress>
getAddresses(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature)
BittrexBalance
getBalance(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature, String currencySymbol)
BittrexBalances
getBalances(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature)
List<BittrexOrder>
getClosedOrders(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature, String marketSymbol, Integer pageSize, Date startDate, Date endDate)
List<BittrexDepositHistory>
getDepositsClosed(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature, String currencySymbol, String nextPageToken, String previousPageToken, Integer pageSize)
BittrexOrders
getOpenOrders(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature)
BittrexOrder
getOrder(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature, String orderId)
List<BittrexComissionRatesWithMarket>
getTradingFees(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature)
List<BittrexWithdrawalHistory>
getWithdrawalsClosed(String apiKey, Long timestamp, si.mazi.rescu.ParamsDigest hash, si.mazi.rescu.ParamsDigest signature, String currencySymbol, String nextPageToken, String previousPageToken, Integer pageSize)
BittrexOrder
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
-