| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for listTrades
|
List<Trade> |
execute()
Execute listTrades request
|
okhttp3.Call |
executeAsync(ApiCallback<List<Trade>> _callback)
Execute listTrades request (asynchronously)
|
ApiResponse<List<Trade>> |
executeWithHttpInfo()
Execute listTrades request with HTTP info returned
|
SpotApi.APIlistTradesRequest |
from(Long from)
Set from
|
SpotApi.APIlistTradesRequest |
lastId(String lastId)
Set lastId
|
SpotApi.APIlistTradesRequest |
limit(Integer limit)
Set limit
|
SpotApi.APIlistTradesRequest |
page(Integer page)
Set page
|
SpotApi.APIlistTradesRequest |
reverse(Boolean reverse)
Set reverse
|
SpotApi.APIlistTradesRequest |
to(Long to)
Set to
|
public SpotApi.APIlistTradesRequest limit(Integer limit)
limit - Maximum number of records to be returned in a single list. Default: 100, Minimum: 1, Maximum: 1000 (optional, default to 100)public SpotApi.APIlistTradesRequest lastId(String lastId)
lastId - Specify list staring point using the `id` of last record in previous list-query results (optional)public SpotApi.APIlistTradesRequest reverse(Boolean reverse)
reverse - Whether the id of records to be retrieved should be less than the last_id specified. Default to false. When `last_id` is specified. Set `reverse` to `true` to trace back trading history; `false` to retrieve latest tradings. No effect if `last_id` is not specified. (optional, default to false)public SpotApi.APIlistTradesRequest from(Long from)
from - Start timestamp of the query (optional)public SpotApi.APIlistTradesRequest to(Long to)
to - Time range ending, default to current time (optional)public SpotApi.APIlistTradesRequest page(Integer page)
page - Page number (optional, default to 1)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<Trade> 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<Trade>> 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<Trade>> _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.