post https://api.cvex.trade/v1/trading/batch-actions
❗ Under Development
This endpoint is currently non-functional as the method has not yet been implemented. Please avoid using it for now.
This endpoint is designed to execute a batch of actions optimistically. If any action in the batch fails, the remaining actions will still be executed. Below is a list of the supported actions:
make_order
reduce_order
replace_order
cancel_order
atomic_orders
Actions field is array of Action object.
{
"action":"make_order",
"data":{} // json body of make needed action request
}
2 send order request example:
{
"actions":[
{
"action":"make_order",
"data":{
"contract":"1",
"customer_order_id":"123id100",
"limit_price":"61494",
"quantity_steps":"5",
"reduce_only":false,
"time_in_force":"GTC",
"type":"limit"
}
},
{
"action":"make_order",
"data":{
"contract":"2",
"customer_order_id":"123id101",
"limit_price":"61494",
"quantity_steps":"5",
"reduce_only":false,
"time_in_force":"GTC",
"type":"limit"
}
}
],
"recv_window":60000,
"timestamp":1729501218
}
*Required Request Headers:**
X-Signature
: The required digital signature of the request.
Undocumented
All possible API behavior is not documented yet.
Each request to this endpoint costs 1 API credit.