Package org.knowm.xchange.coingi
Interface Coingi
@Path("current")
@Produces("application/json")
public interface Coingi
-
Method Summary
Modifier and Type Method Description CoingiOrderBook
getOrderBook(String currencyPair, Integer maxAskCount, Integer maxBidCount, Integer maxDepthRangeCount)
List<CoingiTicker>
getTicker(String currencyPair, Integer aggregationIntervalSize, Integer maxCount)
List<CoingiRollingAggregation>
getTradeAggregations()
List<CoingiTransaction>
getTransaction(String currencyPair, Integer maxCount)
-
Method Details
-
getTicker
@GET @Path("ticker/{currencyPair}/{aggregationIntervalSize}/{maxCount}") List<CoingiTicker> getTicker(@PathParam("currencyPair") String currencyPair, @PathParam("aggregationIntervalSize") Integer aggregationIntervalSize, @PathParam("maxCount") Integer maxCount) throws CoingiException, IOException- Throws:
CoingiException
IOException
-
getOrderBook
@GET @Path("order-book/{currencyPair}/{maxAskCount}/{maxBidCount}/{maxDepthRangeCount}") CoingiOrderBook getOrderBook(@PathParam("currencyPair") String currencyPair, @PathParam("maxAskCount") Integer maxAskCount, @PathParam("maxBidCount") Integer maxBidCount, @PathParam("maxDepthRangeCount") Integer maxDepthRangeCount) throws CoingiException, IOException- Throws:
CoingiException
IOException
-
getTransaction
@GET @Path("transactions/{currencyPair}/{maxCount}") List<CoingiTransaction> getTransaction(@PathParam("currencyPair") String currencyPair, @PathParam("maxCount") Integer maxCount) throws CoingiException, IOException- Throws:
CoingiException
IOException
-
getTradeAggregations
@GET @Path("24hours-rolling-aggregation") List<CoingiRollingAggregation> getTradeAggregations() throws CoingiException, IOException- Throws:
CoingiException
IOException
-