get_trade_history
Fetches closed trade history from a remote MetaTrader 5 terminal. Returns symbol, type, volume, open/close prices and times, profit, swap, commission, and net profit.
Instructions
Ritorna lo storico dei trade chiusi negli ultimi N giorni. Ogni trade include: symbol, type, volume, open_price, close_price, open_time, close_time, profit, swap, commission, net_profit.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"vps": "<vps>",
"terminal": "<terminal>"
},
"name": "get_trade_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vps | Yes | Nome amichevole della VPS in rubrica (es. "ftmo") | |
| terminal | Yes | Nome corto del terminale, ottenuto da list_terminals | |
| days | No | Numero di giorni di storico (default: 30) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |