Fetches closed positions for a user(address)
The address of the user in question
"0x56687bf447db6ffa42ffe2204a05edaa20f55839"
The conditionId of the market in question. Supports multiple csv separated values. Cannot be used with the eventId param.
0x-prefixed 64-hex string
Filter by market title
100
The event id of the event in question. Supports multiple csv separated values. Returns positions for all markets for those event ids. Cannot be used with the market param.
The max number of positions to return
0 <= x <= 500
The starting index for pagination
0 <= x <= 10000
The sort criteria
REALIZEDPNL
, TITLE
, PRICE
, AVGPRICE
The sort direction
ASC
, DESC
Success
The response is of type object[]
.