public class DeliveryApi extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DeliveryApi.APIgetMyDeliveryTradesRequest |
class |
DeliveryApi.APIlistDeliveryAccountBookRequest |
class |
DeliveryApi.APIlistDeliveryCandlesticksRequest |
class |
DeliveryApi.APIlistDeliveryInsuranceLedgerRequest |
class |
DeliveryApi.APIlistDeliveryLiquidatesRequest |
class |
DeliveryApi.APIlistDeliveryOrderBookRequest |
class |
DeliveryApi.APIlistDeliveryOrdersRequest |
class |
DeliveryApi.APIlistDeliveryPositionCloseRequest |
class |
DeliveryApi.APIlistDeliverySettlementsRequest |
class |
DeliveryApi.APIlistDeliveryTickersRequest |
class |
DeliveryApi.APIlistDeliveryTradesRequest |
class |
DeliveryApi.APIlistPriceTriggeredDeliveryOrdersRequest |
| Constructor and Description |
|---|
DeliveryApi() |
DeliveryApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
FuturesOrder |
cancelDeliveryOrder(String settle,
String orderId)
Cancel a single order
|
okhttp3.Call |
cancelDeliveryOrderAsync(String settle,
String orderId,
ApiCallback<FuturesOrder> _callback)
Cancel a single order (asynchronously)
|
okhttp3.Call |
cancelDeliveryOrderCall(String settle,
String orderId,
ApiCallback _callback)
Build call for cancelDeliveryOrder
|
List<FuturesOrder> |
cancelDeliveryOrders(String settle,
String contract,
String side)
Cancel all `open` orders matched
Zero-fill order cannot be retrieved 60 seconds after cancellation
|
okhttp3.Call |
cancelDeliveryOrdersAsync(String settle,
String contract,
String side,
ApiCallback<List<FuturesOrder>> _callback)
Cancel all `open` orders matched (asynchronously)
Zero-fill order cannot be retrieved 60 seconds after cancellation
|
okhttp3.Call |
cancelDeliveryOrdersCall(String settle,
String contract,
String side,
ApiCallback _callback)
Build call for cancelDeliveryOrders
|
ApiResponse<List<FuturesOrder>> |
cancelDeliveryOrdersWithHttpInfo(String settle,
String contract,
String side)
Cancel all `open` orders matched
Zero-fill order cannot be retrieved 60 seconds after cancellation
|
ApiResponse<FuturesOrder> |
cancelDeliveryOrderWithHttpInfo(String settle,
String orderId)
Cancel a single order
|
FuturesPriceTriggeredOrder |
cancelPriceTriggeredDeliveryOrder(String settle,
String orderId)
Cancel a single order
|
okhttp3.Call |
cancelPriceTriggeredDeliveryOrderAsync(String settle,
String orderId,
ApiCallback<FuturesPriceTriggeredOrder> _callback)
Cancel a single order (asynchronously)
|
okhttp3.Call |
cancelPriceTriggeredDeliveryOrderCall(String settle,
String orderId,
ApiCallback _callback)
Build call for cancelPriceTriggeredDeliveryOrder
|
List<FuturesPriceTriggeredOrder> |
cancelPriceTriggeredDeliveryOrderList(String settle,
String contract)
Cancel all open orders
|
okhttp3.Call |
cancelPriceTriggeredDeliveryOrderListAsync(String settle,
String contract,
ApiCallback<List<FuturesPriceTriggeredOrder>> _callback)
Cancel all open orders (asynchronously)
|
okhttp3.Call |
cancelPriceTriggeredDeliveryOrderListCall(String settle,
String contract,
ApiCallback _callback)
Build call for cancelPriceTriggeredDeliveryOrderList
|
ApiResponse<List<FuturesPriceTriggeredOrder>> |
cancelPriceTriggeredDeliveryOrderListWithHttpInfo(String settle,
String contract)
Cancel all open orders
|
ApiResponse<FuturesPriceTriggeredOrder> |
cancelPriceTriggeredDeliveryOrderWithHttpInfo(String settle,
String orderId)
Cancel a single order
|
FuturesOrder |
createDeliveryOrder(String settle,
FuturesOrder futuresOrder)
Create a futures order
Zero-fill order cannot be retrieved 60 seconds after cancellation
|
okhttp3.Call |
createDeliveryOrderAsync(String settle,
FuturesOrder futuresOrder,
ApiCallback<FuturesOrder> _callback)
Create a futures order (asynchronously)
Zero-fill order cannot be retrieved 60 seconds after cancellation
|
okhttp3.Call |
createDeliveryOrderCall(String settle,
FuturesOrder futuresOrder,
ApiCallback _callback)
Build call for createDeliveryOrder
|
ApiResponse<FuturesOrder> |
createDeliveryOrderWithHttpInfo(String settle,
FuturesOrder futuresOrder)
Create a futures order
Zero-fill order cannot be retrieved 60 seconds after cancellation
|
TriggerOrderResponse |
createPriceTriggeredDeliveryOrder(String settle,
FuturesPriceTriggeredOrder futuresPriceTriggeredOrder)
Create a price-triggered order
|
okhttp3.Call |
createPriceTriggeredDeliveryOrderAsync(String settle,
FuturesPriceTriggeredOrder futuresPriceTriggeredOrder,
ApiCallback<TriggerOrderResponse> _callback)
Create a price-triggered order (asynchronously)
|
okhttp3.Call |
createPriceTriggeredDeliveryOrderCall(String settle,
FuturesPriceTriggeredOrder futuresPriceTriggeredOrder,
ApiCallback _callback)
Build call for createPriceTriggeredDeliveryOrder
|
ApiResponse<TriggerOrderResponse> |
createPriceTriggeredDeliveryOrderWithHttpInfo(String settle,
FuturesPriceTriggeredOrder futuresPriceTriggeredOrder)
Create a price-triggered order
|
ApiClient |
getApiClient() |
DeliveryContract |
getDeliveryContract(String settle,
String contract)
Get a single contract
|
okhttp3.Call |
getDeliveryContractAsync(String settle,
String contract,
ApiCallback<DeliveryContract> _callback)
Get a single contract (asynchronously)
|
okhttp3.Call |
getDeliveryContractCall(String settle,
String contract,
ApiCallback _callback)
Build call for getDeliveryContract
|
ApiResponse<DeliveryContract> |
getDeliveryContractWithHttpInfo(String settle,
String contract)
Get a single contract
|
FuturesOrder |
getDeliveryOrder(String settle,
String orderId)
Get a single order
Zero-fill order cannot be retrieved 60 seconds after cancellation
|
okhttp3.Call |
getDeliveryOrderAsync(String settle,
String orderId,
ApiCallback<FuturesOrder> _callback)
Get a single order (asynchronously)
Zero-fill order cannot be retrieved 60 seconds after cancellation
|
okhttp3.Call |
getDeliveryOrderCall(String settle,
String orderId,
ApiCallback _callback)
Build call for getDeliveryOrder
|
ApiResponse<FuturesOrder> |
getDeliveryOrderWithHttpInfo(String settle,
String orderId)
Get a single order
Zero-fill order cannot be retrieved 60 seconds after cancellation
|
Position |
getDeliveryPosition(String settle,
String contract)
Get single position
|
okhttp3.Call |
getDeliveryPositionAsync(String settle,
String contract,
ApiCallback<Position> _callback)
Get single position (asynchronously)
|
okhttp3.Call |
getDeliveryPositionCall(String settle,
String contract,
ApiCallback _callback)
Build call for getDeliveryPosition
|
ApiResponse<Position> |
getDeliveryPositionWithHttpInfo(String settle,
String contract)
Get single position
|
DeliveryApi.APIgetMyDeliveryTradesRequest |
getMyDeliveryTrades(String settle)
List personal trading history
|
FuturesPriceTriggeredOrder |
getPriceTriggeredDeliveryOrder(String settle,
String orderId)
Get a single order
|
okhttp3.Call |
getPriceTriggeredDeliveryOrderAsync(String settle,
String orderId,
ApiCallback<FuturesPriceTriggeredOrder> _callback)
Get a single order (asynchronously)
|
okhttp3.Call |
getPriceTriggeredDeliveryOrderCall(String settle,
String orderId,
ApiCallback _callback)
Build call for getPriceTriggeredDeliveryOrder
|
ApiResponse<FuturesPriceTriggeredOrder> |
getPriceTriggeredDeliveryOrderWithHttpInfo(String settle,
String orderId)
Get a single order
|
DeliveryApi.APIlistDeliveryAccountBookRequest |
listDeliveryAccountBook(String settle)
Query account book
|
FuturesAccount |
listDeliveryAccounts(String settle)
Query futures account
|
okhttp3.Call |
listDeliveryAccountsAsync(String settle,
ApiCallback<FuturesAccount> _callback)
Query futures account (asynchronously)
|
okhttp3.Call |
listDeliveryAccountsCall(String settle,
ApiCallback _callback)
Build call for listDeliveryAccounts
|
ApiResponse<FuturesAccount> |
listDeliveryAccountsWithHttpInfo(String settle)
Query futures account
|
DeliveryApi.APIlistDeliveryCandlesticksRequest |
listDeliveryCandlesticks(String settle,
String contract)
Get futures candlesticks
Return specified contract candlesticks.
|
List<DeliveryContract> |
listDeliveryContracts(String settle)
List all futures contracts
|
okhttp3.Call |
listDeliveryContractsAsync(String settle,
ApiCallback<List<DeliveryContract>> _callback)
List all futures contracts (asynchronously)
|
okhttp3.Call |
listDeliveryContractsCall(String settle,
ApiCallback _callback)
Build call for listDeliveryContracts
|
ApiResponse<List<DeliveryContract>> |
listDeliveryContractsWithHttpInfo(String settle)
List all futures contracts
|
DeliveryApi.APIlistDeliveryInsuranceLedgerRequest |
listDeliveryInsuranceLedger(String settle)
Futures insurance balance history
|
DeliveryApi.APIlistDeliveryLiquidatesRequest |
listDeliveryLiquidates(String settle)
List liquidation history
|
DeliveryApi.APIlistDeliveryOrderBookRequest |
listDeliveryOrderBook(String settle,
String contract)
Futures order book
Bids will be sorted by price from high to low, while asks sorted reversely
|
DeliveryApi.APIlistDeliveryOrdersRequest |
listDeliveryOrders(String settle,
String status)
List futures orders
Zero-fill order cannot be retrieved 60 seconds after cancellation
|
DeliveryApi.APIlistDeliveryPositionCloseRequest |
listDeliveryPositionClose(String settle)
List position close history
|
List<Position> |
listDeliveryPositions(String settle)
List all positions of a user
|
okhttp3.Call |
listDeliveryPositionsAsync(String settle,
ApiCallback<List<Position>> _callback)
List all positions of a user (asynchronously)
|
okhttp3.Call |
listDeliveryPositionsCall(String settle,
ApiCallback _callback)
Build call for listDeliveryPositions
|
ApiResponse<List<Position>> |
listDeliveryPositionsWithHttpInfo(String settle)
List all positions of a user
|
DeliveryApi.APIlistDeliverySettlementsRequest |
listDeliverySettlements(String settle)
List settlement history
|
DeliveryApi.APIlistDeliveryTickersRequest |
listDeliveryTickers(String settle)
List futures tickers
|
DeliveryApi.APIlistDeliveryTradesRequest |
listDeliveryTrades(String settle,
String contract)
Futures trading history
|
DeliveryApi.APIlistPriceTriggeredDeliveryOrdersRequest |
listPriceTriggeredDeliveryOrders(String settle,
String status)
List all auto orders
|
void |
setApiClient(ApiClient apiClient) |
Position |
updateDeliveryPositionLeverage(String settle,
String contract,
String leverage)
Update position leverage
|
okhttp3.Call |
updateDeliveryPositionLeverageAsync(String settle,
String contract,
String leverage,
ApiCallback<Position> _callback)
Update position leverage (asynchronously)
|
okhttp3.Call |
updateDeliveryPositionLeverageCall(String settle,
String contract,
String leverage,
ApiCallback _callback)
Build call for updateDeliveryPositionLeverage
|
ApiResponse<Position> |
updateDeliveryPositionLeverageWithHttpInfo(String settle,
String contract,
String leverage)
Update position leverage
|
Position |
updateDeliveryPositionMargin(String settle,
String contract,
String change)
Update position margin
|
okhttp3.Call |
updateDeliveryPositionMarginAsync(String settle,
String contract,
String change,
ApiCallback<Position> _callback)
Update position margin (asynchronously)
|
okhttp3.Call |
updateDeliveryPositionMarginCall(String settle,
String contract,
String change,
ApiCallback _callback)
Build call for updateDeliveryPositionMargin
|
ApiResponse<Position> |
updateDeliveryPositionMarginWithHttpInfo(String settle,
String contract,
String change)
Update position margin
|
Position |
updateDeliveryPositionRiskLimit(String settle,
String contract,
String riskLimit)
Update position risk limit
|
okhttp3.Call |
updateDeliveryPositionRiskLimitAsync(String settle,
String contract,
String riskLimit,
ApiCallback<Position> _callback)
Update position risk limit (asynchronously)
|
okhttp3.Call |
updateDeliveryPositionRiskLimitCall(String settle,
String contract,
String riskLimit,
ApiCallback _callback)
Build call for updateDeliveryPositionRiskLimit
|
ApiResponse<Position> |
updateDeliveryPositionRiskLimitWithHttpInfo(String settle,
String contract,
String riskLimit)
Update position risk limit
|
public DeliveryApi()
public DeliveryApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call listDeliveryContractsCall(String settle, ApiCallback _callback) throws ApiException
settle - Settle currency (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public List<DeliveryContract> listDeliveryContracts(String settle) throws ApiException
settle - Settle currency (required)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<DeliveryContract>> listDeliveryContractsWithHttpInfo(String settle) throws ApiException
settle - Settle currency (required)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 listDeliveryContractsAsync(String settle, ApiCallback<List<DeliveryContract>> _callback) throws ApiException
settle - Settle currency (required)_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 | - |
public okhttp3.Call getDeliveryContractCall(String settle, String contract, ApiCallback _callback) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Contract information | - |
public DeliveryContract getDeliveryContract(String settle, String contract) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Contract information | - |
public ApiResponse<DeliveryContract> getDeliveryContractWithHttpInfo(String settle, String contract) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Contract information | - |
public okhttp3.Call getDeliveryContractAsync(String settle, String contract, ApiCallback<DeliveryContract> _callback) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)_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 | Contract information | - |
public DeliveryApi.APIlistDeliveryOrderBookRequest listDeliveryOrderBook(String settle, String contract)
settle - Settle currency (required)contract - Futures contract (required)| Status Code | Description | Response Headers |
| 200 | Order book retrieved | - |
public DeliveryApi.APIlistDeliveryTradesRequest listDeliveryTrades(String settle, String contract)
settle - Settle currency (required)contract - Futures contract (required)| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public DeliveryApi.APIlistDeliveryCandlesticksRequest listDeliveryCandlesticks(String settle, String contract)
settle - Settle currency (required)contract - Futures contract (required)| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public DeliveryApi.APIlistDeliveryTickersRequest listDeliveryTickers(String settle)
settle - Settle currency (required)| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public DeliveryApi.APIlistDeliveryInsuranceLedgerRequest listDeliveryInsuranceLedger(String settle)
settle - Settle currency (required)| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public okhttp3.Call listDeliveryAccountsCall(String settle, ApiCallback _callback) throws ApiException
settle - Settle currency (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public FuturesAccount listDeliveryAccounts(String settle) throws ApiException
settle - Settle currency (required)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<FuturesAccount> listDeliveryAccountsWithHttpInfo(String settle) throws ApiException
settle - Settle currency (required)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 listDeliveryAccountsAsync(String settle, ApiCallback<FuturesAccount> _callback) throws ApiException
settle - Settle currency (required)_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 | - |
public DeliveryApi.APIlistDeliveryAccountBookRequest listDeliveryAccountBook(String settle)
settle - Settle currency (required)| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public okhttp3.Call listDeliveryPositionsCall(String settle, ApiCallback _callback) throws ApiException
settle - Settle currency (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public List<Position> listDeliveryPositions(String settle) throws ApiException
settle - Settle currency (required)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<Position>> listDeliveryPositionsWithHttpInfo(String settle) throws ApiException
settle - Settle currency (required)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 listDeliveryPositionsAsync(String settle, ApiCallback<List<Position>> _callback) throws ApiException
settle - Settle currency (required)_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 | - |
public okhttp3.Call getDeliveryPositionCall(String settle, String contract, ApiCallback _callback) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Position information | - |
public Position getDeliveryPosition(String settle, String contract) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Position information | - |
public ApiResponse<Position> getDeliveryPositionWithHttpInfo(String settle, String contract) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Position information | - |
public okhttp3.Call getDeliveryPositionAsync(String settle, String contract, ApiCallback<Position> _callback) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)_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 | Position information | - |
public okhttp3.Call updateDeliveryPositionMarginCall(String settle, String contract, String change, ApiCallback _callback) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)change - Margin change. Use positive number to increase margin, negative number otherwise. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Position information | - |
public Position updateDeliveryPositionMargin(String settle, String contract, String change) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)change - Margin change. Use positive number to increase margin, negative number otherwise. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Position information | - |
public ApiResponse<Position> updateDeliveryPositionMarginWithHttpInfo(String settle, String contract, String change) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)change - Margin change. Use positive number to increase margin, negative number otherwise. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Position information | - |
public okhttp3.Call updateDeliveryPositionMarginAsync(String settle, String contract, String change, ApiCallback<Position> _callback) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)change - Margin change. Use positive number to increase margin, negative number otherwise. (required)_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 | Position information | - |
public okhttp3.Call updateDeliveryPositionLeverageCall(String settle, String contract, String leverage, ApiCallback _callback) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)leverage - New position leverage (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Position information | - |
public Position updateDeliveryPositionLeverage(String settle, String contract, String leverage) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)leverage - New position leverage (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Position information | - |
public ApiResponse<Position> updateDeliveryPositionLeverageWithHttpInfo(String settle, String contract, String leverage) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)leverage - New position leverage (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Position information | - |
public okhttp3.Call updateDeliveryPositionLeverageAsync(String settle, String contract, String leverage, ApiCallback<Position> _callback) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)leverage - New position leverage (required)_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 | Position information | - |
public okhttp3.Call updateDeliveryPositionRiskLimitCall(String settle, String contract, String riskLimit, ApiCallback _callback) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)riskLimit - New position risk limit (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Position information | - |
public Position updateDeliveryPositionRiskLimit(String settle, String contract, String riskLimit) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)riskLimit - New position risk limit (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Position information | - |
public ApiResponse<Position> updateDeliveryPositionRiskLimitWithHttpInfo(String settle, String contract, String riskLimit) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)riskLimit - New position risk limit (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Position information | - |
public okhttp3.Call updateDeliveryPositionRiskLimitAsync(String settle, String contract, String riskLimit, ApiCallback<Position> _callback) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)riskLimit - New position risk limit (required)_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 | Position information | - |
public DeliveryApi.APIlistDeliveryOrdersRequest listDeliveryOrders(String settle, String status)
settle - Settle currency (required)status - List orders based on status (required)| Status Code | Description | Response Headers |
| 200 | List retrieved | * X-Pagination-Limit - Request limit specified * X-Pagination-Offset - Request offset specified * X-Pagination-Total - Total number matched. Only returned on `count_total` set to 1 |
public okhttp3.Call createDeliveryOrderCall(String settle, FuturesOrder futuresOrder, ApiCallback _callback) throws ApiException
settle - Settle currency (required)futuresOrder - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 201 | Order details | - |
public FuturesOrder createDeliveryOrder(String settle, FuturesOrder futuresOrder) throws ApiException
settle - Settle currency (required)futuresOrder - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | Order details | - |
public ApiResponse<FuturesOrder> createDeliveryOrderWithHttpInfo(String settle, FuturesOrder futuresOrder) throws ApiException
settle - Settle currency (required)futuresOrder - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | Order details | - |
public okhttp3.Call createDeliveryOrderAsync(String settle, FuturesOrder futuresOrder, ApiCallback<FuturesOrder> _callback) throws ApiException
settle - Settle currency (required)futuresOrder - (required)_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 |
| 201 | Order details | - |
public okhttp3.Call cancelDeliveryOrdersCall(String settle, String contract, String side, ApiCallback _callback) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)side - All bids or asks. Both included in not specified (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | All orders matched cancelled | - |
public List<FuturesOrder> cancelDeliveryOrders(String settle, String contract, String side) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)side - All bids or asks. Both included in not specified (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | All orders matched cancelled | - |
public ApiResponse<List<FuturesOrder>> cancelDeliveryOrdersWithHttpInfo(String settle, String contract, String side) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)side - All bids or asks. Both included in not specified (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | All orders matched cancelled | - |
public okhttp3.Call cancelDeliveryOrdersAsync(String settle, String contract, String side, ApiCallback<List<FuturesOrder>> _callback) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)side - All bids or asks. Both included in not specified (optional)_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 | All orders matched cancelled | - |
public okhttp3.Call getDeliveryOrderCall(String settle, String orderId, ApiCallback _callback) throws ApiException
settle - Settle currency (required)orderId - ID returned on order successfully being created (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Order details | - |
public FuturesOrder getDeliveryOrder(String settle, String orderId) throws ApiException
settle - Settle currency (required)orderId - ID returned on order successfully being created (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Order details | - |
public ApiResponse<FuturesOrder> getDeliveryOrderWithHttpInfo(String settle, String orderId) throws ApiException
settle - Settle currency (required)orderId - ID returned on order successfully being created (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Order details | - |
public okhttp3.Call getDeliveryOrderAsync(String settle, String orderId, ApiCallback<FuturesOrder> _callback) throws ApiException
settle - Settle currency (required)orderId - ID returned on order successfully being created (required)_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 | Order details | - |
public okhttp3.Call cancelDeliveryOrderCall(String settle, String orderId, ApiCallback _callback) throws ApiException
settle - Settle currency (required)orderId - ID returned on order successfully being created (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Order details | - |
public FuturesOrder cancelDeliveryOrder(String settle, String orderId) throws ApiException
settle - Settle currency (required)orderId - ID returned on order successfully being created (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Order details | - |
public ApiResponse<FuturesOrder> cancelDeliveryOrderWithHttpInfo(String settle, String orderId) throws ApiException
settle - Settle currency (required)orderId - ID returned on order successfully being created (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Order details | - |
public okhttp3.Call cancelDeliveryOrderAsync(String settle, String orderId, ApiCallback<FuturesOrder> _callback) throws ApiException
settle - Settle currency (required)orderId - ID returned on order successfully being created (required)_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 | Order details | - |
public DeliveryApi.APIgetMyDeliveryTradesRequest getMyDeliveryTrades(String settle)
settle - Settle currency (required)| Status Code | Description | Response Headers |
| 200 | List retrieved | * X-Pagination-Limit - Request limit specified * X-Pagination-Offset - Request offset specified * X-Pagination-Total - Total number matched. Only returned on `count_total` set to 1 |
public DeliveryApi.APIlistDeliveryPositionCloseRequest listDeliveryPositionClose(String settle)
settle - Settle currency (required)| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public DeliveryApi.APIlistDeliveryLiquidatesRequest listDeliveryLiquidates(String settle)
settle - Settle currency (required)| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public DeliveryApi.APIlistDeliverySettlementsRequest listDeliverySettlements(String settle)
settle - Settle currency (required)| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public DeliveryApi.APIlistPriceTriggeredDeliveryOrdersRequest listPriceTriggeredDeliveryOrders(String settle, String status)
settle - Settle currency (required)status - List orders based on status (required)| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public okhttp3.Call createPriceTriggeredDeliveryOrderCall(String settle, FuturesPriceTriggeredOrder futuresPriceTriggeredOrder, ApiCallback _callback) throws ApiException
settle - Settle currency (required)futuresPriceTriggeredOrder - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 201 | Order created | - |
public TriggerOrderResponse createPriceTriggeredDeliveryOrder(String settle, FuturesPriceTriggeredOrder futuresPriceTriggeredOrder) throws ApiException
settle - Settle currency (required)futuresPriceTriggeredOrder - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | Order created | - |
public ApiResponse<TriggerOrderResponse> createPriceTriggeredDeliveryOrderWithHttpInfo(String settle, FuturesPriceTriggeredOrder futuresPriceTriggeredOrder) throws ApiException
settle - Settle currency (required)futuresPriceTriggeredOrder - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | Order created | - |
public okhttp3.Call createPriceTriggeredDeliveryOrderAsync(String settle, FuturesPriceTriggeredOrder futuresPriceTriggeredOrder, ApiCallback<TriggerOrderResponse> _callback) throws ApiException
settle - Settle currency (required)futuresPriceTriggeredOrder - (required)_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 |
| 201 | Order created | - |
public okhttp3.Call cancelPriceTriggeredDeliveryOrderListCall(String settle, String contract, ApiCallback _callback) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Batch cancellation request accepted. Query order status by listing orders | - |
public List<FuturesPriceTriggeredOrder> cancelPriceTriggeredDeliveryOrderList(String settle, String contract) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Batch cancellation request accepted. Query order status by listing orders | - |
public ApiResponse<List<FuturesPriceTriggeredOrder>> cancelPriceTriggeredDeliveryOrderListWithHttpInfo(String settle, String contract) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Batch cancellation request accepted. Query order status by listing orders | - |
public okhttp3.Call cancelPriceTriggeredDeliveryOrderListAsync(String settle, String contract, ApiCallback<List<FuturesPriceTriggeredOrder>> _callback) throws ApiException
settle - Settle currency (required)contract - Futures contract (required)_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 | Batch cancellation request accepted. Query order status by listing orders | - |
public okhttp3.Call getPriceTriggeredDeliveryOrderCall(String settle, String orderId, ApiCallback _callback) throws ApiException
settle - Settle currency (required)orderId - ID returned on order successfully being created (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Auto order detail | - |
public FuturesPriceTriggeredOrder getPriceTriggeredDeliveryOrder(String settle, String orderId) throws ApiException
settle - Settle currency (required)orderId - ID returned on order successfully being created (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Auto order detail | - |
public ApiResponse<FuturesPriceTriggeredOrder> getPriceTriggeredDeliveryOrderWithHttpInfo(String settle, String orderId) throws ApiException
settle - Settle currency (required)orderId - ID returned on order successfully being created (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Auto order detail | - |
public okhttp3.Call getPriceTriggeredDeliveryOrderAsync(String settle, String orderId, ApiCallback<FuturesPriceTriggeredOrder> _callback) throws ApiException
settle - Settle currency (required)orderId - ID returned on order successfully being created (required)_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 | Auto order detail | - |
public okhttp3.Call cancelPriceTriggeredDeliveryOrderCall(String settle, String orderId, ApiCallback _callback) throws ApiException
settle - Settle currency (required)orderId - ID returned on order successfully being created (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Auto order detail | - |
public FuturesPriceTriggeredOrder cancelPriceTriggeredDeliveryOrder(String settle, String orderId) throws ApiException
settle - Settle currency (required)orderId - ID returned on order successfully being created (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Auto order detail | - |
public ApiResponse<FuturesPriceTriggeredOrder> cancelPriceTriggeredDeliveryOrderWithHttpInfo(String settle, String orderId) throws ApiException
settle - Settle currency (required)orderId - ID returned on order successfully being created (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Auto order detail | - |
public okhttp3.Call cancelPriceTriggeredDeliveryOrderAsync(String settle, String orderId, ApiCallback<FuturesPriceTriggeredOrder> _callback) throws ApiException
settle - Settle currency (required)orderId - ID returned on order successfully being created (required)_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 | Auto order detail | - |
Copyright © 2021. All rights reserved.