Package org.knowm.xchange.ccex
Interface CCEX
- All Known Subinterfaces:
CCEXAuthenticated
@Path("t")
@Produces("application/json")
public interface CCEX
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetOrderBook
(CCEX.Pair pair, int depth) Returns "bids" and "asks".getPairs()
Returns Latest trades that have occured for a specific market.
-
Method Details
-
getProducts
- Throws:
IOException
-
getPairs
- Throws:
IOException
-
getTicker
@GET @Path("{lpair}-{rpair}.json") CCEXTickerResponse getTicker(@PathParam("lpair") String lpair, @PathParam("rpair") String rpair) throws IOException - Throws:
IOException
-
getOrderBook
@GET @Path("api_pub.html?a=getorderbook&market={pair}&type=both&depth={depth}") CCEXGetorderbook getOrderBook(@PathParam("pair") CCEX.Pair pair, @PathParam("depth") int depth) throws IOException Returns "bids" and "asks". Each is a list of open orders and each order is represented as a list of data.- Throws:
IOException
-
getTrades
@GET @Path("api_pub.html?a=getmarkethistory&market={pair}&count=100") CCEXTrades getTrades(@PathParam("pair") CCEX.Pair pair) throws IOException Returns Latest trades that have occured for a specific market.- Throws:
IOException
-