Class BinanceMarketDataServiceRaw
java.lang.Object
org.knowm.xchange.service.BaseExchangeService<E>
org.knowm.xchange.service.BaseResilientExchangeService<BinanceExchange>
org.knowm.xchange.binance.service.BinanceBaseService
org.knowm.xchange.binance.service.BinanceMarketDataServiceRaw
- Direct Known Subclasses:
BinanceMarketDataService
-
Field Summary
Fields inherited from class org.knowm.xchange.binance.service.BinanceBaseService
apiKey, binance, binanceFutures, inverseBinanceFutures, LOG, signatureCreatorFields inherited from class org.knowm.xchange.service.BaseResilientExchangeService
resilienceRegistriesFields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBinanceMarketDataServiceRaw(BinanceExchange exchange, ResilienceRegistries resilienceRegistries) -
Method Summary
Modifier and TypeMethodDescriptionaggTradesAllProducts(Instrument pair, Long fromId, Long startTime, Long endTime, Integer limit) protected intaggTradesPermits(Integer limit) protected intdepthPermits(Integer limit) getBinanceFundingRate(Instrument instrument) getBinanceOrderbookAllProducts(Instrument pair, Integer limit) klines(CurrencyPair pair, KlineInterval interval) klines(CurrencyPair pair, KlineInterval interval, Integer limit, Long startTime, Long endTime) lastKline(CurrencyPair pair, KlineInterval interval) voidping()tickerPrice(CurrencyPair pair) Methods inherited from class org.knowm.xchange.binance.service.BinanceBaseService
getExchangeInfo, getFutureExchangeInfo, getRecvWindow, getSystemStatus, getTimestampFactoryMethods inherited from class org.knowm.xchange.service.BaseResilientExchangeService
decorateApiCall, rateLimiter, rateLimiter, retry, retryMethods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
-
Constructor Details
-
BinanceMarketDataServiceRaw
protected BinanceMarketDataServiceRaw(BinanceExchange exchange, ResilienceRegistries resilienceRegistries)
-
-
Method Details
-
ping
- Throws:
IOException
-
binanceTime
- Throws:
IOException
-
getBinanceOrderbookAllProducts
public BinanceOrderbook getBinanceOrderbookAllProducts(Instrument pair, Integer limit) throws IOException - Throws:
IOException
-
aggTradesAllProducts
public List<BinanceAggTrades> aggTradesAllProducts(Instrument pair, Long fromId, Long startTime, Long endTime, Integer limit) throws IOException - Throws:
IOException
-
lastKline
- Throws:
IOException
-
klines
- Throws:
IOException
-
klines
public List<BinanceKline> klines(CurrencyPair pair, KlineInterval interval, Integer limit, Long startTime, Long endTime) throws IOException - Throws:
IOException
-
ticker24hAllProducts
- Throws:
IOException
-
ticker24hAllProducts
- Throws:
IOException
-
getBinanceFundingRates
- Throws:
IOException
-
getBinanceFundingRate
- Throws:
IOException
-
tickerPrice
- Throws:
IOException
-
tickerAllPrices
- Throws:
IOException
-
tickerAllBookTickers
- Throws:
IOException
-
depthPermits
-
aggTradesPermits
-