Package org.knowm.xchange.bleutrade
Interface BleutradeAuthenticated
- All Superinterfaces:
Bleutrade
@Path("v2") @Produces("application/json") public interface BleutradeAuthenticated extends Bleutrade
-
Method Summary
Modifier and Type Method Description BleutradePlaceOrderReturn
buyLimit(String apikey, si.mazi.rescu.ParamsDigest signature, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String market, String quantity, String rate)
BleutradeCancelOrderReturn
cancel(String apiKey, si.mazi.rescu.ParamsDigest signature, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String orderid)
BleutradeResponse<List<DepositRecord>>
depositHistory(String apiKey, si.mazi.rescu.ParamsDigest signature, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)
BleutradeBalanceReturn
getBalance(String apiKey, si.mazi.rescu.ParamsDigest signature, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String currency)
BleutradeBalancesReturn
getBalances(String apiKey, si.mazi.rescu.ParamsDigest signature, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)
BleutradeDepositAddressReturn
getDepositAddress(String apiKey, si.mazi.rescu.ParamsDigest signature, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String currency)
Map
getOrderHistory(String apiKey, si.mazi.rescu.ParamsDigest signature, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String orderid)
BleutradeOpenOrdersReturn
getOrders(String apiKey, si.mazi.rescu.ParamsDigest signature, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)
BluetradeExecutedTradesWrapper
getTrades(String apiKey, si.mazi.rescu.ParamsDigest signature, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String market, String orderStatus, String orderType, Integer depth)
BleutradePlaceOrderReturn
sellLimit(String apikey, si.mazi.rescu.ParamsDigest signature, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String market, String quantity, String rate)
BleutradeWithdrawReturn
withdraw(String apiKey, si.mazi.rescu.ParamsDigest signature, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String currency, BigDecimal quantity, String address)
BleutradeResponse<List<WithdrawRecord>>
withdrawHistory(String apiKey, si.mazi.rescu.ParamsDigest signature, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)
Methods inherited from interface org.knowm.xchange.bleutrade.Bleutrade
getBleutradeCurrencies, getBleutradeMarketHistory, getBleutradeMarkets, getBleutradeOrderBook, getBleutradeTicker, getBleutradeTickers
-
Method Details
-
getDepositAddress
@GET @Path("account/getdepositaddress") BleutradeDepositAddressReturn getDepositAddress(@QueryParam("apikey") String apiKey, @HeaderParam("apisign") si.mazi.rescu.ParamsDigest signature, @QueryParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @QueryParam("currency") String currency) throws IOException, BleutradeException- Throws:
IOException
BleutradeException
-
getBalance
@GET @Path("account/getbalance") BleutradeBalanceReturn getBalance(@QueryParam("apikey") String apiKey, @HeaderParam("apisign") si.mazi.rescu.ParamsDigest signature, @QueryParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @QueryParam("currency") String currency) throws IOException, BleutradeException- Throws:
IOException
BleutradeException
-
getBalances
@GET @Path("account/getbalances") BleutradeBalancesReturn getBalances(@QueryParam("apikey") String apiKey, @HeaderParam("apisign") si.mazi.rescu.ParamsDigest signature, @QueryParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, BleutradeException- Throws:
IOException
BleutradeException
-
buyLimit
@GET @Path("market/buylimit") BleutradePlaceOrderReturn buyLimit(@QueryParam("apikey") String apikey, @HeaderParam("apisign") si.mazi.rescu.ParamsDigest signature, @QueryParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @QueryParam("market") String market, @QueryParam("quantity") String quantity, @QueryParam("rate") String rate) throws IOException, BleutradeException- Throws:
IOException
BleutradeException
-
sellLimit
@GET @Path("market/selllimit") BleutradePlaceOrderReturn sellLimit(@QueryParam("apikey") String apikey, @HeaderParam("apisign") si.mazi.rescu.ParamsDigest signature, @QueryParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @QueryParam("market") String market, @QueryParam("quantity") String quantity, @QueryParam("rate") String rate) throws IOException, BleutradeException- Throws:
IOException
BleutradeException
-
cancel
@GET @Path("market/cancel") BleutradeCancelOrderReturn cancel(@QueryParam("apikey") String apiKey, @HeaderParam("apisign") si.mazi.rescu.ParamsDigest signature, @QueryParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @QueryParam("orderid") String orderid) throws IOException, BleutradeException- Throws:
IOException
BleutradeException
-
getOrders
@GET @Path("market/getopenorders") BleutradeOpenOrdersReturn getOrders(@QueryParam("apikey") String apiKey, @HeaderParam("apisign") si.mazi.rescu.ParamsDigest signature, @QueryParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, BleutradeException- Throws:
IOException
BleutradeException
-
getTrades
@GET @Path("account/getorders") BluetradeExecutedTradesWrapper getTrades(@QueryParam("apikey") String apiKey, @HeaderParam("apisign") si.mazi.rescu.ParamsDigest signature, @QueryParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @QueryParam("market") String market, @QueryParam("orderstatus") String orderStatus, @QueryParam("ordertype") String orderType, @QueryParam("depth") Integer depth) throws IOException, BleutradeException- Throws:
IOException
BleutradeException
-
getOrderHistory
@GET @Path("account/getorderhistory") Map getOrderHistory(@QueryParam("apikey") String apiKey, @HeaderParam("apisign") si.mazi.rescu.ParamsDigest signature, @QueryParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @QueryParam("orderid") String orderid) throws IOException, BleutradeException- Throws:
IOException
BleutradeException
-
withdraw
@GET @Path("/account/withdraw") BleutradeWithdrawReturn withdraw(@QueryParam("apikey") String apiKey, @HeaderParam("apisign") si.mazi.rescu.ParamsDigest signature, @QueryParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @QueryParam("currency") String currency, @QueryParam("quantity") BigDecimal quantity, @QueryParam("address") String address) throws IOException, BleutradeException- Throws:
IOException
BleutradeException
-
depositHistory
@GET @Path("/account/getdeposithistory") BleutradeResponse<List<DepositRecord>> depositHistory(@QueryParam("apikey") String apiKey, @HeaderParam("apisign") si.mazi.rescu.ParamsDigest signature, @QueryParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, BleutradeException- Throws:
IOException
BleutradeException
-
withdrawHistory
@GET @Path("/account/getwithdrawhistory") BleutradeResponse<List<WithdrawRecord>> withdrawHistory(@QueryParam("apikey") String apiKey, @HeaderParam("apisign") si.mazi.rescu.ParamsDigest signature, @QueryParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, BleutradeException- Throws:
IOException
BleutradeException
-