Api positions request
Query the positions of a sub account
NameLite |
Type | RequiredDefault |
Description |
|---|---|---|---|
sub_account_idsa |
string | True | The sub account ID to request for |
kindk |
[Kind] | Falseall |
The kind filter to apply. If nil, this defaults to all kinds. Otherwise, only entries matching the filter will be returned |
baseb |
[string] | Falseall |
The base filter to apply. If nil, this defaults to all bases. Otherwise, only entries matching the filter will be returned |
quoteq |
[string] | Falseall |
The quote filter to apply. If nil, this defaults to all quotes. Otherwise, only entries matching the filter will be returned |
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 |