get_open_positions
Retrieve open positions from a specified MetaTrader 5 terminal on a remote VPS, including details like ticket, symbol, volume, prices, and profit.
Instructions
Ritorna le posizioni aperte sul terminale specificato. Ogni posizione include: ticket, symbol, type (buy/sell), volume, open_price, current_price, sl, tp, profit, swap, open_time, comment, magic.
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_open_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vps | Yes | Nome amichevole della VPS in rubrica (es. "ftmo") | |
| terminal | Yes | Nome corto del terminale (es. "mt5_5"), ottenuto da list_terminals |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |