Class GeminiMarketDataServiceRaw
java.lang.Object
org.knowm.xchange.service.BaseExchangeService
org.knowm.xchange.gemini.v1.service.GeminiBaseService
org.knowm.xchange.gemini.v1.service.GeminiMarketDataServiceRaw
- All Implemented Interfaces:
BaseService
- Direct Known Subclasses:
GeminiMarketDataService
Implementation of the market data service for Gemini
- Provides access to various market data values
-
Field Summary
Fields inherited from class org.knowm.xchange.gemini.v1.service.GeminiBaseService
apiKey, gemini, gemini2, payloadCreator, signatureCreator
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCandles
(CurrencyPair pair, Duration interval) getGeminiLendBook
(String currency, int limitBids, int limitAsks) getGeminiLends
(String currency, long sinceTimestamp, int limitTrades) getGeminiOrderBook
(String pair, Integer limitBids, Integer limitAsks) getGeminiTicker
(String pair) getGeminiTrades
(String pair, long sinceTimestamp, int limitTrades) getTicker2
(CurrencyPair pair) Methods inherited from class org.knowm.xchange.gemini.v1.service.GeminiBaseService
handleException
Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
-
Constructor Details
-
GeminiMarketDataServiceRaw
Constructor- Parameters:
exchange
-
-
-
Method Details
-
getGeminiTicker
- Throws:
IOException
-
getGeminiOrderBook
public GeminiDepth getGeminiOrderBook(String pair, Integer limitBids, Integer limitAsks) throws IOException - Throws:
IOException
-
getGeminiLendBook
public GeminiLendDepth getGeminiLendBook(String currency, int limitBids, int limitAsks) throws IOException - Throws:
IOException
-
getGeminiTrades
public GeminiTrade[] getGeminiTrades(String pair, long sinceTimestamp, int limitTrades) throws IOException - Throws:
IOException
-
getGeminiLends
public GeminiLend[] getGeminiLends(String currency, long sinceTimestamp, int limitTrades) throws IOException - Throws:
IOException
-
getGeminiSymbols
- Throws:
IOException
-
getExchangeSymbols
- Throws:
IOException
-
getCandles
- Throws:
IOException
-
getTicker2
- Throws:
IOException
-