Api cancel all orders request

ApiCancelAllOrdersRequest

Cancel all orders on the orderbook for this trading account. This may not match new orders in flight.

Name
Lite
Type Required
Default
Description
sub_account_id
sa
string True The subaccount ID cancelling all orders
kind
k
[Kind] False
all
The kind filter to apply. If nil, this defaults to all kinds. Otherwise, only entries matching the filter will be cancelled
base
b
[string] False
all
The base filter to apply. If nil, this defaults to all bases. Otherwise, only entries matching the filter will be cancelled
quote
q
[string] False
all
The quote filter to apply. If nil, this defaults to all quotes. Otherwise, only entries matching the filter will be cancelled
Kind

The list of asset kinds that are supported on the GRVT exchange

Value Description
PERPETUAL = 1 the perpetual asset kind
FUTURE = 2 the future asset kind
CALL = 3 the call option asset kind
PUT = 4 the put option asset kind