My closed positions
get_my_closed_positions๐ด CLOSED POSITIONS ONLY โ positions the user has already fully exited, with their realised profit and loss. IMPORTANT: get_my_closed_positions returns ONLY positions the user has already exited. Positions the user still holds come from get_my_balances. Never tell a user they hold nothing based on get_my_closed_positions being empty. Use this for realised PnL questions. An empty result means the user has never closed a position, and says nothing at all about what they hold today. Choosing between the two history tools: get_my_closed_positions is the POSITION-level rollup โ one entry per token the user entered and fully exited, with total realised PnL. get_my_closed_trades is the individual TRADES underneath, one entry per fill. Use positions for 'how did I do on X', trades for 'show me every trade'. This returns the CURRENT USER's own data, resolved from their API key. There is no way to ask about someone else's wallet with this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number. | |
| limit | No | Positions per page, 1-100. Keep it small. | |
| network | No | solana | |
| token_address | No | Restrict to closed positions in one token. Omit for all. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||