public MarginApi.APIlistMarginAccountBookRequest currency(String currency)
currency - List records related to specified currency only. If specified, `currency_pair` is also required. (optional)public MarginApi.APIlistMarginAccountBookRequest currencyPair(String currencyPair)
currencyPair - List records related to specified currency pair. Used in combination with `currency`. Ignored if `currency` is not provided (optional)public MarginApi.APIlistMarginAccountBookRequest type(String type)
type - Only retrieve changes of the specified type. All types will be returned if not specified. (optional)public MarginApi.APIlistMarginAccountBookRequest from(Long from)
from - Start timestamp of the query (optional)public MarginApi.APIlistMarginAccountBookRequest to(Long to)
to - Time range ending, default to current time (optional)public MarginApi.APIlistMarginAccountBookRequest page(Integer page)
page - Page number (optional, default to 1)public MarginApi.APIlistMarginAccountBookRequest limit(Integer limit)
limit - Maximum number of records to be returned in a single list (optional, default to 100)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<MarginAccountBook> 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<MarginAccountBook>> 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<MarginAccountBook>> _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.