Fetches closed positions for a user(address)
The address of the user in question User Profile Address (0x-prefixed, 40 hex chars)
"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
100The 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.
x >= 1The max number of positions to return
0 <= x <= 50The starting index for pagination
0 <= x <= 100000The sort criteria
REALIZEDPNL, TITLE, PRICE, AVGPRICE, TIMESTAMP The sort direction
ASC, DESC Success
User Profile Address (0x-prefixed, 40 hex chars)
"0x56687bf447db6ffa42ffe2204a05edaa20f55839"
0x-prefixed 64-hex string
"0xdd22472e552920b8438158ea7238bfadfa4f736aa4cee91a6b86c39ead110917"