public class FuturesApi.APIgetMyTradesWithTimeRangeRequest extends Object
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for getMyTradesWithTimeRange
|
FuturesApi.APIgetMyTradesWithTimeRangeRequest |
contract(String contract)
Set contract
|
List<MyFuturesTradeTimeRange> |
execute()
Execute getMyTradesWithTimeRange request
|
okhttp3.Call |
executeAsync(ApiCallback<List<MyFuturesTradeTimeRange>> _callback)
Execute getMyTradesWithTimeRange request (asynchronously)
|
ApiResponse<List<MyFuturesTradeTimeRange>> |
executeWithHttpInfo()
Execute getMyTradesWithTimeRange request with HTTP info returned
|
FuturesApi.APIgetMyTradesWithTimeRangeRequest |
from(Long from)
Set from
|
FuturesApi.APIgetMyTradesWithTimeRangeRequest |
limit(Integer limit)
Set limit
|
FuturesApi.APIgetMyTradesWithTimeRangeRequest |
offset(Integer offset)
Set offset
|
FuturesApi.APIgetMyTradesWithTimeRangeRequest |
to(Long to)
Set to
|
public FuturesApi.APIgetMyTradesWithTimeRangeRequest contract(String contract)
contract - Futures contract, return related data only if specified (optional)public FuturesApi.APIgetMyTradesWithTimeRangeRequest from(Long from)
from - Start timestamp (optional)public FuturesApi.APIgetMyTradesWithTimeRangeRequest to(Long to)
to - End timestamp (optional)public FuturesApi.APIgetMyTradesWithTimeRangeRequest limit(Integer limit)
limit - Maximum number of records to be returned in a single list (optional, default to 100)public FuturesApi.APIgetMyTradesWithTimeRangeRequest offset(Integer offset)
offset - List offset, starting from 0 (optional, default to 0)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 | * X-Pagination-Limit - Request limit specified * X-Pagination-Offset - Request offset specified |
public List<MyFuturesTradeTimeRange> 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 | * X-Pagination-Limit - Request limit specified * X-Pagination-Offset - Request offset specified |
public ApiResponse<List<MyFuturesTradeTimeRange>> 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 | * X-Pagination-Limit - Request limit specified * X-Pagination-Offset - Request offset specified |
public okhttp3.Call executeAsync(ApiCallback<List<MyFuturesTradeTimeRange>> _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 | * X-Pagination-Limit - Request limit specified * X-Pagination-Offset - Request offset specified |
Copyright © 2023. All rights reserved.