Package org.knowm.xchange.poloniex
Interface Poloniex
-
@Path("public") @Produces("application/json") public interface Poloniex
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,PoloniexDepth>getAllOrderBooks(String command, String pair, Integer depth)PoloniexChartData[]getChartData(String command, String pair, Long startTime, Long endTime, long period)HashMap<String,PoloniexCurrencyInfo>getCurrencyInfo(String command)PoloniexDepthgetOrderBook(String command, String currencyPair)PoloniexDepthgetOrderBook(String command, String currencyPair, Integer depth)HashMap<String,PoloniexMarketData>getTicker(String command)PoloniexPublicTrade[]getTrades(String command, String currencyPair, Long startTime, Long endTime)
-
-
-
Method Detail
-
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
-
-