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