public interface HistoryAPI
| 限定符和类型 | 方法和说明 |
|---|---|
List<List<String>> |
getHistoricRates(String symbol,
long startAt,
long endAt,
String type)
Historic rates for a symbol.
|
List<TradeHistoryResponse> |
getTradeHistories(String symbol)
List the latest trades for a symbol.
|
List<TradeHistoryResponse> getTradeHistories(String symbol) throws IOException
symbol - IOExceptionList<List<String>> getHistoricRates(String symbol, long startAt, long endAt, String type) throws IOException
symbol - startAt - Start time, unix timestamp calculated in seconds not millisecondendAt - End time, unix timestamp calculated in seconds not millisecondtype - Type of candlestick patterns, The type field must be one of the following values:
{"1min","3min","5min","15min","30min","1hour","2hour","4hour","6hour","8hour", "12hour", "1day","1week"}.IOExceptionCopyright © 2023. All rights reserved.