public class OptionsApi.APIlistOptionsCandlesticksRequest extends Object
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for listOptionsCandlesticks
|
List<OptionsCandlestick> |
execute()
Execute listOptionsCandlesticks request
|
okhttp3.Call |
executeAsync(ApiCallback<List<OptionsCandlestick>> _callback)
Execute listOptionsCandlesticks request (asynchronously)
|
ApiResponse<List<OptionsCandlestick>> |
executeWithHttpInfo()
Execute listOptionsCandlesticks request with HTTP info returned
|
OptionsApi.APIlistOptionsCandlesticksRequest |
from(Long from)
Set from
|
OptionsApi.APIlistOptionsCandlesticksRequest |
interval(String interval)
Set interval
|
OptionsApi.APIlistOptionsCandlesticksRequest |
limit(Integer limit)
Set limit
|
OptionsApi.APIlistOptionsCandlesticksRequest |
to(Long to)
Set to
|
public OptionsApi.APIlistOptionsCandlesticksRequest limit(Integer limit)
limit - Maximum number of records to be returned in a single list (optional, default to 100)public OptionsApi.APIlistOptionsCandlesticksRequest from(Long from)
from - Start timestamp (optional)public OptionsApi.APIlistOptionsCandlesticksRequest to(Long to)
to - End timestamp (optional)public OptionsApi.APIlistOptionsCandlesticksRequest interval(String interval)
interval - Interval time between data points (optional, default to 5m)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<OptionsCandlestick> 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<OptionsCandlestick>> 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<OptionsCandlestick>> _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 © 2023. All rights reserved.