place_one_cancels_all
Places a One-Cancels-All order group so filling any one order automatically cancels the others. Requires approval by default; re-call with confirm=true to transmit.
Instructions
Place One-Cancels-All (OCA) order group.
Approval-required by default; re-call with confirm=True to transmit, or set IBKR_MCP_AUTONOMOUS_EXECUTION=true to skip approval.
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": {
"orders": "<orders>",
"oca_group": "<oca_group>"
},
"name": "place_one_cancels_all"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orders | Yes | ||
| confirm | No | ||
| oca_type | No | ||
| oca_group | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||