Package org.knowm.xchange.poloniex
Interface Poloniex
@Path("public")
@Produces("application/json")
public interface Poloniex
-
Method Summary
Modifier and TypeMethodDescriptiongetAllOrderBooks(String command, String pair, Integer depth) getChartData(String command, String pair, Long startTime, Long endTime, long period) getCurrencyInfo(String command) getOrderBook(String command, String currencyPair) getOrderBook(String command, String currencyPair, Integer depth)
-
Method Details
-
getCurrencyInfo
@GET HashMap<String,PoloniexCurrencyInfo> getCurrencyInfo(@QueryParam("command") String command) throws PoloniexException, IOException - Throws:
PoloniexExceptionIOException
-
getTicker
@GET HashMap<String,PoloniexMarketData> getTicker(@QueryParam("command") String command) throws PoloniexException, IOException - Throws:
PoloniexExceptionIOException
-
getOrderBook
@GET PoloniexDepth getOrderBook(@QueryParam("command") String command, @QueryParam("currencyPair") String currencyPair) throws PoloniexException, IOException - Throws:
PoloniexExceptionIOException
-
getOrderBook
@GET PoloniexDepth getOrderBook(@QueryParam("command") String command, @QueryParam("currencyPair") String currencyPair, @QueryParam("depth") Integer depth) throws PoloniexException, IOException - Throws:
PoloniexExceptionIOException
-
getTrades
@GET PoloniexPublicTrade[] getTrades(@QueryParam("command") String command, @QueryParam("currencyPair") String currencyPair, @QueryParam("start") Long startTime, @QueryParam("end") Long endTime) throws PoloniexException, IOException - Throws:
PoloniexExceptionIOException
-
getAllOrderBooks
@GET Map<String,PoloniexDepth> getAllOrderBooks(@QueryParam("command") String command, @QueryParam("currencyPair") String pair, @QueryParam("depth") Integer depth) throws PoloniexException, IOException - Throws:
PoloniexExceptionIOException
-
getChartData
@GET PoloniexChartData[] getChartData(@QueryParam("command") String command, @QueryParam("currencyPair") String pair, @QueryParam("start") Long startTime, @QueryParam("end") Long endTime, @QueryParam("period") long period) throws PoloniexException, IOException - Throws:
PoloniexExceptionIOException
-