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
public class GeminiMarketDataServiceRaw extends GeminiBaseService
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
Constructors Constructor Description GeminiMarketDataServiceRaw(Exchange exchange)
Constructor -
Method Summary
Modifier and Type Method Description GeminiCandle[]
getCandles(CurrencyPair pair, Duration interval)
List<CurrencyPair>
getExchangeSymbols()
GeminiLendDepth
getGeminiLendBook(String currency, int limitBids, int limitAsks)
GeminiLend[]
getGeminiLends(String currency, long sinceTimestamp, int limitTrades)
GeminiDepth
getGeminiOrderBook(String pair, Integer limitBids, Integer limitAsks)
Collection<String>
getGeminiSymbols()
GeminiTicker
getGeminiTicker(String pair)
GeminiTrade[]
getGeminiTrades(String pair, long sinceTimestamp, int limitTrades)
GeminiTicker2
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
-