Package org.knowm.xchange.coinbene
Interface Coinbene
-
- All Known Subinterfaces:
CoinbeneAuthenticated
@Path("v1") @Produces("application/json") public interface Coinbene
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CoinbeneOrderBook.Container
orderBook(String symbol, Integer size)
The call for order bookCoinbeneSymbol.Container
symbol()
Retrieves trade symbolsCoinbeneTicker.Container
ticker(String symbol)
Retrieves a ticker.CoinbeneTrades
trades(String symbol, Integer size)
The call for recent trades
-
-
-
Method Detail
-
ticker
@GET @Path("market/ticker") CoinbeneTicker.Container ticker(@QueryParam("symbol") String symbol) throws IOException, CoinbeneException
Retrieves a ticker.- Parameters:
symbol
- the currency pair- Throws:
IOException
CoinbeneException
-
orderBook
@GET @Path("market/orderbook") CoinbeneOrderBook.Container orderBook(@QueryParam("symbol") String symbol, @QueryParam("depth") Integer size) throws IOException, CoinbeneException
The call for order book- Parameters:
symbol
- the currency pairsize
- order book length limit- Throws:
IOException
CoinbeneException
-
trades
@GET @Path("market/trades") CoinbeneTrades trades(@QueryParam("symbol") String symbol, @QueryParam("size") Integer size) throws IOException, CoinbeneException
The call for recent trades- Parameters:
symbol
- the currency pairsize
- trades length limit- Throws:
IOException
CoinbeneException
-
symbol
@GET @Path("market/symbol") CoinbeneSymbol.Container symbol() throws IOException, CoinbeneException
Retrieves trade symbols- Throws:
IOException
CoinbeneException
-
-