Package org.knowm.xchange.kraken
Interface Kraken
- All Known Subinterfaces:
KrakenAuthenticated
@Path("0")
@Produces("application/json")
public interface Kraken
- Author:
- Benedikt Bünz
-
Method Summary
-
Method Details
-
getTicker
@GET @Path("public/Ticker") KrakenTickerResult getTicker(@QueryParam("pair") String currencyPairs) throws IOException - Throws:
IOException
-
getOHLC
@GET @Path("public/OHLC") KrakenOHLCResult getOHLC(@QueryParam("pair") String currencyPairs, @QueryParam("interval") Integer interval, @QueryParam("since") Long since) -
getDepth
@GET @Path("public/Depth") KrakenDepthResult getDepth(@QueryParam("pair") String currencyPair, @QueryParam("count") long count) throws IOException - Throws:
IOException
-
getTrades
@GET @Path("public/Trades") KrakenPublicTradesResult getTrades(@QueryParam("pair") String currencyPair) throws IOException - Throws:
IOException
-
getTrades
@GET @Path("public/Trades") KrakenPublicTradesResult getTrades(@QueryParam("pair") String currencyPair, @QueryParam("since") Long since) throws IOException - Throws:
IOException
-
getSpread
@GET @Path("public/Spread") KrakenSpreadsResult getSpread(@QueryParam("pair") String currencyPair, @QueryParam("since") Long since) -
getAssets
@GET @Path("public/Assets") KrakenAssetsResult getAssets(@FormParam("aclass") String assetClass, @FormParam("asset") String assets) throws IOException - Throws:
IOException
-
getAssetPairs
@GET @Path("public/AssetPairs") KrakenAssetPairsResult getAssetPairs(@FormParam("pair") String assetPairs) throws IOException - Throws:
IOException
-
getServerTime
- Throws:
IOException
-