get_tradesreadOwner-scopedClosed trades for one of the user's mt5 accounts. profit is already net of commission and swap.
| Param | Type | Req. | Description |
|---|---|---|---|
| account_id | string | yes | An account_id from list_journal_accounts. |
| symbol | string | no | Filter by symbol. |
| side | "buy" | "sell" | "any" | no | Filter by side (default any). |
| from | string (ISO) | no | Trades closed on or after this time. |
| to | string (ISO) | no | Trades closed on or before this time. |
| limit | integer | no | Max rows (1-200, default 50). |
Example prompts
- “Show my last 50 trades on my main account.”
- “List my EURUSD sells from this month.”
Example call
{ "name": "get_trades", "arguments": { "account_id": "5012345", "limit": 50 } }