| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for listMyTrades
|
List<Trade> |
execute()
Execute listMyTrades request
|
okhttp3.Call |
executeAsync(ApiCallback<List<Trade>> _callback)
Execute listMyTrades request (asynchronously)
|
ApiResponse<List<Trade>> |
executeWithHttpInfo()
Execute listMyTrades request with HTTP info returned
|
SpotApi.APIlistMyTradesRequest |
limit(Integer limit)
Set limit
|
SpotApi.APIlistMyTradesRequest |
orderId(String orderId)
Set orderId
|
SpotApi.APIlistMyTradesRequest |
page(Integer page)
Set page
|
public SpotApi.APIlistMyTradesRequest limit(Integer limit)
limit - Maximum number of records returned in one list (optional, default to 100)public SpotApi.APIlistMyTradesRequest page(Integer page)
page - Page number (optional, default to 1)public SpotApi.APIlistMyTradesRequest orderId(String orderId)
orderId - List all trades of specified order (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<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 © 2021. All rights reserved.