public class OKCoinMarketDataServiceRaw extends OKCoinBaseService
| Modifier | Constructor and Description |
|---|---|
protected |
OKCoinMarketDataServiceRaw(org.knowm.xchange.Exchange exchange) |
| Modifier and Type | Method and Description |
|---|---|
CandlestickChart |
getCandlestickChart(String symbol,
String type,
Integer size,
Long since)
Get BTC/LTC Candlestick Data.
|
Depth |
getDepth(String symbol,
Integer size,
Integer merge) |
LendDepth |
getLendDepth(String symbol) |
TickerResponse |
getTicker(String symbol) |
Trade[] |
getTrades(String symbol,
Long since) |
protected OKCoinMarketDataServiceRaw(org.knowm.xchange.Exchange exchange)
public TickerResponse getTicker(String symbol) throws IOException
IOExceptionpublic Depth getDepth(String symbol, Integer size, Integer merge) throws IOException
IOExceptionpublic Trade[] getTrades(String symbol, Long since) throws IOException
IOExceptionpublic CandlestickChart getCandlestickChart(String symbol, String type, Integer size, Long since) throws IOException
symbol - the symbol.type - type of candlestick.size - 1 based.since - since timestamp.IOException - indicates I/O exception.public LendDepth getLendDepth(String symbol) throws IOException
IOExceptionCopyright © 2013–2017. All rights reserved.