getPredictionPositionHistory
Retrieve closed prediction position history to review realized P&L and final outcomes, enabling performance summaries for prediction trading.
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 |