Batch order management
This endpoint allows sending limit or stop order(s) and/or cancelling open order(s) and/or editing open order(s) for a currently listed Futures contract in batch.
When editing an order, if the trailingStopMaxDeviation and trailingStopDeviationUnit
parameters are sent unchanged, the system will recalculate a new stop price upon successful
order modification.
Authorizations
General API key with full access
Authentication string
Body
This parameter is required to be encoded as a JSON string.
{
"batchOrder": [
{
"order": "send",
"order_tag": "1",
"orderType": "lmt",
"symbol": "PF_XBTUSD",
"side": "buy",
"size": 1,
"limitPrice": 1,
"cliOrdId": "my_another_client_id"
},
{
"order": "send",
"order_tag": "2",
"orderType": "stp",
"symbol": "PF_XBTUSD",
"side": "buy",
"size": 1,
"limitPrice": 2,
"stopPrice": 3
},
{
"order": "cancel",
"order_id": "e35d61dd-8a30-4d5f-a574-b5593ef0c050"
},
{
"order": "cancel",
"cliOrdId": "my_client_id"
}
]
}The time before which the request should be processed, otherwise it is rejected.
"2023-11-08T19:56:35.441899Z"
Response
- Success Response
- Errors
A structure containing information on the send order request.
success "success"
Server time in Coordinated Universal Time (UTC)
"2020-08-27T17:03:33.196Z"