All Collections
Crypto.com Exchange
Trading
One-Cancels-the-Other (OCO) Orders
One-Cancels-the-Other (OCO) Orders

Learn how to place and cancel an OCO Order

Valery avatar
Written by Valery
Updated over a week ago

What is a One-Cancels-the-Other (OCO) Order?

A One-Cancels-the-Other (OCO) Order allows users to place two orders at the same time. Users are able to place a limit order with a stop order, and only one of them will be executed.

When either one of the above orders is executed, the other is automatically canceled. This allows users to take a profit while minimizing potential loss. The OCO order type is available for Spot trading pairs and Futures and Perpetual contracts only.

There are two types of OCO orders:

  • OCO Limit - Simultaneously places a Limit Order and Stop-Limit Order

  • OCO Market - Simultaneously places a Limit Order and Stop-Market Order

How do I place an OCO Order?

  1. Log in to the Crypto.com Exchange. Then, access a Spot trading pair or Perpetual or Futures contract you would like to trade. Tap on the order type arrow and select OCO Limit or OCO Market in the dropdown menu.
    Important: When Margin trading is toggled on, advanced order types will not be available. You have to toggle off Margin trading first in order to select advanced order types.

  2. To place an OCO Limit or Market order, you need to have a sufficient balance to support either the Limit Order (Leg 1) or Stop Order (Leg 2). The order value will be locked in when the OCO order is placed.

  1. OCO Order Input Fields:

Leg 1 (Limit Order)

  • Price: Enter the limit price of the Limit Order

    • For a BUY OCO Order: The Leg 1 Limit Price should be LESS than the mark price, with a minimum price buffer of 0.5%

    • For a SELL OCO Order: The Leg 1 Limit Price should be GREATER than the mark price, with a minimum price buffer of 0.5%

Leg 2 (for OCO Limit Orders)

  • Trigger: The price at which the Stop-Limit Order will be triggered. The trigger price should be at least 0.5% higher than the mark price.

  • Limit: The limit price of the Stop-Limit Order after the trigger price is reached.

    • For BUY OCO Orders: The Leg 2 Limit Price should be GREATER than the Leg 1 Limit Price

    • For SELL OCO Orders: The Leg 2 Limit Price should be LOWER than the Leg 1 Limit Price

OR

Leg 2 (for OCO Market Orders)

  • Trigger: The price at which the Stop-Market Order will be triggered. Once the trigger price is reached, the limit order in the first leg will be canceled. Then, the stop order in the second leg will be executed at the next available market price.

  1. Once all fields have been filled in, tap Buy/Sell

  2. The Leg 1 Limit Order can be found in the Open Orders tab and Leg 2 Stop Order can be found in the Trigger Orders tab. You can review these from the Trading UI or from the Dashboard Orders section.

How do I cancel an OCO Order?

  1. If there is an existing OCO order, you can tap Cancel on either leg from the Open Orders or Trigger Orders tabs. Both OCO Order legs (with the same OCO Order ID) will then be canceled at once.

Did this answer your question?