My closed trades
get_my_closed_tradesThe user's completed trades, newest first — one entry per closed buy→sell cycle, with what was bought or sold and the realised result. Each cycle carries fills: every buy/sell leg with timestamp, side, price_usd, token_amount, usd_amount and tx_hash (pass include_fills=false to skip them), plus the rationale you gave for it (null when none). 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'. 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. ⚠️ ONE TOKEN AT A TIME: token_address is REQUIRED. The backing service formats a per-token history and has no cross-token mode. For the user's whole trading history across tokens, call get_my_closed_positions instead. 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 | ||
| limit | No | ||
| network | No | solana | |
| include_fills | No | ||
| token_address | Yes | Contract address of the ONE token to show trades for. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||