Get an account performance summary
get_account_performanceSummarize an MT5 account's performance over a date window—net P&L, win rate, profit factor, ROI/IRR, deal counts, costs, and live terminal state—in a fixed-size response.
Instructions
Summarize how one MT5 account has performed over a date window: net P&L, win rate, profit factor, gross profit and loss, deal counts, costs, cash flow, period ROI and IRR, lifetime IRR, and the live terminal state. This is the default tool for any performance question — the response is a fixed-size summary that does not grow with the window. accountId is the id field from list_accounts — NOT login. Omit from/to for the last 30 days. reporting is an ISO-4217 currency code (default USD), not a reporting period. A null live block means the terminal was unreachable, not that the account is empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Window end, inclusive (UTC, YYYY-MM-DD). | |
| from | No | Window start (UTC, YYYY-MM-DD). | |
| accountId | Yes | The `id` field from list_accounts. Not the `login` (MT5 account number). | |
| reporting | No | ISO-4217 currency the money figures are normalized to. Defaults to USD. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | Yes | ||
| notes | Yes | ||
| metrics | Yes | ||
| lifetimeIrr | Yes | ||
| portfolioReturn | Yes |