OCO Orders Explained: Take Profit and Stop Loss Together
An OCO order sets a take-profit price and a stop-loss price together. When one order fills, the other is automatically canceled. It is especially useful when you cannot watch the screen continuously.
What is an OCO order?
OCO stands for One-Cancels-the-Other. Two orders are placed as a pair, and the exchange automatically cancels the remaining order as soon as one fills.
In crypto trading, an OCO commonly combines a take-profit order with a stop-loss order. If price rises and the take-profit fills, the stop loss is canceled. If price falls and the stop loss fills, the take-profit is canceled. It is a tool for scheduling profit-taking and loss limitation together.
How simultaneous take-profit and stop-loss orders work
OCO combines two orders with different purposes.
| Feature | Take-profit side | Stop-loss side |
|---|---|---|
| Price direction | More favorable than the current price | Less favorable than the current price |
| Order type | Limit | Stop or stop-limit |
| Purpose | Secure the target profit | Define a loss limit |
Once one side fills, the position is closed. Leaving the other order active could cause an unintended new entry. OCO helps prevent that by canceling the remaining order automatically.
A concrete example
- Take-profit target: a limit sell at $63,000 (+5%).
- Stop-loss limit: a stop sell at $58,200 (-3%).
The risk-to-reward ratio in this example is a $1,800 potential loss against a $3,000 potential profit, or about 1:1.67. OCO reduces emotional reactions by fixing the target and limit numerically in advance.
When is it useful?
- When working or sleeping and unable to monitor the chart continuously.
- When preparing for both directions after entry in a volatile period, such as a volatility-breakout trade.
- When you want to define a trade's maximum intended loss in advance as part of capital management.
- For leveraged positions where a stop loss needs to be set before liquidation occurs.
Points to watch
- The stop price and eventual execution price may differ. Slippage during sharp rises or falls can result in a less favorable fill than the configured price.
- Specifications differ across exchanges and markets. Spot OCO orders and futures-position TP/SL mechanisms differ, and some impose quantity or price restrictions. Check how they work with a small amount first.
- Setting prices too close together can trigger frequent stops from temporary noise; setting them too far apart increases potential losses. Refer to a volatility indicator when choosing the distance.
- OCO is a tool for limiting losses, not guaranteeing profits. No order promises a profit, and every trade carries a risk of loss.
OCO is a practical tool that pairs and automates take-profit and stop-loss orders to support disciplined trading. It is safer to check the settings and exchange specifications yourself, then verify the behavior with a small amount before using it more broadly.
NOONOO TRADING invites you to follow live trading in our free chat.
Start in the bot📈 OKX trading fee discount for new registrations
Register for the OKX Fee Discount →