Package org.knowm.xchange.cexio
Interface CexIO
- All Known Subinterfaces:
CexIOAuthenticated
@Path("api")
@Produces("application/json")
public interface CexIO
- Author:
- brox
-
Method Summary
Modifier and TypeMethodDescriptionGets all tickers for the CexIO marketgetTradesSince
(String tradeableIdentifier, String currency, long since)
-
Method Details
-
getAllTickers
Gets all tickers for the CexIO marketAt the moment CexIO has the following 5 markets: USD, EUR, GBP, RUB, BTC
We are hardcoding those 5 markets in the path since ResCU rest client does not support passing an arbitrary number of optional path params.
If RecCU supported that then we would like to get rid of this method and create a method with the following signature
getTickers(Set<String>)
where each string in the set will be added as a path parameter- Returns:
- The tickers response
- Throws:
IOException
-
getTicker
@GET @Path("ticker/{ident}/{currency}") CexIOTicker getTicker(@PathParam("ident") String tradeableIdentifier, @PathParam("currency") String currency) throws IOException - Throws:
IOException
-
getDepth
@GET @Path("order_book/{ident}/{currency}") CexIODepth getDepth(@PathParam("ident") String tradeableIdentifier, @PathParam("currency") String currency) throws IOException - Throws:
IOException
-
getTrades
@GET @Path("trade_history/{ident}/{currency}/") CexIOTrade[] getTrades(@PathParam("ident") String tradeableIdentifier, @PathParam("currency") String currency) throws IOException - Throws:
IOException
-
getTradesSince
@POST @Path("trade_history/{ident}/{currency}/") CexIOTrade[] getTradesSince(@PathParam("ident") String tradeableIdentifier, @PathParam("currency") String currency, @DefaultValue("1") @FormParam("since") long since) throws IOException - Throws:
IOException
-
getCurrencyLimits
- Throws:
IOException
-