5584
10 min

OCO (One-cancels-the-other) orders: everything at once

OCO (One-cancels-the-other) orders: everything at once

The crypto market offers traders a variety of trading tools to simplify and maximize the outcome of the trading process. Without a doubt, orders are the primary tool of a crypto trader.

However, profitable deals require constant monitoring and analyzing of the asset’s behavior. Due to the volatility of prices in the crypto market, you can lose income in a few seconds. That is why there are pending orders. They order an exchange to buy or sell an asset at a set price. The peculiarity of such orders is that they are executed automatically, even if the trader is not logged into his exchange account at the moment.

The next step in the development of pending orders was the OCO order, which allows dealing with downward and upward market movements simultaneously.

WhiteBit icon
Buy and sell cryptocurrency on WhiteBIT
Start trading crypto

What is an OCO order

OCO order is an interchangeable order that combines limit and stop-limit orders. When such an order is created, two orders are placed simultaneously:

  • the limit one allows for buying or selling an asset at a specified price;
  • the stop-limit order is activated when the price reaches the stop value and is executed at the specified limit price.

When placing an OCO order, it is important to consider the BBO (Best Bid and Offer) — the best bid and offer price in the stack. A limit order is executed only at the specified or best price, while a stop-limit order is activated when the stop price is reached. Still, its execution depends on the availability of liquidity in the stack. For example, if the market is volatile, a stop-limit order may not be executed immediately after activation, as its price may be worse than the current BBO.

OCO stands for One Cancel the Other. When placing such an order, one amount of funds or coins is reserved, and when one of the two orders is executed, the other is automatically canceled. Additionally, both commands within one OCO order are aimed only at buying or selling cryptocurrency.

Let’s consider an example of a customized OCO order on WhiteBIT. If the price of BTC drops to $86,500, the limit order will be executed and the asset will be bought at a more favorable price. If the market starts to rise and breaks the $88,500 level, the stop-limit order will be activated and the purchase will take place at $88,700 or the best available price. This strategy allows you to enter the trade either at a lower price, or when the key level is breached.

All Crypto Terms for Beginners: Basic Crypto Glossary
Related Article

All Crypto Terms for Beginners: Basic Crypto Glossary

Read the article

Pros and cons

OCO provides an opportunity to take care of profits and losses simultaneously, that is, to fix income when the price rises and reduce losses if the value of a coin or token drops. It means that a trader can set different prices for selling or buying within one order.

Another advantage is that in case with an OCO order, only one of the two orders will be executed. They are also both designed for the same volume of crypto. Such a mechanism eliminates the possibility of unforeseen expenses.

Like other pending orders, OCO does not require control and helps manage your time efficiently. In addition, using the risk-to-reward ratio, you can trade according to specific stop loss & take profit patterns (1:1, 2:1, etc.).

Experienced traders also apply OCO orders by targeting order blocks — key zones where large players (whales) have placed significant order volumes. For example, if the price is approaching a bullish order block, a trader can set an OCO order to catch the reversal: limit buy inside the zone, and stop-limit buy just below to protect against a breakout.

Yet, it has a couple of disadvantages as well. Both orders can only buy or sell an asset, and analysts believe it limits your potential earnings.

How to place an OCO order on WhiteBIT

On our exchange, you can either create an OCO order or use the stop loss and take profit (SL&TP) functions to modify an existing one.

When creating a new OCO order, remember that it can only be used to buy or sell an asset.

Log in to your exchange account. Go to the «Spot» tab in the Trading section of the top menu. Find the trading zone at the bottom of the page and select the «Stop-limit» option. In the dropdown list, choose OCO.

After the required terminal is opened, enter your data:

  • in the «Price» field, specify the price of the limit order;
  • in the «Stop price» field, set the activation price of your stop-limit order;
  • in the «Price» field, specify the execution price of your stop-limit order;
  • select the amount of the asset you want to purchase or sell.

When trading with leverage, you can modify already created orders using the SL&TP function. For this, open an already created order, activate this function, and set the parameters for selling or buying an asset.

Please note that activating the function impacts the entire order you want to modify. Two orders to buy or sell crypto will be created and placed when confirmed.

An example of an OCO buy order

Let’s see how an OCO order works on Bitcoin’s example. For instance, you want to buy 1 BTC for $14 000 while its current price is $15 000, and you also want to not miss a pump if it happens. So, you create an OCO order. In the “Price” field, you enter $14 000, and for a stop-limit order, in the “Stop Price” and “Price” fields, you enter $16 000.

If the BTC price rises, your stop-limit order will be executed, and the limit order will be canceled. But if the price of Bitcoin drops, the order will automatically be executed at $14 000, giving you an opportunity to buy BTC at a reduced price.

If the stop price and the execution price in the stop-limit order are the same, then the deal will be executed immediately after the stop price is reached. You must set the activation price slightly above the execution price for a stop-limit order.

An example of an OCO sell order

An OCO sell order helps to sell an asset at the best possible price. In this case, the limit price should be higher than the current market value, and the stop price in the stop-limit order should be lower than the current market one. If 1 Bitcoin is worth $15,000, the price of the limit order will be $16 000 (it will be executed at that price). The price and stop price within the stop-limit order in this case should be lower than the asset’s current worth. That will protect you from losses in the event of a market crash.

Where can I see my current OCO orders

Right after an OCO order is placed, you can see it below the trading area in the «Open orders» field. You can also delete the order from there. If one position out of two within one OCO order is deleted, the second one is automatically canceled.

WhiteBit icon
Simplify your investments with WhiteBIT Autoinvest
Start investing

Conclusion

That is everything you need to know for dealing with this order type. Despite some subtleties in using the OCO order, it is an indispensable tool for traders who want to automate the trading process and minimize losses. The cryptocurrency market requires much attention, and OCO orders allow avoiding unwanted fluctuations and saving your finances and time.

The information contained herein is for general information purposes and no responsibility is accepted for any predictions, errors or omissions. This material is general in nature and not financial advice or as a financial product. You should always seek independent financial advice that is directed to your specific situation.

To Share
Published by
Author: WhiteBIT AU WhiteBIT AU

Recent Articles

What is a White Paper in Crypto, and Why is it Important?

In the cryptocurrency realm, where innovation thrives and the future is forged, one term stands as a test...

What Is Etherscan and How to Use It

Sent a token on the Ethereum network and it hasn’t shown up yet? Wondering if something’s wrong with your...

Bitcoin Price History: 2009-2025

When Bitcoin first began its existence in 2009, few could have predicted that its price would one day rea...

Understanding Crypto Cycle: A Practical Guide for Traders

The cryptocurrency market is constantly evolving — it moves in cycles, with fluctuations at every turn. U...

What is Total Value Locked in Crypto (TVL): Everything You Need to Know

Have you ever wondered how the success of a DeFi project is determined? Why do some protocols raise billi...

More news

Go to the section
Beyond Bitcoin: Navigating the Ethereum ERC-20 Tokens

Imagine a world where contracts can be executed automatically without intermediaries or go-betweens. A wo...

What is Vesting in Crypto Meaning: A Detailed Guide

Unlocking all tokens at once may cause market disturbance, high volatility, and even major sell-offs. Tha...

What Is a Hard Fork in Cryptocurrency?

A revolution in the cryptocurrency world can start with the initiative of a small group of developers who...

What is Cryptography in Blockchain?

Cryptography — the practice of coding information—plays a vital role, especially in blockchain technology...

What Is Etherscan and How to Use It

Sent a token on the Ethereum network and it hasn’t shown up yet? Wondering if something’s wrong with your...