| Package | Description |
|---|---|
| io.gate.gateapi.api | |
| io.gate.gateapi.models |
| Modifier and Type | Method and Description |
|---|---|
FuturesOrder |
FuturesApi.amendFuturesOrder(String settle,
String orderId,
FuturesOrderAmendment futuresOrderAmendment)
Amend an order
|
FuturesOrder |
DeliveryApi.cancelDeliveryOrder(String settle,
String orderId)
Cancel a single order
|
FuturesOrder |
FuturesApi.cancelFuturesOrder(String settle,
String orderId)
Cancel a single order
|
FuturesOrder |
DeliveryApi.createDeliveryOrder(String settle,
FuturesOrder futuresOrder)
Create a futures order
Zero-filled order cannot be retrieved 10 minutes after order cancellation
|
FuturesOrder |
FuturesApi.createFuturesOrder(String settle,
FuturesOrder futuresOrder)
Create a futures order
- Creating futures orders requires `size`, which is number of contracts instead of currency amount.
|
FuturesOrder |
DeliveryApi.getDeliveryOrder(String settle,
String orderId)
Get a single order
Zero-filled order cannot be retrieved 10 minutes after order cancellation
|
FuturesOrder |
FuturesApi.getFuturesOrder(String settle,
String orderId)
Get a single order
Zero-filled order cannot be retrieved 10 minutes after order cancellation
|
| Modifier and Type | Method and Description |
|---|---|
ApiResponse<FuturesOrder> |
FuturesApi.amendFuturesOrderWithHttpInfo(String settle,
String orderId,
FuturesOrderAmendment futuresOrderAmendment)
Amend an order
|
List<FuturesOrder> |
DeliveryApi.cancelDeliveryOrders(String settle,
String contract,
String side)
Cancel all `open` orders matched
Zero-filled order cannot be retrieved 10 minutes after order cancellation
|
ApiResponse<List<FuturesOrder>> |
DeliveryApi.cancelDeliveryOrdersWithHttpInfo(String settle,
String contract,
String side)
Cancel all `open` orders matched
Zero-filled order cannot be retrieved 10 minutes after order cancellation
|
ApiResponse<FuturesOrder> |
DeliveryApi.cancelDeliveryOrderWithHttpInfo(String settle,
String orderId)
Cancel a single order
|
List<FuturesOrder> |
FuturesApi.cancelFuturesOrders(String settle,
String contract,
String side)
Cancel all `open` orders matched
Zero-filled order cannot be retrieved 10 minutes after order cancellation
|
ApiResponse<List<FuturesOrder>> |
FuturesApi.cancelFuturesOrdersWithHttpInfo(String settle,
String contract,
String side)
Cancel all `open` orders matched
Zero-filled order cannot be retrieved 10 minutes after order cancellation
|
ApiResponse<FuturesOrder> |
FuturesApi.cancelFuturesOrderWithHttpInfo(String settle,
String orderId)
Cancel a single order
|
ApiResponse<FuturesOrder> |
DeliveryApi.createDeliveryOrderWithHttpInfo(String settle,
FuturesOrder futuresOrder)
Create a futures order
Zero-filled order cannot be retrieved 10 minutes after order cancellation
|
ApiResponse<FuturesOrder> |
FuturesApi.createFuturesOrderWithHttpInfo(String settle,
FuturesOrder futuresOrder)
Create a futures order
- Creating futures orders requires `size`, which is number of contracts instead of currency amount.
|
List<FuturesOrder> |
FuturesApi.APIlistFuturesOrdersRequest.execute()
Execute listFuturesOrders request
|
List<FuturesOrder> |
DeliveryApi.APIlistDeliveryOrdersRequest.execute()
Execute listDeliveryOrders request
|
ApiResponse<List<FuturesOrder>> |
FuturesApi.APIlistFuturesOrdersRequest.executeWithHttpInfo()
Execute listFuturesOrders request with HTTP info returned
|
ApiResponse<List<FuturesOrder>> |
DeliveryApi.APIlistDeliveryOrdersRequest.executeWithHttpInfo()
Execute listDeliveryOrders request with HTTP info returned
|
ApiResponse<FuturesOrder> |
DeliveryApi.getDeliveryOrderWithHttpInfo(String settle,
String orderId)
Get a single order
Zero-filled order cannot be retrieved 10 minutes after order cancellation
|
ApiResponse<FuturesOrder> |
FuturesApi.getFuturesOrderWithHttpInfo(String settle,
String orderId)
Get a single order
Zero-filled order cannot be retrieved 10 minutes after order cancellation
|
| Modifier and Type | Method and Description |
|---|---|
FuturesOrder |
DeliveryApi.createDeliveryOrder(String settle,
FuturesOrder futuresOrder)
Create a futures order
Zero-filled order cannot be retrieved 10 minutes after order cancellation
|
okhttp3.Call |
DeliveryApi.createDeliveryOrderAsync(String settle,
FuturesOrder futuresOrder,
ApiCallback<FuturesOrder> _callback)
Create a futures order (asynchronously)
Zero-filled order cannot be retrieved 10 minutes after order cancellation
|
okhttp3.Call |
DeliveryApi.createDeliveryOrderCall(String settle,
FuturesOrder futuresOrder,
ApiCallback _callback)
Build call for createDeliveryOrder
|
ApiResponse<FuturesOrder> |
DeliveryApi.createDeliveryOrderWithHttpInfo(String settle,
FuturesOrder futuresOrder)
Create a futures order
Zero-filled order cannot be retrieved 10 minutes after order cancellation
|
FuturesOrder |
FuturesApi.createFuturesOrder(String settle,
FuturesOrder futuresOrder)
Create a futures order
- Creating futures orders requires `size`, which is number of contracts instead of currency amount.
|
okhttp3.Call |
FuturesApi.createFuturesOrderAsync(String settle,
FuturesOrder futuresOrder,
ApiCallback<FuturesOrder> _callback)
Create a futures order (asynchronously)
- Creating futures orders requires `size`, which is number of contracts instead of currency amount.
|
okhttp3.Call |
FuturesApi.createFuturesOrderCall(String settle,
FuturesOrder futuresOrder,
ApiCallback _callback)
Build call for createFuturesOrder
|
ApiResponse<FuturesOrder> |
FuturesApi.createFuturesOrderWithHttpInfo(String settle,
FuturesOrder futuresOrder)
Create a futures order
- Creating futures orders requires `size`, which is number of contracts instead of currency amount.
|
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
FuturesApi.amendFuturesOrderAsync(String settle,
String orderId,
FuturesOrderAmendment futuresOrderAmendment,
ApiCallback<FuturesOrder> _callback)
Amend an order (asynchronously)
|
okhttp3.Call |
DeliveryApi.cancelDeliveryOrderAsync(String settle,
String orderId,
ApiCallback<FuturesOrder> _callback)
Cancel a single order (asynchronously)
|
okhttp3.Call |
DeliveryApi.cancelDeliveryOrdersAsync(String settle,
String contract,
String side,
ApiCallback<List<FuturesOrder>> _callback)
Cancel all `open` orders matched (asynchronously)
Zero-filled order cannot be retrieved 10 minutes after order cancellation
|
okhttp3.Call |
FuturesApi.cancelFuturesOrderAsync(String settle,
String orderId,
ApiCallback<FuturesOrder> _callback)
Cancel a single order (asynchronously)
|
okhttp3.Call |
FuturesApi.cancelFuturesOrdersAsync(String settle,
String contract,
String side,
ApiCallback<List<FuturesOrder>> _callback)
Cancel all `open` orders matched (asynchronously)
Zero-filled order cannot be retrieved 10 minutes after order cancellation
|
List<BatchFuturesOrder> |
FuturesApi.createBatchFuturesOrder(String settle,
List<FuturesOrder> futuresOrder)
Create a batch of futures orders
- Up to 10 orders per request - If any of the order's parameters are missing or in the wrong format, all of them will not be executed, and a http status 400 error will be returned directly - If the parameters are checked and passed, all are executed.
|
okhttp3.Call |
FuturesApi.createBatchFuturesOrderAsync(String settle,
List<FuturesOrder> futuresOrder,
ApiCallback<List<BatchFuturesOrder>> _callback)
Create a batch of futures orders (asynchronously)
- Up to 10 orders per request - If any of the order's parameters are missing or in the wrong format, all of them will not be executed, and a http status 400 error will be returned directly - If the parameters are checked and passed, all are executed.
|
okhttp3.Call |
FuturesApi.createBatchFuturesOrderCall(String settle,
List<FuturesOrder> futuresOrder,
ApiCallback _callback)
Build call for createBatchFuturesOrder
|
ApiResponse<List<BatchFuturesOrder>> |
FuturesApi.createBatchFuturesOrderWithHttpInfo(String settle,
List<FuturesOrder> futuresOrder)
Create a batch of futures orders
- Up to 10 orders per request - If any of the order's parameters are missing or in the wrong format, all of them will not be executed, and a http status 400 error will be returned directly - If the parameters are checked and passed, all are executed.
|
okhttp3.Call |
DeliveryApi.createDeliveryOrderAsync(String settle,
FuturesOrder futuresOrder,
ApiCallback<FuturesOrder> _callback)
Create a futures order (asynchronously)
Zero-filled order cannot be retrieved 10 minutes after order cancellation
|
okhttp3.Call |
FuturesApi.createFuturesOrderAsync(String settle,
FuturesOrder futuresOrder,
ApiCallback<FuturesOrder> _callback)
Create a futures order (asynchronously)
- Creating futures orders requires `size`, which is number of contracts instead of currency amount.
|
okhttp3.Call |
FuturesApi.APIlistFuturesOrdersRequest.executeAsync(ApiCallback<List<FuturesOrder>> _callback)
Execute listFuturesOrders request (asynchronously)
|
okhttp3.Call |
DeliveryApi.APIlistDeliveryOrdersRequest.executeAsync(ApiCallback<List<FuturesOrder>> _callback)
Execute listDeliveryOrders request (asynchronously)
|
okhttp3.Call |
DeliveryApi.getDeliveryOrderAsync(String settle,
String orderId,
ApiCallback<FuturesOrder> _callback)
Get a single order (asynchronously)
Zero-filled order cannot be retrieved 10 minutes after order cancellation
|
okhttp3.Call |
FuturesApi.getFuturesOrderAsync(String settle,
String orderId,
ApiCallback<FuturesOrder> _callback)
Get a single order (asynchronously)
Zero-filled order cannot be retrieved 10 minutes after order cancellation
|
| Modifier and Type | Method and Description |
|---|---|
FuturesOrder |
FuturesOrder.autoSize(FuturesOrder.AutoSizeEnum autoSize) |
FuturesOrder |
FuturesOrder.close(Boolean close) |
FuturesOrder |
FuturesOrder.contract(String contract) |
FuturesOrder |
FuturesOrder.iceberg(Long iceberg) |
FuturesOrder |
FuturesOrder.price(String price) |
FuturesOrder |
FuturesOrder.reduceOnly(Boolean reduceOnly) |
FuturesOrder |
FuturesOrder.size(Long size) |
FuturesOrder |
FuturesOrder.stpAct(FuturesOrder.StpActEnum stpAct) |
FuturesOrder |
FuturesOrder.text(String text) |
FuturesOrder |
FuturesOrder.tif(FuturesOrder.TifEnum tif) |
Copyright © 2023. All rights reserved.