create_order
Place a new cTrader order with validated volume, session-bound account ID, normalized order types, and full order state in the response.
Instructions
Create a new cTrader order.
This override ensures:
Account ID is always bound to the authenticated session
Volume is validated to be positive
Order type is normalized to cTrader protocol values
Response includes full order state
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>",
"order_type": "<order_type>",
"volume": "<volume>"
},
"name": "create_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | Trade side (BUY, SELL) | |
| price | No | Optional price for LIMIT/STOP orders | |
| symbol | Yes | The instrument symbol | |
| volume | Yes | Trade volume | |
| account_id | Yes | The cTrader account ID (from session) | |
| order_type | Yes | Order type (MARKET, LIMIT, STOP) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||