order_place
Places a new Interactive Brokers order with side, quantity, order type, and a qualified contract while enforcing pre-trade risk guardrails such as quantity, notional, and symbol limits.
Instructions
Place a new order. Requires: side, quantity, order type, and a qualified contract. Enforces all guardrails (read-only check, max qty, max notional, allowed order types, symbol allowlist/denylist).
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>",
"quantity": "<quantity>",
"orderType": "<orderType>"
},
"name": "order_place"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tif | No | Time in force: DAY, GTC, IOC, FOK, OPG, DTC | |
| side | Yes | BUY or SELL | |
| conId | No | Contract ID (from contract_qualify) | |
| symbol | No | ||
| account | No | Account ID (for FA accounts) | |
| ocaType | No | ||
| secType | No | ||
| auxPrice | No | Aux/stop price (for STP, STP_LMT, TRAIL) | |
| currency | No | Currency (default: USD) | |
| exchange | No | Exchange (default: SMART) | |
| ocaGroup | No | ||
| parentId | No | ||
| quantity | Yes | Order quantity | |
| transmit | No | Transmit immediately (default: true). Set false to create without sending. | |
| orderType | Yes | LMT, MKT, STP, STP_LMT, MOC, LOC, MIT, TRAIL, etc. | |
| algoParams | No | ||
| limitPrice | No | Limit price (required for LMT, STP_LMT) | |
| outsideRth | No | Allow outside regular trading hours | |
| algoStrategy | No | ||
| goodTillDate | No | ||
| goodAfterTime | No | ||
| trailStopPrice | No | ||
| trailingPercent | No |