Will OKX TWAP Orders Continue Executing After Being Stopped Midway?
No.\u00a0Once a TWAP order is stopped midway, the filled portion counts, and the unfilled remainder will not be executed.
Let\u2019s break this mechanism down.
1. Understanding How TWAP Executes
TWAP (Time-Weighted Average Price) splits your large order into many small slices and places them at fixed time intervals. Each slice is an\u00a0IOC\u00a0(Immediate or Cancel) order \u2014 it either fills immediately, or any unfilled part is canceled right away and never rests on the order book.
Example: Your total order is 10,000 contracts. The system calculates it into 20 slices of 500 contracts each. In one slice, 500 contracts are placed, only 300 get filled, and the remaining 200 are immediately canceled \u2014 they won\u2019t sit on the order book waiting.
2. What Happens After You Stop the Strategy
When you click\u00a0\u201cStop Strategy\u201d\u00a0while it\u2019s running, the system immediately cancels all subsequent slices that haven\u2019t been executed yet. Any volume that has already been filled is yours, but stopping the strategy will not trigger extra fills.
Case A:\u00a0Manually stopping after a\u00a0 partial fill
- Suppose you planned to buy 10,000 contracts, and 3,000 have been filled so far, leaving 7,000 not yet placed. After you click stop, those remaining 7,000 contracts will not be executed.
- You only hold a position of 3,000 contracts. Those 3,000 are already yours \u2013 you can keep holding them or trade manually.
Case B:\u00a0Strategy pauses automatically due to a price limit trigger
- TWAP strategies have a\u00a0\u201cPrice limit\u201d\u00a0parameter. When the market price moves outside your set limit, the strategy pauses automatically.
- During the pause, no further slices are executed. If the price returns within the limit range, the strategy resumes and continues placing the remaining slices. Note: This is the only situation where execution continues after a pause, and it only applies when the strategy has\u00a0not\u00a0been manually stopped.
Case C:\u00a0Strategy reaches the set end time
- TWAP has an explicit\u00a0\u201cEnd time\u201d\u00a0parameter. When that time arrives, the strategy terminates regardless of how much has been filled.
- The unfilled portion will not be filled retroactively.
3. What Happens to the Unfilled Part After Stopping
Unfilled orders are not\u00a0\"re-queued\"\u00a0or\u00a0\"carried over to the next slice\". Each TWAP slice is independent. The volume that went unfilled in one slice does not roll over into the next slice.
Prerequisites
- Confirm that you are running a TWAP strategy, not an Iceberg order (the two mechanisms are different: an Iceberg order rests on the order book waiting to be filled, while TWAP actively takes liquidity on a schedule).
- Before stopping the strategy, check the current fill progress.
Common Mistakes
- Confusing \u201cpause\" with \u201cstop\": A TWAP pause may be triggered automatically because the price exceeds the limit; it can resume later when the price returns. Manually clicking \u201cStop Strategy\" is a permanent termination – these two are completely different.
- Trying to resume after stopping: Once you manually stop the strategy, it cannot be resumed. To continue trading you must create a brand new TWAP strategy from scratch with fresh parameters.
Risk Reminder
- Filled positions are not reversed after stopping: If the strategy was a buy, the already filled portion is now your position. After stopping, you need to manage that position yourself (stop-loss, take-profit, etc.) – the strategy won\u2019t handle it.
- Avoid frequent manual stops: TWAP is designed to reduce market impact. Frequently stopping and restarting mid-way can disrupt the intended execution rhythm and increase\u00a0 slippage\u00a0risk.
How to Confirm the Stop Is Complete
After stopping the strategy, go to\u00a0[Strategy Trading]\u00a0\u2013\u00a0[Running]\u00a0and verify that the strategy now shows\u00a0\u201cStopped\". Then check the\u00a0[Assets]\u00a0or\u00a0[Positions]\u00a0page to confirm the filled quantity and average price are correct. If you still need to buy or sell more, simply create a new TWAP strategy or place a manual order.
