Package org.knowm.xchange.dvchain
Interface DVChain
@Path("api/v4")
@Produces("application/json")
@Consumes("application/json")
public interface DVChain
-
Method Summary
Modifier and Type Method Description String
cancelOrder(String tradeId, String apiKey)
DVChainMarketResponse
getPrices(String apiKey)
DVChainTradesResponse
getTrades(String apiKey, String nocache, String cache)
DVChainTrade
placeLimitOrder(DVChainNewLimitOrder newOrder, String apiKey)
DVChainTrade
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
-