@Path(value="")
@Produces(value="application/json")
public interface Binance
| Modifier and Type | Method and Description |
|---|---|
List<BinanceAggTrades> |
aggTrades(String symbol,
Long fromId,
Long startTime,
Long endTime,
Integer limit) |
BinanceOrderbook |
depth(String symbol,
Integer limit) |
BinanceExchangeInfo |
exchangeInfo() |
List<Object[]> |
klines(String symbol,
String interval,
Integer limit,
Long startTime,
Long endTime) |
Object |
ping() |
List<BinanceTicker24h> |
ticker24h() |
BinanceTicker24h |
ticker24h(String symbol) |
List<BinancePriceQuantity> |
tickerAllBookTickers() |
List<BinancePrice> |
tickerAllPrices() |
BinanceTime |
time() |
@GET @Path(value="api/v1/ping") Object ping() throws IOException
IOException@GET @Path(value="api/v1/time") BinanceTime time() throws IOException
IOException@GET @Path(value="api/v1/exchangeInfo") BinanceExchangeInfo exchangeInfo() throws IOException
IOException@GET @Path(value="api/v1/depth") BinanceOrderbook depth(@QueryParam(value="symbol") String symbol, @QueryParam(value="limit") Integer limit) throws IOException, BinanceException
IOExceptionBinanceException@GET @Path(value="api/v1/aggTrades") List<BinanceAggTrades> aggTrades(@QueryParam(value="symbol") String symbol, @QueryParam(value="fromId") Long fromId, @QueryParam(value="startTime") Long startTime, @QueryParam(value="endTime") Long endTime, @QueryParam(value="limit") Integer limit) throws IOException, BinanceException
IOExceptionBinanceException@GET @Path(value="api/v1/klines") List<Object[]> klines(@QueryParam(value="symbol") String symbol, @QueryParam(value="interval") String interval, @QueryParam(value="limit") Integer limit, @QueryParam(value="startTime") Long startTime, @QueryParam(value="endTime") Long endTime) throws IOException, BinanceException
IOExceptionBinanceException@GET @Path(value="api/v1/ticker/24hr") List<BinanceTicker24h> ticker24h() throws IOException, BinanceException
IOExceptionBinanceException@GET @Path(value="api/v1/ticker/24hr") BinanceTicker24h ticker24h(@QueryParam(value="symbol") String symbol) throws IOException, BinanceException
IOExceptionBinanceException@GET @Path(value="api/v1/ticker/allPrices") List<BinancePrice> tickerAllPrices() throws IOException, BinanceException
IOExceptionBinanceException@GET @Path(value="api/v1/ticker/allBookTickers") List<BinancePriceQuantity> tickerAllBookTickers() throws IOException, BinanceException
IOExceptionBinanceExceptionCopyright © 2012–2018 Knowm Inc.. All rights reserved.