getPredictionPositionList
Retrieve your current open prediction positions with share counts, market value, and unrealized P&L. Check it before selling to verify sufficient shares and get token IDs for sell orders.
Instructions
Query the authenticated user's current open prediction positions. Returns positions that have not yet been resolved.
Each position includes the number of shares held, current market value, unrealized P&L, and the associated event information.
AI agent should call this before placing a sell order to confirm the user holds sufficient shares, and to display the current portfolio.
Agent hint: Use this to check what positions the user currently holds before selling. Shows open (unresolved) positions only. For historical positions, use getPredictionPositionHistory. Each position has a tokenId — use it in sell orders. Check availableSize before selling to ensure the user has enough shares.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| direction | No | ||
| pageIndex | No |