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
public class BinanceMarketDataServiceRaw extends BinanceBaseService
-
Field Summary
Fields inherited from class org.knowm.xchange.binance.service.BinanceBaseService
apiKey, binance, binanceFutures, LOG, signatureCreator
Fields inherited from class org.knowm.xchange.service.BaseResilientExchangeService
resilienceRegistries
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
Constructors Modifier Constructor Description protected
BinanceMarketDataServiceRaw(BinanceExchange exchange, ResilienceRegistries resilienceRegistries)
-
Method Summary
Modifier and Type Method Description List<BinanceAggTrades>
aggTradesAllProducts(Instrument pair, Long fromId, Long startTime, Long endTime, Integer limit)
protected int
aggTradesPermits(Integer limit)
BinanceTime
binanceTime()
protected int
depthPermits(Integer limit)
BinanceFundingRate
getBinanceFundingRate(Instrument instrument)
List<BinanceFundingRate>
getBinanceFundingRates()
BinanceOrderbook
getBinanceOrderbookAllProducts(Instrument pair, Integer limit)
List<BinanceKline>
klines(CurrencyPair pair, KlineInterval interval)
List<BinanceKline>
klines(CurrencyPair pair, KlineInterval interval, Integer limit, Long startTime, Long endTime)
BinanceKline
lastKline(CurrencyPair pair, KlineInterval interval)
void
ping()
List<BinanceTicker24h>
ticker24hAllProducts()
BinanceTicker24h
ticker24hAllProducts(Instrument pair)
List<BinancePriceQuantity>
tickerAllBookTickers()
List<BinancePrice>
tickerAllPrices()
BinancePrice
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
-