public class BinanceMarketDataServiceRaw extends BinanceBaseService
apiKey, binance, LOG, signatureCreatorexchange| Modifier | Constructor and Description |
|---|---|
protected |
BinanceMarketDataServiceRaw(Exchange exchange) |
| Modifier and Type | Method and Description |
|---|---|
List<BinanceAggTrades> |
aggTrades(CurrencyPair pair,
Long fromId,
Long startTime,
Long endTime,
Integer limit) |
BinanceOrderbook |
getBinanceOrderbook(CurrencyPair 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> |
ticker24h() |
BinanceTicker24h |
ticker24h(CurrencyPair pair) |
List<BinancePriceQuantity> |
tickerAllBookTickers() |
List<BinancePrice> |
tickerAllPrices() |
BinancePrice |
tickerPrice(CurrencyPair pair) |
getExchangeInfo, getTimestamp, refreshTimestampgetClientConfig, verifyOrder, verifyOrder, verifyOrderprotected BinanceMarketDataServiceRaw(Exchange exchange)
public void ping()
throws IOException
IOExceptionpublic BinanceOrderbook getBinanceOrderbook(CurrencyPair pair, Integer limit) throws IOException
IOExceptionpublic List<BinanceAggTrades> aggTrades(CurrencyPair pair, Long fromId, Long startTime, Long endTime, Integer limit) throws IOException
IOExceptionpublic BinanceKline lastKline(CurrencyPair pair, KlineInterval interval) throws IOException
IOExceptionpublic List<BinanceKline> klines(CurrencyPair pair, KlineInterval interval) throws IOException
IOExceptionpublic List<BinanceKline> klines(CurrencyPair pair, KlineInterval interval, Integer limit, Long startTime, Long endTime) throws IOException
IOExceptionpublic List<BinanceTicker24h> ticker24h() throws IOException
IOExceptionpublic BinanceTicker24h ticker24h(CurrencyPair pair) throws IOException
IOExceptionpublic BinancePrice tickerPrice(CurrencyPair pair) throws IOException
IOExceptionpublic List<BinancePrice> tickerAllPrices() throws IOException
IOExceptionpublic List<BinancePriceQuantity> tickerAllBookTickers() throws IOException
IOExceptionCopyright © 2012–2018 Knowm Inc.. All rights reserved.