public class OptionsApi.APIlistMyOptionsTradesRequest extends Object
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for listMyOptionsTrades
|
OptionsApi.APIlistMyOptionsTradesRequest |
contract(String contract)
Set contract
|
List<OptionsMyTrade> |
execute()
Execute listMyOptionsTrades request
|
okhttp3.Call |
executeAsync(ApiCallback<List<OptionsMyTrade>> _callback)
Execute listMyOptionsTrades request (asynchronously)
|
ApiResponse<List<OptionsMyTrade>> |
executeWithHttpInfo()
Execute listMyOptionsTrades request with HTTP info returned
|
OptionsApi.APIlistMyOptionsTradesRequest |
from(Long from)
Set from
|
OptionsApi.APIlistMyOptionsTradesRequest |
limit(Integer limit)
Set limit
|
OptionsApi.APIlistMyOptionsTradesRequest |
offset(Integer offset)
Set offset
|
OptionsApi.APIlistMyOptionsTradesRequest |
to(Long to)
Set to
|
public OptionsApi.APIlistMyOptionsTradesRequest contract(String contract)
contract - Options contract name (optional)public OptionsApi.APIlistMyOptionsTradesRequest limit(Integer limit)
limit - Maximum number of records to be returned in a single list (optional, default to 100)public OptionsApi.APIlistMyOptionsTradesRequest offset(Integer offset)
offset - List offset, starting from 0 (optional, default to 0)public OptionsApi.APIlistMyOptionsTradesRequest from(Long from)
from - Start timestamp (optional)public OptionsApi.APIlistMyOptionsTradesRequest to(Long to)
to - End timestamp (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<OptionsMyTrade> 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<OptionsMyTrade>> 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<OptionsMyTrade>> _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.