PUB wss://ws.aevo.xyz
Cancels all orders. Optionally, you can specify an instrument type to cancel only orders for that instrument type.REQUEST
RESPONSE
|
|
data.instrument_type string optional
Instrument Type: Eg. |
Example
{
"id": 1,
"op": "cancel_all_orders",
"data": {
"instrument_type": "OPTION"
}
}
RESPONSE
|
data.success boolean required True if cancel is successful. |
data.order_ids array of strings required Returns a list of order ids that were successfully cancelled. |
Example
{
"id": 1,
"data": {
"success": true,
"orders_ids": [
"0xc0653e811ee2dd55d5265104a65e08ce31d4570cf46e0cda77555ecd2ce00874",
"0x2192bb429415e838367e553446574be218091af997c34ccf3fa407ff644c0376"
]
}
}