Positions
Get position PnL data (open and closed positions with on-the-fly calculation)
Returns positions for a specific pool and user with calculated PnL values. Includes SOL-denominated amounts when SOL price is available (omitted otherwise). Results can be filtered by status (open/closed) and are paginated.
Arguments
pool_address- The address of the pooluser- The user addressstatus- Filter by status: “open”, “closed”, or omit for all (default: all)page- Page number starting from 1 (default: 1)
Returns
200- Paginated list of positions with PnL data in USD and SOL
GET
Get position PnL data (open and closed positions with on-the-fly calculation)
Query Parameters
Response
200 - application/json

