| Package | Description |
|---|---|
| io.gate.gateapi.api | |
| io.gate.gateapi.models |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
BatchFuturesOrder |
BatchFuturesOrder.autoSize(BatchFuturesOrder.AutoSizeEnum autoSize) |
BatchFuturesOrder |
BatchFuturesOrder.close(Boolean close) |
BatchFuturesOrder |
BatchFuturesOrder.contract(String contract) |
BatchFuturesOrder |
BatchFuturesOrder.detail(String detail) |
BatchFuturesOrder |
BatchFuturesOrder.iceberg(Long iceberg) |
BatchFuturesOrder |
BatchFuturesOrder.label(String label) |
BatchFuturesOrder |
BatchFuturesOrder.price(String price) |
BatchFuturesOrder |
BatchFuturesOrder.reduceOnly(Boolean reduceOnly) |
BatchFuturesOrder |
BatchFuturesOrder.size(Long size) |
BatchFuturesOrder |
BatchFuturesOrder.stpAct(BatchFuturesOrder.StpActEnum stpAct) |
BatchFuturesOrder |
BatchFuturesOrder.succeeded(Boolean succeeded) |
BatchFuturesOrder |
BatchFuturesOrder.text(String text) |
BatchFuturesOrder |
BatchFuturesOrder.tif(BatchFuturesOrder.TifEnum tif) |
Copyright © 2023. All rights reserved.