getPredictionPositionHistory
Retrieve closed prediction positions and their realized P&L. Shows WIN, LOSE, or MANUAL_CLOSE outcomes.
Instructions
Query the authenticated user's historical prediction positions that have been closed (either by manual sell, market resolution, or expiry).
Returns realized P&L and final outcome for each closed position.
AI agent can use this to summarize the user's prediction trading performance.
Agent hint: Use this to see the user's closed prediction position history and realized P&L. For current open positions, use getPredictionPositionList instead. result shows WIN/LOSE/MANUAL_CLOSE and the amount won or lost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| direction | No | ||
| pageIndex | No |