place_order
Place buy or sell orders through your connected broker using market, limit, stop, or stop_limit types, with optional time-in-force, take-profit, and stop-loss brackets.
Instructions
Place an order with the connected broker. Types: market, limit, stop, stop_limit. Optional TIF (DAY/WEEK/MONTH/GTD), take_profit / stop_loss brackets.
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": {
"side": "<side>",
"qty": "<qty>"
},
"name": "place_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | Yes | Quantity | |
| tif | No | Time in force (default varies by broker) | |
| side | Yes | Order side | |
| type | No | Order type (default market) | |
| price | No | Limit price (limit / stop_limit) | |
| symbol | No | Symbol (defaults to active chart symbol) | |
| stop_loss | No | Stop loss price | |
| stop_price | No | Stop price (stop / stop_limit) | |
| take_profit | No | Take profit price | |
| duration_datetime | No | Required for GTD: ISO date/time or unix ms |