Package org.knowm.xchange.vaultoro
Interface VaultoroAuthenticated
- All Superinterfaces:
Vaultoro
-
Method Summary
Modifier and TypeMethodDescriptionbuy
(String symbol, String type, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String apiKey, BigDecimal btc, BigDecimal price, si.mazi.rescu.ParamsDigest signature) cancel
(String orderid, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String apiKey, si.mazi.rescu.ParamsDigest signature) getBalances
(si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String apiKey, si.mazi.rescu.ParamsDigest signature) getOrders
(si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String apiKey, si.mazi.rescu.ParamsDigest signature) sell
(String symbol, String type, si.mazi.rescu.SynchronizedValueFactory<Long> nonce, String apiKey, BigDecimal gld, BigDecimal price, si.mazi.rescu.ParamsDigest signature) Methods inherited from interface org.knowm.xchange.vaultoro.Vaultoro
getLatest, getVaultoroOrderBook, getVaultoroTrades
-
Method Details
-
getBalances
@GET @Path("1/balance") VaultoroBalancesResponse getBalances(@QueryParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @QueryParam("apikey") String apiKey, @HeaderParam("X-Signature") si.mazi.rescu.ParamsDigest signature) throws IOException, VaultoroException - Throws:
IOException
VaultoroException
-
getOrders
@GET @Path("1/orders") VaultoroOrdersResponse getOrders(@QueryParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @QueryParam("apikey") String apiKey, @HeaderParam("X-Signature") si.mazi.rescu.ParamsDigest signature) throws IOException, VaultoroException - Throws:
IOException
VaultoroException
-
buy
@POST @Path("1/buy/{symbol}/{type}") VaultoroNewOrderResponse buy(@PathParam("symbol") String symbol, @PathParam("type") String type, @QueryParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @QueryParam("apikey") String apiKey, @QueryParam("btc") BigDecimal btc, @QueryParam("price") BigDecimal price, @HeaderParam("X-Signature") si.mazi.rescu.ParamsDigest signature) throws IOException, VaultoroException - Throws:
IOException
VaultoroException
-
sell
@POST @Path("1/sell/{symbol}/{type}") VaultoroNewOrderResponse sell(@PathParam("symbol") String symbol, @PathParam("type") String type, @QueryParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @QueryParam("apikey") String apiKey, @QueryParam("gld") BigDecimal gld, @QueryParam("price") BigDecimal price, @HeaderParam("X-Signature") si.mazi.rescu.ParamsDigest signature) throws IOException, VaultoroException - Throws:
IOException
VaultoroException
-
cancel
@POST @Path("1/cancel/{orderid}") VaultoroCancelOrderResponse cancel(@PathParam("orderid") String orderid, @QueryParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @QueryParam("apikey") String apiKey, @HeaderParam("X-Signature") si.mazi.rescu.ParamsDigest signature) throws IOException, VaultoroException - Throws:
IOException
VaultoroException
-