OCO behaviour
A partial fill on one leg proportionally cancels the other leg’s quantity.Create a group
OTOCO bracket example
Entry: BUY LIMIT 1 @ 5800. On fill: SELL LIMIT 1 @ 5810 (TP) and SELL STOP 1 @ 5790 (SL), linked OCO.PENDING_TRIGGER until the entry fills.
Get a group
Cancel a group
Link two existing orders as OCO
These two routes are implemented on the Orders service but not yet present in the published OpenAPI spec.
- Belong to the same
account_id. - Be on the same
instrument_id. - Be in a non-terminal state.
- Not already be members of a group.
group_id.
Create an OCO companion for an existing order
group_id and the new companion order.

