Class CoinbaseProMarketDataServiceRaw
java.lang.Object
org.knowm.xchange.service.BaseExchangeService<E>
org.knowm.xchange.service.BaseResilientExchangeService<CoinbaseProExchange>
org.knowm.xchange.coinbasepro.service.CoinbaseProBaseService
org.knowm.xchange.coinbasepro.service.CoinbaseProMarketDataServiceRaw
- Direct Known Subclasses:
CoinbaseProMarketDataService
-
Field Summary
Fields inherited from class org.knowm.xchange.coinbasepro.service.CoinbaseProBaseService
apiKey, coinbasePro, digest, passphrase
Fields inherited from class org.knowm.xchange.service.BaseResilientExchangeService
resilienceRegistries
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
ConstructorsConstructorDescriptionCoinbaseProMarketDataServiceRaw
(CoinbaseProExchange exchange, ResilienceRegistries resilienceRegistries) -
Method Summary
Modifier and TypeMethodDescriptionboolean
checkProductExists
(Instrument currencyPair) https://docs.pro.coinbase.com/#get-currenciesgetCoinbaseProHistoricalCandles
(CurrencyPair currencyPair, String start, String end, String granularity) https://docs.pro.coinbase.com/#get-historic-ratesgetCoinbaseProProductOrderBook
(CurrencyPair currencyPair, int level) https://docs.pro.coinbase.com/#get-product-order-bookhttps://docs.pro.coinbase.com/#get-productsgetCoinbaseProProductStats
(CurrencyPair currencyPair) https://docs.pro.coinbase.com/#get-24hr-statsgetCoinbaseProProductTicker
(CurrencyPair currencyPair) https://docs.pro.coinbase.com/#get-product-tickergetCoinbaseProTrades
(CurrencyPair currencyPair) https://docs.pro.coinbase.com/#get-tradesgetCoinbaseProTradesExtended
(CurrencyPair currencyPair, Long after, Integer limit) https://docs.pro.coinbase.com/#get-tradesMethods inherited from class org.knowm.xchange.coinbasepro.service.CoinbaseProBaseService
handleError
Methods inherited from class org.knowm.xchange.service.BaseResilientExchangeService
decorateApiCall, rateLimiter, rateLimiter, retry, retry
Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
-
Constructor Details
-
CoinbaseProMarketDataServiceRaw
public CoinbaseProMarketDataServiceRaw(CoinbaseProExchange exchange, ResilienceRegistries resilienceRegistries)
-
-
Method Details
-
getCoinbaseProProductTicker
public CoinbaseProProductTicker getCoinbaseProProductTicker(CurrencyPair currencyPair) throws IOException https://docs.pro.coinbase.com/#get-product-ticker- Throws:
IOException
-
getCoinbaseProProductStats
public CoinbaseProProductStats getCoinbaseProProductStats(CurrencyPair currencyPair) throws IOException https://docs.pro.coinbase.com/#get-24hr-stats- Throws:
IOException
-
getCoinbaseProStats
- Throws:
IOException
-
getCoinbaseProProductOrderBook
public CoinbaseProProductBook getCoinbaseProProductOrderBook(CurrencyPair currencyPair, int level) throws IOException https://docs.pro.coinbase.com/#get-product-order-book- Throws:
IOException
-
getCoinbaseProTrades
https://docs.pro.coinbase.com/#get-trades- Throws:
IOException
-
getCoinbaseProHistoricalCandles
public CoinbaseProCandle[] getCoinbaseProHistoricalCandles(CurrencyPair currencyPair, String start, String end, String granularity) throws IOException https://docs.pro.coinbase.com/#get-historic-rates- Throws:
IOException
-
getCoinbaseProProducts
https://docs.pro.coinbase.com/#get-products- Throws:
IOException
-
getCoinbaseProCurrencies
https://docs.pro.coinbase.com/#get-currencies- Throws:
IOException
-
getCoinbaseProTradesExtended
public CoinbaseProTrades getCoinbaseProTradesExtended(CurrencyPair currencyPair, Long after, Integer limit) throws IOException https://docs.pro.coinbase.com/#get-trades- Throws:
IOException
-
checkProductExists
-