Skip to main content
GET
GET /traders/{address}/positions/closed: Closed Positions
Sign each request with a fresh HMAC signature. The cURL and HTTP header values below are placeholders, not reusable credentials. For runnable signing code, use request signing examples. Python examples use the signed session from that page; Node.js examples use its bravadoFetch helper.
Returns only the wallet’s closed positions: every position the wallet no longer holds (under one share open), including those that closed at break-even (realized_pnl of 0). A position is a token the wallet actually bought, received or sold; cash collected on a market’s redemption record without any shares moving is not listed. Response shape matches /positions.

Path Parameters

string
required
Wallet address: 0x followed by 40 hex characters.

Query Parameters

integer
default:"100"
Page size, 1 to 1000. A value outside that range returns 400.
integer
default:"0"
Number of closed positions to skip. Page with limit and offset until positions is shorter than limit.

Response

string
required
The wallet, as requested.
array
required
Closed positions, most recently closed first (ties by token_id). Same row shape as /positions. mark_price_cents is the average exit price in cents: cash received over shares exited, counting sells (including merges), resolutions and redemptions only. It is null when no exit carried cash, for example a position that left only by conversion or transfer.
integer
required
Number of closed positions.
integer
required
The page size applied.
integer
required
The offset applied.

Example

cURL