OCO

This article describes the OCO (one cancels the other) functionality.

OCO is short for one-cancels-the-other.

Two entry orders for the same instrument can be linked to an OCO group. If one order in the group is executed, the other order is automatically canceled.

Possible OCO combinations

A maximum of two entry orders for the same instrument may be grouped in these combinations:

  • LIMIT BUY + LIMIT SELL
  • LIMIT BUY + STOP BUY
  • LIMIT SELL + STOP SELL
  • STOP BUY + STOP SELL

Grouping/ungrouping orders to OCO

Group to OCO

Desktop Platforms: Select both entry orders in the Orders tab > right-click > select Group to OCO from the menu

Mobile platforms: Go to Portfolio > Orders > select both entry orders > tap Group to OCO

Ungroup OCO

Desktop Platforms: Select one or both grouped orders in the Orders tab > right-click > select Ungroup OCO from the menu

Mobile platforms: Go to Portfolio > Orders > Select one or both grouped orders > tap Ungroup OCO

How to tell if orders are in an OCO group?

There are several ways to determine if an order belongs to an OCO group:

  • The Expiration column in the Orders tab displays expiration as OCO (in addition to the original expiration option of the order).
  • If a grouped order is selected, the other entry order in the group is highlighted.

Messages

The platform produces messages for grouping/ungrouping orders to an OCO group. Examples of such messages for successful operations are displayed below.

OCO grouped
2017-08-28 14:46:36 Orders: 142114168; 142114170 OCO GROUPED. Order ID: 142114172
OCO ungrouped
2017-08-28 14:47:56 Orders: 142114172 OCO UNGROUPED. Order ID: 142114233
The information on this web site is provided only as general information, which may be incomplete or outdated. Click here for full disclaimer.