Package org.knowm.xchange.gemini.v1
Interface Gemini
- All Known Subinterfaces:
GeminiAuthenticated
@Path("v1")
@Produces("application/json")
public interface Gemini
-
Method Summary
Modifier and Type Method Description GeminiDepth
getBook(String symbol)
GeminiDepth
getBook(String symbol, int limit_bids, int limit_asks)
GeminiLendDepth
getLendBook(String currency, int limit_bids, int limit_asks)
GeminiLend[]
getLends(String currency, long timestamp, int limit_trades)
Set<String>
getSymbols()
GeminiTicker
getTicker(String symbol)
GeminiTrade[]
getTrades(String symbol, long timestamp, int limit_trades)
-
Method Details
-
getTicker
@GET @Path("pubticker/{symbol}") GeminiTicker getTicker(@PathParam("symbol") String symbol) throws IOException, GeminiException- Throws:
IOException
GeminiException
-
getBook
@GET @Path("book/{symbol}") GeminiDepth getBook(@PathParam("symbol") String symbol, @QueryParam("limit_bids") int limit_bids, @QueryParam("limit_asks") int limit_asks) throws IOException, GeminiException- Throws:
IOException
GeminiException
-
getBook
@GET @Path("book/{symbol}") GeminiDepth getBook(@PathParam("symbol") String symbol) throws IOException, GeminiException- Throws:
IOException
GeminiException
-
getLendBook
@GET @Path("lendbook/{currency}") GeminiLendDepth getLendBook(@PathParam("currency") String currency, @QueryParam("limit_bids") int limit_bids, @QueryParam("limit_asks") int limit_asks) throws IOException, GeminiException- Throws:
IOException
GeminiException
-
getTrades
@GET @Path("trades/{symbol}") GeminiTrade[] getTrades(@PathParam("symbol") String symbol, @QueryParam("since") long timestamp, @QueryParam("limit_trades") int limit_trades) throws IOException, GeminiException- Throws:
IOException
GeminiException
-
getLends
@GET @Path("lends/{currency}") GeminiLend[] getLends(@PathParam("currency") String currency, @QueryParam("timestamp") long timestamp, @QueryParam("limit_trades") int limit_trades) throws IOException, GeminiException- Throws:
IOException
GeminiException
-
getSymbols
- Throws:
IOException
GeminiException
-