market_order
Execute buy or sell positions at current market price on a specified MT5 live account, with optional stop-loss and take-profit levels.
Instructions
Open a position at market. side: buy or sell. sl/tp are prices (0 = none). REAL order on a live account.
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": {
"account_id": "<account_id>",
"symbol": "<symbol>",
"side": "<side>",
"volume": "<volume>"
},
"name": "market_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sl | No | ||
| tp | No | ||
| side | Yes | ||
| symbol | Yes | ||
| volume | Yes | ||
| comment | No | ||
| account_id | Yes |