public class FuturesApi.APIlistFuturesTradesRequest extends Object
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for listFuturesTrades
|
List<FuturesTrade> |
execute()
Execute listFuturesTrades request
|
okhttp3.Call |
executeAsync(ApiCallback<List<FuturesTrade>> _callback)
Execute listFuturesTrades request (asynchronously)
|
ApiResponse<List<FuturesTrade>> |
executeWithHttpInfo()
Execute listFuturesTrades request with HTTP info returned
|
FuturesApi.APIlistFuturesTradesRequest |
from(Long from)
Set from
|
FuturesApi.APIlistFuturesTradesRequest |
lastId(String lastId)
Set lastId
|
FuturesApi.APIlistFuturesTradesRequest |
limit(Integer limit)
Set limit
|
FuturesApi.APIlistFuturesTradesRequest |
offset(Integer offset)
Set offset
|
FuturesApi.APIlistFuturesTradesRequest |
to(Long to)
Set to
|
public FuturesApi.APIlistFuturesTradesRequest limit(Integer limit)
limit - Maximum number of records to be returned in a single list (optional, default to 100)public FuturesApi.APIlistFuturesTradesRequest offset(Integer offset)
offset - List offset, starting from 0 (optional, default to 0)public FuturesApi.APIlistFuturesTradesRequest lastId(String lastId)
lastId - Specify the starting point for this list based on a previously retrieved id This parameter is deprecated. Use `from` and `to` instead to limit time range (optional)public FuturesApi.APIlistFuturesTradesRequest from(Long from)
from - Specify starting time in Unix seconds. If not specified, `to` and `limit` will be used to limit response items. If items between `from` and `to` are more than `limit`, only `limit` number will be returned. (optional)public FuturesApi.APIlistFuturesTradesRequest to(Long to)
to - Specify end time in Unix seconds, default to current time (optional)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 | List retrieved | - |
public List<FuturesTrade> 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 | List retrieved | - |
public ApiResponse<List<FuturesTrade>> 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 | List retrieved | - |
public okhttp3.Call executeAsync(ApiCallback<List<FuturesTrade>> _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 | List retrieved | - |
Copyright © 2023. All rights reserved.