bracket_order
Place a linked parent entry with take-profit and stop-loss orders together to define exits and risk for an Interactive Brokers trade.
Instructions
Place a bracket order: parent + take-profit + stop-loss. All three orders are linked and submitted together.
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>",
"entryOrderType": "<entryOrderType>",
"takeProfitPrice": "<takeProfitPrice>",
"stopLossPrice": "<stopLossPrice>"
},
"name": "bracket_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tif | No | ||
| side | Yes | ||
| conId | No | ||
| symbol | No | ||
| account | No | ||
| secType | No | ||
| currency | No | ||
| exchange | No | ||
| quantity | Yes | ||
| transmit | No | ||
| outsideRth | No | ||
| stopLossPrice | Yes | Stop loss price | |
| entryOrderType | Yes | Entry order type (LMT, MKT) | |
| entryLimitPrice | No | Entry limit price | |
| takeProfitPrice | Yes | Take profit limit price |