public class FuturesApi.APIlistFuturesFundingRateHistoryRequest extends Object
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for listFuturesFundingRateHistory
|
List<FundingRateRecord> |
execute()
Execute listFuturesFundingRateHistory request
|
okhttp3.Call |
executeAsync(ApiCallback<List<FundingRateRecord>> _callback)
Execute listFuturesFundingRateHistory request (asynchronously)
|
ApiResponse<List<FundingRateRecord>> |
executeWithHttpInfo()
Execute listFuturesFundingRateHistory request with HTTP info returned
|
FuturesApi.APIlistFuturesFundingRateHistoryRequest |
limit(Integer limit)
Set limit
|
public FuturesApi.APIlistFuturesFundingRateHistoryRequest 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 | History retrieved | - |
public List<FundingRateRecord> 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 | History retrieved | - |
public ApiResponse<List<FundingRateRecord>> 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 | History retrieved | - |
public okhttp3.Call executeAsync(ApiCallback<List<FundingRateRecord>> _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 | History retrieved | - |
Copyright © 2023. All rights reserved.