List open positions
list_positionsRetrieve all open positions with entry price, current price, and floating profit. Provides read-only access to account positions for monitoring.
Instructions
Return every open position, with entry price, current price and floating profit.
Read only: this server can open, modify and close nothing. On the replay source the list is always empty and the payload carries synthetic=true.
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": "list_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of open positions. | |
| source | Yes | Data source that produced this list. | |
| positions | Yes | The open positions. | |
| synthetic | Yes | True when the positions are generated, not real. |