An order form expresses an intention, but the result depends on the selected market, position mode, order type, trigger reference, available liquidity and what happens after a partial fill or connection failure. A stop-loss can trigger without filling at the trigger price, a limit order can remain open, and an ordinary closing order can increase or reverse exposure if the side or position mode is misunderstood. This playbook explains how to prepare, place, verify and exit OKX orders without treating interface labels as guarantees.
Last reviewed: October 19, 2026. OKX products, order types, interface labels, position modes and regional availability can change. Some features described here may not be available for every customer or jurisdiction. Confirm current behavior in the official OKX Help Center and practice in demo trading before using real funds. This independent guide is educational and is not financial, legal or investment advice.
1. Order intent is not the final execution
A user may intend to buy one unit, close a long or stop a loss, but the exchange processes explicit instructions. The result can differ because the order is partially filled, liquidity moves, a trigger creates a separate order or the selected position side is not what the user assumed.
Operational safety means translating the intention into the correct instruction and verifying the exchange state afterward. The confirmation screen is a checkpoint, not proof of the final fill.
2. Start with the exact instrument
BTC/USDT spot, a USDT-margined perpetual and a dated futures contract are different instruments. They can have different contract values, minimum sizes, margin requirements, funding or expiry behavior. Similar symbols do not make them interchangeable.
- Confirm spot, margin, perpetual or futures.
- Check base and quote asset.
- Confirm settlement or margin currency.
- Check contract size and expiry where applicable.
- Verify the selected account and regional product.
3. Understand base and quote amounts
In a spot pair such as BTC/USDT, BTC is the base asset and USDT is the quote asset. An amount field may represent base units, quote value or a percentage of the available balance depending on the interface and order type. Read the unit next to the field rather than relying on memory.
For derivatives, quantity may be expressed through contracts with a defined face value. Confirm the estimated notional exposure before submitting.
4. Check minimum size, tick size and precision
Markets impose minimum quantities and price increments. Rounding can make a proposed order smaller or larger than intended, and a remaining partial quantity may fall below the minimum. Review the displayed final amount after the interface applies precision rules.
Never increase leverage or order size merely to bypass a minimum. If the minimum is inappropriate for the risk budget, do not trade that instrument.
5. Separate account mode, position mode and margin mode
| Setting | What it controls | Typical mistake |
|---|---|---|
| Account mode | Broader product and collateral behavior | Assuming balances are isolated when they are shared |
| Position mode | One-way versus separate long and short sides | Closing the wrong side or opening a hedge unintentionally |
| Margin mode | Cross or isolated collateral for a position | Exposing more collateral than intended |
| Order type | How and when execution may occur | Expecting a limit order to fill immediately |
The separate One Crypto Library account-modes guide explains the broader architecture. This article focuses on how those settings affect order execution.
6. One-way mode
In one-way mode, trades on the same contract contribute to one net position. An opposite-side order can reduce, close and then reverse the position if its executed size exceeds the current exposure and no protective restriction prevents it.
Before closing, compare the order quantity with the live position quantity rather than the original entry size. Partial closes, fees and earlier fills may have changed the position.
7. Hedge mode
Hedge mode allows separate long and short positions on the same contract where supported. An order must address the intended side. A sell instruction that the user expects to close a long can instead open or add to a short if the position-side selection is wrong.
OKX notes that switching modes can require no open positions and may require strategy reconfiguration. Treat a mode change as an operational migration, not a cosmetic preference.
8. Build a pre-order ticket
For material orders, write a short non-secret ticket before pressing confirm:
- Instrument and market type.
- Buy or sell.
- Open, reduce or close intent.
- One-way or hedge position side.
- Cross or isolated margin.
- Quantity and maximum notional exposure.
- Order type and price.
- Trigger reference and exit plan.
This prevents the interface from becoming the place where the strategy is invented under time pressure.
9. Market orders prioritize execution, not price
A market order consumes available liquidity from the order book. It may fill across several prices, particularly when the order is large relative to depth or the market is moving. The displayed last price is not a guaranteed fill.
Use market orders only when the urgency of execution justifies uncertain price. Check the estimated impact, spread and depth first. A market order can reduce delay risk while increasing slippage risk.
10. Slippage and order-book depth
Slippage is the difference between the expected reference and actual average execution. It can arise because better levels contain insufficient quantity or disappear before matching. Volatility, thin markets and large orders increase the risk.
Inspect the order book across enough levels to cover the intended quantity. The top bid or ask shows only the best available level, not the price for the entire order.
11. Limit orders control price but not completion
A buy limit states the maximum price the user will pay; a sell limit states the minimum price accepted. It can fill at that price or better, but it may remain unfilled if the market never reaches it or if earlier orders have priority.
A limit order is not automatically passive. If its price crosses available liquidity, it can execute immediately as a taker unless post-only behavior is selected.
12. Partial fills
A limit order can fill in several pieces. The interface may show an average price, executed quantity and remaining quantity. Do not assume “partially filled” means the rest was cancelled.
- Confirm the filled quantity.
- Confirm the remaining open quantity.
- Check the average fill price and fees.
- Decide whether to leave, amend or cancel the remainder.
- Update TP/SL quantities to the actual position.
13. Post-only orders
Post-only is designed to ensure an order is added to the book as a maker order. OKX explains that if it would immediately match an existing order, it is cancelled instead. This behavior prevents unintended taker execution but does not guarantee the order will later fill.
After submission, verify the order exists in the open-order list. A cancelled post-only order does not create market exposure simply because the confirm button was pressed.
14. Fill or Kill
A Fill or Kill order must fill the full requested quantity immediately or be cancelled entirely. It can be useful when a partial position would break the intended operation, but it may fail in a shallow market.
Do not repeatedly resubmit an FOK order without reassessing liquidity. Repeated attempts can execute at a later moment under conditions different from the original decision.
15. Immediate or Cancel
An Immediate or Cancel order fills whatever quantity is immediately available within its limit and cancels the remainder. It differs from FOK because partial execution is permitted.
Always check the actual filled amount. Downstream hedges, transfers or exit orders based on the requested quantity can be too large after a partial IOC fill.
16. Order-type comparison
| Order type | Primary control | Main failure assumption |
|---|---|---|
| Market | Immediate execution attempt | Expected price is guaranteed |
| Limit | Worst acceptable price | Execution is guaranteed |
| Post-only | Maker-only placement | Submission means the order remained open |
| FOK | Full immediate quantity or none | Some quantity may remain open |
| IOC | Immediate available quantity | The requested size filled completely |
| Trigger market | Activation level, then market execution | Fill equals trigger price |
| Trigger limit | Activation and limit price | Triggered means filled |
17. Trigger price is an activation condition
A trigger order is not active in the order book like a normal resting limit order. When the selected price reference reaches the trigger level, the system submits the configured market or limit instruction.
Separate three questions: what price is monitored, what level activates the order and what instruction is submitted afterward.
18. Trigger-to-market
A trigger-to-market instruction favors execution after activation but can fill away from the trigger during gaps or fast movement. Trigger price is not a guaranteed sale or purchase price.
Review potential slippage and liquidity. A tight stop in a thin market can produce a materially different average exit.
19. Trigger-to-limit
A trigger-to-limit instruction creates a limit order after activation. The limit constrains execution price but can leave the position open if the market moves beyond it without matching.
Choose the relationship between trigger and limit deliberately. If both are identical in a rapidly falling market, a sell limit may appear only after bids have already moved below it.
20. Last price
Last price is the price of the most recent executed trade in the selected market. It often drives the default chart. A brief trade can reach a level even when mark or index price does not.
A stop watching last price can trigger based on activity visible in that order book. Compare the trigger type with the chart before claiming that the order activated incorrectly.
21. Mark price
OKX describes mark price as a reference used for unrealized PnL and liquidation-related calculations in derivatives. It is designed to reduce reliance on a momentary abnormal trade.
If a TP/SL watches mark price while the chart shows last price, the visible candle and trigger timing can differ. Neither display alone proves an error.
22. Index price
Index price is derived from external spot-market sources according to the product’s methodology. It represents a broader reference rather than the latest trade in the selected contract.
Choose index price only when that is the intended risk reference. Verify whether the product and regional interface offer it for the selected order.
23. Trigger-reference checklist
- Which price does the chart display?
- Which price does the trigger watch?
- Is the order for a long or short position?
- Will activation create a market or limit order?
- What happens during a price gap?
- Can the resulting order remain unfilled?
24. Take Profit and Stop Loss
Take Profit and Stop Loss define conditional exits, but labels do not guarantee profitable or limited outcomes. A TP can fill partially; an SL can suffer slippage; a trigger-limit stop can remain open.
Set the levels from a documented risk plan, select the intended price reference and verify order quantities after the entry fills. An attached exit based on a requested entry size may need adjustment after partial execution.
25. OCO orders
One-Cancels-the-Other links two orders so that execution or activation of one cancels the other according to platform rules. OKX documents TP and SL as a paired OCO workflow in supported interfaces.
Verify both legs, quantities, trigger types and cancellation state. During unusual execution or manual position changes, do not assume the unused leg disappeared without checking.
26. Stop-loss does not guarantee the stop price
With a market exit, the stop level initiates execution at available prices. During a gap, outage or shallow book, the average fill can be worse. With a limit exit, price is constrained but completion is uncertain.
27. Trailing stops
A trailing stop moves its effective trigger as the market travels in the favorable direction and activates after a reversal by the configured percentage or amount. It does not move backward to give the position more room after an adverse move.
Understand whether the distance is a percentage or constant value. A parameter reasonable for BTC may be unsuitable for a low-priced volatile token.
28. Activation price for a trailing stop
OKX explains that an optional activation price delays tracking until the latest price reaches the chosen level. Without one, the trailing mechanism can begin immediately after placement.
Check whether the activation condition was met before interpreting the trailing level. Record the starting reference and current high or low used by the mechanism.
29. Reduce-only
A reduce-only instruction is designed to reduce an existing derivatives position rather than increase or reverse exposure. It is especially important when placing closing orders that could remain after the position changes.
Availability and behavior depend on product and position mode. Confirm that the order displays reduce-only status and that its quantity does not exceed the live reducible position.
30. Why an ordinary close can reverse a position
Suppose a long position is partially closed manually while an older sell order remains for the original size. If that order later executes without reduce-only protection, it may close the remaining long and create a short for the excess quantity in one-way mode.
After every manual adjustment, audit all open and conditional exits. Do not assume their sizes update automatically.
31. Cross and isolated margin in execution safety
Cross margin can share eligible collateral across positions, while isolated margin limits collateral to a position or defined scope. This changes what may be affected when an order creates exposure or a position moves adversely.
Confirm margin mode before entry. A correct order type cannot compensate for an unintended collateral scope.
32. Leverage changes notional exposure
Leverage reduces the initial margin required relative to notional position size; it does not reduce the size of the market exposure. Small price movement can create large equity change and bring liquidation closer.
Calculate position risk from notional size and exit behavior, not only the margin displayed on the confirmation screen.
33. Liquidation is not a stop-loss
Liquidation is a platform risk process triggered when equity no longer satisfies maintenance requirements and estimated fees under applicable rules. It is not a planned exit and can involve worse outcomes, additional costs or partial mechanisms.
A stop placed beyond the effective liquidation threshold may never protect the position. Review estimated liquidation information after entry and after collateral or position changes.
34. Open orders, conditional orders and positions are separate
An interface may place normal limit orders, trigger/algo orders and active positions in different tabs. Looking at only one list can create a false belief that no exposure remains.
- Review active positions.
- Review normal open orders.
- Review trigger, TP/SL, OCO and trailing orders.
- Review recent fills and cancellations.
- Review margin liabilities where relevant.
35. Attached exits after partial entry
An entry may fill only part of its requested quantity. Confirm how OKX sized the attached TP/SL and whether it covers the filled portion, requested portion or a position percentage. Interface behavior may vary by product.
Never place a second full-size exit without checking the first. Two valid closing instructions can conflict or exceed the intended exposure.
36. Manual closes can leave conditional orders
Closing a position manually may cancel some attached exits according to product behavior, but standalone trigger orders can remain. A later trigger could open new exposure.
After a manual close, verify that the position is zero and cancel any obsolete conditional instructions. Then check the order history for fills that occurred during the process.
37. Cancel request does not undo a fill
A cancellation and execution can race. By the time the cancellation reaches the exchange, part or all of the order may already have filled. “Cancel submitted” is not the same as “order cancelled.”
Wait for final status and inspect fills. Update the position and exit plan using executed quantity, not the quantity the user hoped to cancel.
38. Connection timeout after submission
A timeout means the response is unknown; it does not prove rejection. Immediately repeating the order can produce a duplicate. Reconnect and check open orders, history and positions before submitting again.
For automated systems, use unique client order identifiers and reconciliation logic where supported. For manual trading, pause long enough to confirm exchange state.
39. Verify the fill, not only the notification
A push notification can be delayed, grouped or incomplete. The order and fill history should show the definitive status, execution quantities, prices and fees.
- Confirm order status.
- Read total filled and remaining quantities.
- Check average execution price.
- Review fee asset and amount.
- Confirm the resulting balance or position.
- Verify related exits remain appropriate.
40. Fees and break-even price
Entry and exit fees affect realized results. Funding, borrowing interest and conversion costs can matter as well. A price returning to the displayed entry does not necessarily produce a zero net result.
Use actual fills and charged fees when calculating break-even. Maker status should be confirmed from execution records rather than assumed from a submitted limit order.
41. Funding and ongoing position costs
Perpetual positions can exchange funding payments at scheduled times under current product rules. Funding can be paid or received and may change while the position remains open.
An order-execution plan should account for the holding period and funding schedule. A successful entry can still become expensive to maintain.
42. Emergency exit sequence
- Stop creating new orders or disable the bot.
- Confirm the exact instrument and account.
- Identify one-way or hedge mode.
- Read the live long and short quantities.
- Review normal and conditional open orders.
- Cancel obsolete entry orders.
- Choose an exit method appropriate to liquidity.
- Use reduce-only where supported and applicable.
- Confirm fills and remaining exposure.
- Cancel residual TP/SL or trigger orders.
- Review liabilities, collateral and history.
43. Market exit versus controlled limit exit
A market exit seeks speed but can experience slippage. A limit exit controls price but can fail to complete. During a rapidly worsening risk event, waiting for an ideal price may leave exposure open; in a thin market, a large market exit may create severe impact.
The choice depends on urgency, liquidity and maximum acceptable execution uncertainty. This guide cannot decide that trade-off for an individual position.
44. Check system status and preserve evidence
If orders behave unexpectedly, check official OKX service-status and support channels. Capture non-secret order IDs, timestamps, instrument, status and error messages. Do not publish account identifiers or authentication information.
Preserve screenshots only after masking sensitive information. A support case should describe observable facts rather than assumptions about profit or fault.
45. Practice workflow before live trading
Use demo trading to learn where order type, position mode, TP/SL and history controls appear. Practice partial fills conceptually, cancellation, mode checks and emergency exits. Demo behavior cannot fully reproduce live liquidity, slippage or stress, but it reduces interface mistakes.
When moving live, begin with the smallest practical size and repeat the verification checklist. Do not scale several dimensions—capital, leverage and strategy complexity—at once.
46. Troubleshooting order outcomes
| Symptom | Likely explanation | First check |
|---|---|---|
| Market fill differs from screen price | Spread, depth and slippage | Individual fills and order book |
| Limit remains open | Market did not match the price or queue priority | Remaining quantity and current book |
| Post-only vanished | It would have executed immediately and was cancelled | Order history and cancellation reason |
| Trigger fired but no exit | Triggered limit order remains unfilled | Algo history and resulting open order |
| Stop appears early or late | Different last, mark or index reference | Selected trigger-price type |
| Position reversed | Excess close size, wrong side or missing reduce-only | Position mode and fills |
| Cancel did not prevent a fill | Execution occurred before cancellation finalized | Fill timestamps and final status |
| Trailing stop did not track yet | Activation price was not reached | Activation and current reference |
47. Final pre-order checklist
- The exact instrument and market type are correct.
- Base, quote, settlement and contract units are understood.
- Account, margin and position modes are intentional.
- Order quantity matches the risk budget.
- Market impact or limit non-execution risk is acceptable.
- Post-only, FOK or IOC behavior is understood if selected.
- The trigger watches the intended last, mark or index price.
- Trigger order type and execution price behavior are understood.
- TP/SL quantity matches expected filled exposure.
- Reduce-only is enabled for a closing order where appropriate.
- Liquidation is not being used as the exit plan.
- A connection-failure and emergency-exit procedure exists.
48. Final post-order checklist
- Final order status has been confirmed.
- Filled and remaining quantities are known.
- Average price and fees were reviewed.
- The resulting long or short position is correct.
- TP/SL and trailing orders cover only the intended exposure.
- Obsolete entry and exit orders were cancelled.
- Margin, leverage and liquidation information remain acceptable.
- Order IDs and material decisions were recorded.
Frequently asked questions
Does a stop-loss guarantee my exit price?
No. A market stop can slip after triggering, while a limit stop may not fill. The trigger level determines activation, not a guaranteed execution.
Why was my post-only order cancelled?
If it would immediately match an existing order, OKX cancels it to preserve maker-only behavior. Check order history and choose a non-crossing price if appropriate.
What is the difference between FOK and IOC?
FOK requires the entire quantity to fill immediately or none fills. IOC permits an immediate partial fill and cancels the remaining quantity.
Why did my stop trigger when the chart did not reach it?
The stop may have watched mark or index price while the chart displayed last price. Check the trigger-price type and corresponding price history.
Can reduce-only guarantee that I close the correct hedge side?
It helps prevent increasing exposure, but the position-side selection and product rules still matter. Confirm one-way or hedge mode and the targeted side.
Why is a position still open after TP executed?
The TP may have covered only part of the position or filled partially. Review filled quantity, remaining position and any other exit instructions.
Should I repeat an order after a timeout?
Not until you verify whether the first order was accepted. Check open orders, history, fills and the resulting position to avoid duplication.
Related One Crypto Library guides
- OKX First-Day Setup: Identity Verification, 2FA and Withdrawal Safeguards
- OKX Demo Trading Lab: Practice Spot, Futures and Trading Bots
- OKX Account Modes: Spot, Futures, Margin and Portfolio Risk
- OKX P2P Safety: Payment Proof, Crypto Release and Disputes
- OKX Exchange vs OKX Wallet: Keys, Costs and Recovery
Official OKX order and position resources
Use current first-party instructions because order types and regional availability can differ. Verify the OKX domain and never share a password, passkey, authenticator code or API secret with someone claiming to be support.
- OKX — Official Learn Blog — current educational and product material.
- OKX Help — Trading With Different Order Types — market, limit, TP/SL, post-only, FOK, IOC, trailing stop and trigger orders.
- OKX Help — TP/SL With a Limit Order — TP, SL, OCO, trigger levels and limit-order workflow.
- OKX Help — Limit Orders and Trigger Execution — order-book execution and why trigger price can differ from fill price.
- OKX Help — Mark Price and Last Price — derivatives price references, unrealized PnL and liquidation context.
- OKX Help — Modify TP/SL and Select a Trigger Price Type — last, mark and index trigger references.
- OKX Help — Trailing Stop Orders — activation price, percentage, constant variance and cancellation.
- OKX Help — One-Way and Hedge Position Modes — separate long and short positions and mode switching.
- OKX API Documentation — Orders and Algo Orders — technical order parameters, trigger types and reduce-only behavior.