Practical guides

How to set up OCO orders on LBank spot

An OCO links two alternatives for a spot trade. It can combine a lower-price purchase with a purchase after a rise, or a target sale with a defensive exit. Linking avoids leaving both alternatives independent, but does not guarantee an execution price.

GuideUpdated:
Compass with safety, costs and products
Clear informationCriteria explained plainly.
In-depth analysisEach factor considered separately.
Educational approachDesigned to help you understand.
For different needsYour needs shape the choice.

What to check first

An OCO links two alternatives for a spot trade. It can combine a lower-price purchase with a purchase after a rise, or a target sale with a defensive exit. Linking avoids leaving both alternatives independent, but does not guarantee an execution price.

1. Open OCO in the correct spot market

You need spendable funds to buy or available coins to sell, rather than a futures position.

On the website, open Trade, Spot and your chosen pair, then select OCO in the order form. The documented app route runs through Markets, Spot, the pair and Buy or Sell before selecting OCO. Check the base asset, quote currency and direction. Selling requires the asset being delivered; holding USDT does not let you sell a coin you have not bought.

Our LBank review places this tool among its spot functions. If you need the basics of balances, pairs and fills, first read spot buying and selling. This tutorial focuses on the linked branches: it is not copy trading, a grid or protection for a leveraged contract. Review the selected pair’s conditions before committing real quantities.

2. Understand limit, trigger and execution

An OCO combines a limit order with a stop branch using limit or market execution.

OCO fields
FieldPurpose
LimitPrice of the branch resting on the book.
TriggerLevel activating the stop branch; not a guaranteed fill.
StopActivated branch’s limit price or market execution.
QuantityAsset size or amount as required by the form.

Under LBank’s documented mechanism, execution or triggering of one branch automatically cancels the other. Manually cancelling one also cancels its linked order. Protection therefore does not always wait for a complete fill: a triggered stop can leave its limit order unfilled after the alternative has already been removed. Inspect both branches after any trigger.

Stop-limit sets the limit price of the order released after triggering; stop-market seeks execution against available liquidity and can slip. The former controls the acceptable limit, not certainty of exit. The latter does not fix the final price. Market and limit orders explains that distinction separately from the level activating the condition.

3. Sell example: target and defensive exit

Assume you own one unit of an asset hypothetically priced at 100 USDT.

  • Select Sell and OCO. Set the limit-sale branch to USDT 120.
  • Use USDT 90 as the stop trigger. For this stop-limit example, set the execution limit to USDT 89.
  • Enter one unit and review the summary, available balance and pair conditions before submission.
  • If the stop triggers, inspect cancellation of the sale at 120 and the limit order at 89. Do not assume triggering means a completed sale.

If the market jumps from 91 to 85, triggering at 90 does not guarantee a sale at 89. A sell limit at 89 refuses a lower execution price and can remain open. The other branch may already have been cancelled when the stop triggered. These are teaching figures, not a recommended strategy or current token conditions. Choose levels and size you are prepared to manage.

4. Buy example: pullback or breakout

A buy OCO handles alternative entry scenarios, rather than guaranteeing two purchases.

With a hypothetical price of USDT 100, set a buy limit at 90 and a buy trigger at 110. For stop-limit, this example uses 111 as the activated purchase limit. Enter the quantity and check the funds the form needs to reserve. Do not assume twice the capital is required or that money already reserved for another order remains available.

If the price falls and the limit purchase fills, the breakout branch is cancelled through the linkage. If it rises and triggers the stop, check whether the purchase fills within the 111 limit; a jump above it can leave the order pending. With stop-market, execution depends on available orders. Choose the mode for its behaviour, not because a label suggests it is always cheaper.

After a purchase, verify received quantity and fees before preparing a new sell OCO. Do not reuse the previous size without checking: fees, partial fills or an already sold balance can change available quantity. If the market needs funding first, depositing USDT on LBank covers the incoming movement.

5. Inspect orders, cancellations and costs

Fill history tells you more than the initial submission message.

On the website, inspect Open Orders and Order Center; in the app, use Trade and Orders. Distinguish pending, triggered and cancelled branches from actual fills. After a partial fill, inspect executed quantity and the remainder before placing another order. Requested quantity is not completed quantity, and cancellation does not reverse earlier fills.

An execution fee depends on the market and applicable spot conditions for the account and fill. A limit price alone does not prove every fill will be maker. A cancelled branch is not another completed purchase. Total cost separates trading from deposits and withdrawals; OCO does not make those movements free.

6. Resolve rejections and inspect remaining exposure

Submission rejection and a triggered but unfilled stop are different problems.

If submission is rejected, check price relationships: in the buy example the limit lies below current price and the trigger above it; selling reverses that relationship. Also check pair precision, minimum size and free funds rather than assuming a universal minimum. Verify that the screen is spot and the function is offered for that market, not a futures screen with similar fields.

After triggering, inspect the book and resulting branch before cancelling or replacing it. Resubmitting a complete OCO without checking exposure can create orders inconsistent with the balance you intended to keep. To distinguish manual order management from automation, LBank Futures Grid covers a separate product with its own capital and positions, rather than an extension of spot OCO.

Final checklist

Review these points before taking the next step.

  • Correct spot pair and direction.
  • Sufficient free funds under the form.
  • Consistent limit and trigger levels.
  • Stop-limit or stop-market deliberately selected.
  • Size and precision checked.
  • Both branches and fills checked afterwards.

Common mistakes

Small checks for a more considered decision.

Trigger confused with sale

A stop-limit can remain open after cancelling its alternative.

Cancelling as if no fills occurred

Cancellation affects outstanding orders, not completed executions.

Reusing the previous size

Check fees, partial fills and spendable balance before another order.

FAQs

Does OCO guarantee a stop-loss exit?

It guarantees neither execution nor final price. Stop-limit can remain unfilled and stop-market can slip.

When is the other branch cancelled?

The documented mechanism covers execution or triggering of a branch. Inspect states because triggering does not necessarily mean a complete fill.

Can I use OCO to buy?

Yes. Configure a buy limit and alternative stop purchase, checking price relationships and available funds.

Does cancelling one branch preserve the other?

Manual cancellation also cancels its linked order under the documented behaviour. Check both afterwards.