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, signatureCreator
Fields inherited from class org.knowm.xchange.service.BaseResilientExchangeService
resilienceRegistries
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
ModifierConstructorDescriptionprotected
BinanceMarketDataServiceRaw
(BinanceExchange exchange, ResilienceRegistries resilienceRegistries) -
Method Summary
Modifier and TypeMethodDescriptionaggTradesAllProducts
(Instrument pair, Long fromId, Long startTime, Long endTime, Integer limit) protected int
aggTradesPermits
(Integer limit) protected int
depthPermits
(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) void
ping()
tickerPrice
(CurrencyPair pair) Methods inherited from class org.knowm.xchange.binance.service.BinanceBaseService
getExchangeInfo, getFutureExchangeInfo, getRecvWindow, getSystemStatus, getTimestampFactory
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
-
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
-