Headers
-
Broker access key identifier.
Format should match the following pattern:
^[A-Za-z0-9._~-]{1,64}$. -
Keyed BLAKE2b-256 signature (hex lowercase, 64 characters).
Format should match the following pattern:
^[0-9a-f]{64}$. -
RFC3339 timestamp with milliseconds (e.g., 2025-10-30T06:00:34.075Z). Must be within clock_skew_tolerance (default 5m) of server time.
Path parameters
-
Broker-supplied account identifier; length 1..128; charset [A-Za-z0-9._~-].
Maximum length is
128. Format should match the following pattern:^[A-Za-z0-9._~-]{1,128}$.
Query parameters
-
Filter by position status. OPEN (default) returns only non-zero qty; ALL returns settled/closed positions as well.
Values are
OPENorALL. Default value isOPEN. -
Presentation mode for positions.
dual: returns separate yes_qty and no_qty.net: returns a single net quantity (yes_qty - no_qty).
Values are
dualornet. Default value isnet. -
Minimum value is
1, maximum value is100. Default value is50.
curl \
--request GET 'https://api.example.com/v1/trading/accounts/{account_id}/positions' \
--header "PRE-ACCESS-KEY: string" \
--header "PRE-ACCESS-SIGNATURE: string" \
--header "PRE-ACCESS-TIMESTAMP: 2026-05-04T09:42:00Z"
{
"items": [
{
"account_id": "string",
"market_id": "string",
"yes_qty": {
"units": 42,
"nanos": 42
},
"no_qty": {
"units": 42,
"nanos": 42
},
"yes_reserved": {
"units": 42,
"nanos": 42
},
"no_reserved": {
"units": 42,
"nanos": 42
},
"realized_pnl": {
"units": 42,
"nanos": 42
},
"fees_paid": {
"units": 42,
"nanos": 42
},
"last_update_wall_time_ns": 42,
"last_update_engine_seq": 42
}
],
"next_cursor": "string"
}
{
"items": [
{
"account_id": "string",
"market_id": "string",
"qty": {
"units": 42,
"nanos": 42
},
"yes_reserved": {
"units": 42,
"nanos": 42
},
"no_reserved": {
"units": 42,
"nanos": 42
},
"realized_pnl": {
"units": 42,
"nanos": 42
},
"fees_paid": {
"units": 42,
"nanos": 42
},
"last_update_wall_time_ns": 42,
"last_update_engine_seq": 42
}
],
"next_cursor": "string"
}
{
"error_code": "string",
"message": "string",
"details": {}
}
{
"error_code": "string",
"message": "string",
"details": {}
}