Package org.knowm.xchange.cryptowatch
Interface Cryptowatch
@Path("/")
@Produces("application/json")
public interface Cryptowatch
- Author:
- massi.gerardi
-
Method Summary
Modifier and Type Method Description CryptowatchAssetPairsResult
getAssetPairs()
CryptowatchAssetsResult
getAssets()
CryptowatchOHLCResult
getOHLC(String market, String pair, Long before, Long after, Integer periods)
CryptowatchOrderBookResult
getOrderBook(String market, String pair)
CryptowatchPriceResult
getPrice(String market, String pair)
CryptowatchSummaryResult
getTicker(String market, String pair)
CryptowatchTradesResult
getTrades(String market, String pair, Integer limit, Long since)
-
Method Details
-
getOHLC
-
getPrice
@GET @Path("markets/{market}/{pair}/price") CryptowatchPriceResult getPrice(@PathParam("market") String market, @PathParam("pair") String pair) -
getTicker
@GET @Path("markets/{market}/{pair}/summary") CryptowatchSummaryResult getTicker(@PathParam("market") String market, @PathParam("pair") String pair) -
getTrades
@GET @Path("markets/{market}/{pair}/trades") CryptowatchTradesResult getTrades(@PathParam("market") String market, @PathParam("pair") String pair, @QueryParam("limit") Integer limit, @QueryParam("since") Long since) -
getOrderBook
@GET @Path("markets/{market}/{pair}/orderbook") CryptowatchOrderBookResult getOrderBook(@PathParam("market") String market, @PathParam("pair") String pair) -
getAssets
-
getAssetPairs
-