| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for listCandlesticks
|
List<List<String>> |
execute()
Execute listCandlesticks request
|
okhttp3.Call |
executeAsync(ApiCallback<List<List<String>>> _callback)
Execute listCandlesticks request (asynchronously)
|
ApiResponse<List<List<String>>> |
executeWithHttpInfo()
Execute listCandlesticks request with HTTP info returned
|
SpotApi.APIlistCandlesticksRequest |
from(Long from)
Set from
|
SpotApi.APIlistCandlesticksRequest |
interval(String interval)
Set interval
|
SpotApi.APIlistCandlesticksRequest |
limit(Integer limit)
Set limit
|
SpotApi.APIlistCandlesticksRequest |
to(Long to)
Set to
|
public SpotApi.APIlistCandlesticksRequest limit(Integer limit)
limit - Maximum recent data points returned. `limit` is conflicted with `from` and `to`. If either `from` or `to` is specified, request will be rejected. (optional, default to 100)public SpotApi.APIlistCandlesticksRequest from(Long from)
from - Start time of candlesticks, formatted in Unix timestamp in seconds. Default to`to - 100 * interval` if not specified (optional)public SpotApi.APIlistCandlesticksRequest to(Long to)
to - End time of candlesticks, formatted in Unix timestamp in seconds. Default to current time (optional)public SpotApi.APIlistCandlesticksRequest interval(String interval)
interval - Interval time between data points (optional, default to 30m)public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
_callback - ApiCallback API callbackApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public List<List<String>> execute() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public ApiResponse<List<List<String>>> executeWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public okhttp3.Call executeAsync(ApiCallback<List<List<String>>> _callback) throws ApiException
_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
Copyright © 2021. All rights reserved.