Get position history
Retrieve history of closed positions including entry/exit prices, realized PnL, and fees.
Requires authentication.
Authorization
ApiKeyAuth ApiSignatureAuth ApiTimestampAuth API key for authentication
In: header
HMAC-SHA256 signature: base64(HMAC(timestamp + method + path + body, secret))
In: header
Unix timestamp in seconds
In: header
Query Parameters
Filter by market ID (optional).
Start timestamp in nanoseconds for filtering positions by close time (updated_at), inclusive. If omitted, no lower bound is applied.
int64End timestamp in nanoseconds for filtering positions by close time (updated_at), exclusive. If omitted, no upper bound is applied.
int64Maximum results to return (default: 100, max: 1000).
int32Sort by field. Prefix with "-" for descending. Accepts API field names or DB column names: crt_ts/created_at, upd_ts/updated_at. Default: unsorted.
Response Body
application/json