| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for listOrderBook
|
OrderBook |
execute()
Execute listOrderBook request
|
okhttp3.Call |
executeAsync(ApiCallback<OrderBook> _callback)
Execute listOrderBook request (asynchronously)
|
ApiResponse<OrderBook> |
executeWithHttpInfo()
Execute listOrderBook request with HTTP info returned
|
SpotApi.APIlistOrderBookRequest |
interval(String interval)
Set interval
|
SpotApi.APIlistOrderBookRequest |
limit(Integer limit)
Set limit
|
SpotApi.APIlistOrderBookRequest |
withId(Boolean withId)
Set withId
|
public SpotApi.APIlistOrderBookRequest interval(String interval)
interval - Order depth. 0 means no aggregation is applied. default to 0 (optional, default to "0")public SpotApi.APIlistOrderBookRequest limit(Integer limit)
limit - Maximum number of order depth data in asks or bids (optional, default to 10)public SpotApi.APIlistOrderBookRequest withId(Boolean withId)
withId - Return order book ID (optional, default to false)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 | Successfully retrieved | - |
public OrderBook 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 | Successfully retrieved | - |
public ApiResponse<OrderBook> 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 | Successfully retrieved | - |
public okhttp3.Call executeAsync(ApiCallback<OrderBook> _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 | Successfully retrieved | - |
Copyright © 2021. All rights reserved.