Package org.knowm.xchange.bitfinex.v1
Interface Bitfinex
- All Known Subinterfaces:
BitfinexAuthenticated
@Path("v1")
@Produces("application/json")
public interface Bitfinex
-
Method Summary
-
Method Details
-
getTicker
@GET @Path("pubticker/{symbol}") BitfinexTicker getTicker(@PathParam("symbol") String symbol) throws IOException, BitfinexExceptionV1 - Throws:
IOException
BitfinexExceptionV1
-
getBook
@GET @Path("book/{symbol}") BitfinexDepth getBook(@PathParam("symbol") String symbol, @QueryParam("limit_bids") int limit_bids, @QueryParam("limit_asks") int limit_asks) throws IOException, BitfinexExceptionV1 - Throws:
IOException
BitfinexExceptionV1
-
getBook
@GET @Path("book/{symbol}") BitfinexDepth getBook(@PathParam("symbol") String symbol) throws IOException, BitfinexExceptionV1 - Throws:
IOException
BitfinexExceptionV1
-
getLendBook
@GET @Path("lendbook/{currency}") BitfinexLendDepth getLendBook(@PathParam("currency") String currency, @QueryParam("limit_bids") int limit_bids, @QueryParam("limit_asks") int limit_asks) throws IOException, BitfinexExceptionV1 - Throws:
IOException
BitfinexExceptionV1
-
getTrades
@GET @Path("trades/{symbol}") BitfinexTrade[] getTrades(@PathParam("symbol") String symbol, @QueryParam("timestamp") long timestamp) throws IOException, BitfinexExceptionV1 - Throws:
IOException
BitfinexExceptionV1
-
getLends
@GET @Path("lends/{currency}") BitfinexLend[] getLends(@PathParam("currency") String currency, @QueryParam("timestamp") long timestamp, @QueryParam("limit_trades") int limit_trades) throws IOException, BitfinexExceptionV1 - Throws:
IOException
BitfinexExceptionV1
-
getSymbols
- Throws:
IOException
BitfinexExceptionV1
-
getSymbolsDetails
@GET @Path("symbols_details") List<BitfinexSymbolDetail> getSymbolsDetails() throws IOException, BitfinexExceptionV1- Throws:
IOException
BitfinexExceptionV1
-