| Modifier and Type | Method and Description |
|---|---|
SpotApi.APIlistMyTradesRequest |
account(String account)
Set account
|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for listMyTrades
|
SpotApi.APIlistMyTradesRequest |
currencyPair(String currencyPair)
Set currencyPair
|
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 |
from(Long from)
Set from
|
SpotApi.APIlistMyTradesRequest |
limit(Integer limit)
Set limit
|
SpotApi.APIlistMyTradesRequest |
orderId(String orderId)
Set orderId
|
SpotApi.APIlistMyTradesRequest |
page(Integer page)
Set page
|
SpotApi.APIlistMyTradesRequest |
to(Long to)
Set to
|
public SpotApi.APIlistMyTradesRequest currencyPair(String currencyPair)
currencyPair - Retrieve results with specified currency pair (optional)public SpotApi.APIlistMyTradesRequest limit(Integer limit)
limit - Maximum number of records to be returned in a single 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 - Filter trades with specified order ID. `currency_pair` is also required if this field is present (optional)public SpotApi.APIlistMyTradesRequest account(String account)
account - Specify operation account. Default to spot and margin account if not specified. Set to `cross_margin` to operate against margin account. Portfolio margin account must set to `cross_margin` only (optional)public SpotApi.APIlistMyTradesRequest from(Long from)
from - Start timestamp of the query (optional)public SpotApi.APIlistMyTradesRequest to(Long to)
to - Time range ending, 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<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.