Package org.knowm.xchange.dvchain
Interface DVChain
-
@Path("api/v4") @Produces("application/json") @Consumes("application/json") public interface DVChain
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringcancelOrder(String tradeId, String apiKey)DVChainMarketResponsegetPrices(String apiKey)DVChainTradesResponsegetTrades(String apiKey, String nocache, String cache)DVChainTradeplaceLimitOrder(DVChainNewLimitOrder newOrder, String apiKey)DVChainTradeplaceMarketOrder(DVChainNewMarketOrder newOrder, String apiKey)
-
-
-
Method Detail
-
getTrades
@GET @Path("trades") DVChainTradesResponse getTrades(@HeaderParam("Authorization") String apiKey, @HeaderParam("Pragma") String nocache, @HeaderParam("Cache-Control") String cache) throws DVChainException, IOException- Throws:
DVChainExceptionIOException
-
placeLimitOrder
@POST @Path("trade") DVChainTrade placeLimitOrder(DVChainNewLimitOrder newOrder, @HeaderParam("Authorization") String apiKey) throws DVChainException, IOException- Throws:
DVChainExceptionIOException
-
placeMarketOrder
@POST @Path("trade") DVChainTrade placeMarketOrder(DVChainNewMarketOrder newOrder, @HeaderParam("Authorization") String apiKey) throws DVChainException, IOException- Throws:
DVChainExceptionIOException
-
getPrices
@GET @Path("prices") DVChainMarketResponse getPrices(@HeaderParam("Authorization") String apiKey) throws DVChainException, IOException- Throws:
DVChainExceptionIOException
-
cancelOrder
@DELETE @Path("trades/{tradeId}") String cancelOrder(@PathParam("tradeId") String tradeId, @HeaderParam("Authorization") String apiKey) throws DVChainException, IOException- Throws:
DVChainExceptionIOException
-
-