get_history_deals
Retrieve historical trading deals from MetaTrader 5 by date range, ticket, position, or group for analysis.
Instructions
List historical deals between date_from/date_to (ISO dates), or by ticket/position.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_history_deals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | ||
| ticket | No | ||
| date_to | No | ||
| position | No | ||
| date_from | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |