Closing or cancelling a trade
Closing a trade in the bot is one action for two situations: if the position is already open, the bot closes it at market; if nothing has been filled yet, it simply removes the entry orders. In both cases the bot cancels the remaining orders itself and sends a final summary.
Where it is in the bot
🏠 Home → 💼 Trades → the trade → the ⛔ Close all (the whole trade) and ✂️ Close part buttons. The ⛔ Close all button on the list screen itself closes all open trades at once. Moving the stop to the market price is done in the app: 📊 Chart and details → the Controls block → SL to market. While a trade has an execution error, its card in the bot shows 🔁 Retry execution instead of the close buttons.
On the website and in the app: the trade card → the Controls block → Close trade, Close part, SL to market; Close all is there too. The checks and the final messages are the same as in the bot. See Trades on the website.
How it works
Closing one trade
- In the card press ⛔ Close all.
- The bot asks: “⛔ Close the trade?” — it will cancel the trade's orders and close the position with a market order at the current price → Yes.
- The answer: “✅ The command to close the trade has been sent.” and “⏳ Cancellation request accepted. The result will arrive in a separate message.”
- The notification bot receives the trade result headed “⏹ Trade cancelled”; if the position was open, right below the header there is the line “💰 Result: …”.
The bot cancels the entry orders, places a market order for the open position of this trade and removes the take-profits and the stop. In the history (in the app) the trade is marked “Closed manually”, and if there was no position yet — “Cancelled”.
On futures the bot closes only the volume of this trade. If you opened a position by hand on the same account, on the same pair and in the same direction, the exchange merges it with the trade's position into one — but the bot closes only its own part, leaves yours and tells you so in a line: “ℹ️ Your LONG position of 0.2 BTC opened outside this trade remains on the exchange — the bot did not touch it. It has no stop-loss from the bot.” If you have already closed part of the position yourself, the bot closes what is left.
On spot the bot sells only the coins of this trade. If the same account holds coins of the same currency that you bought by hand or with another trade, they stay in your account, and the bot tells you so in a line: “ℹ️ Your 1000 GPS bought outside this trade remain in your account — the bot did not touch them.” Very small remainders (below the exchange minimum order) are not mentioned in this line.
Closing partially
- ✂️ Close part → “✂️ Close part of the trade — choose a share of the position:” and the line “Trade position: 0.02”. The buttons are shares of the position with the volume: 1%, 5%, 10%, 25%, 50%, 75%, 100%, for example “25% (0.005 qty)”. Shares smaller than the exchange quantity step are not shown.
- The bot asks “✂️ Close part of the trade?” and shows “Will close: 0.005 qty” → Confirm.
- The card shows “Partial close: success”, “Request sent to exchange (0.005 qty).” and “Execution status will arrive as a separate notification.”
- The outcome is “✅ Partial close completed”. The stop and the targets are recalculated for the remainder.
The ✂️ Close part button is there once the entry has been filled. In the app the share can be any number from 1 to 100 % — the Controls block → Close part.
Moving the stop to the market
In the app: 📊 Chart and details → Controls → SL to market. “The stop-loss moves to the current market price: if the price goes against the position, it closes almost immediately.” Until then the position stays open and under control. The result: “✅ Success. Move Stop Loss to market price: Stop Loss moved”.
Closing all trades
⛔ Close all on the 💼 Trades screen → “⛔ Close all open trades?” — for each trade the bot will cancel its orders and close the position with a market order at the current price → Yes → “✅ The command to close all trades has been sent.” and “⏳ Request to cancel all trades accepted. Results will arrive in separate messages.”
What is important to know
- A close at market is filled at the current price, not at your target.
- On spot, “dust” may be left after the close — a remainder smaller than the minimum order of the exchange. The bot says so and stops tracking the trade; the remainder is sold through the small balance conversion (Convert) on the exchange — see Dust on spot.
- If you closed the position by hand on the exchange, the bot notices it itself: “ℹ️ Position closed manually on the exchange. Finishing the trade: cancelling remaining orders and recording the result.”
Limits and allowed values
| Parameter | Value |
|---|---|
| Partial close | Only with an open position; in the bot — shares of 1, 5, 10, 25, 50, 75 or 100 %; the remainder is not less than the minimum order of the exchange |
| The minimum order of the exchange | ≈5 USDT (≈5 USDC for USDC pairs) — a smaller remainder is not accepted for selling |
| Closing all trades | Market orders on all open trades, with a confirmation |
Common errors and what the bot says
- “⚠️ Cannot perform partial close: no open position” — the entries have not been filled yet; use ⛔ Close all.
- “Cannot close 0.8: position is only 0.5” / “Remaining position is too small” — reduce the share or close everything.
- “ℹ️ The trade is closed. 0.0004 BTC remain on the exchange — this amount is below the exchange minimum order (≈5 USDT), so it cannot be sold. The coins stay in your account: sell them via small balance conversion (Convert) or wait for the price to rise. The bot no longer tracks this trade.”
- “ℹ️ Your 1000 GPS bought outside this trade remain in your account — the bot did not touch them.” — not an error: on spot the close sells only the trade's coins, your own stay in the account.
- “ℹ️ Your LONG position of 0.2 BTC opened outside this trade remains on the exchange — the bot did not touch it. It has no stop-loss from the bot.” — not an error: on futures the close closes only the trade's volume, your manual position on the same pair stays. Close it yourself when you decide, or put your own stop on it.
- “⚠️ The trade was cancelled, but the exchange rejected the cancellation of some orders — details below. Check your open orders in the exchange app.”
- “⏳ The exchange did not confirm the closing order: no answer arrived, or the exchange itself does not know its result yet. The bot will check this order by its number and send the outcome in a separate message. Until then, please do not close the position manually.” — not an error: the exchange may fill such an order a moment later. The bot checks it in about half a minute. If it was filled, the trade result arrives; if the exchange does not know such an order, the bot closes the trade's position again (a DCA bot reports “failed to close the position” instead — then you close it yourself). Do not sell manually before the outcome: if the order gets filled, your manual sale would be a second one.
- “⚠️ The exchange never confirmed whether the closing order of this trade was filled, and the automatic check gave no result. Open the position in the exchange app: if it is still open, close it manually and contact support; if it is already closed, nothing needs to be done.” — the bot could not learn the order's outcome from the exchange several times; look at the position yourself before selling. After this message (and after “failed to close the position” for a DCA bot) the bot closes nothing more for this trade by itself — neither after its restart nor on late exchange events: closing is up to you. If an order sent earlier still gets filled or turns out unfilled, the bot reports the outcome. When you close the trade's position yourself, the bot notices it within 15 minutes and finishes the trade — you get its result.
- “ℹ️ The closing order of this trade that the exchange did not answer has been checked by its number: it was not filled, so the bot did not close the position with it. If you have already closed the position in the exchange app, nothing needs to be done; if not, close it there.” — the outcome of the order about which the bot earlier wrote “check the position”.
- “ℹ️ The trade is finished without a closing order: automatic closing had been stopped, and the bot leaves the position of the trade on the exchange (… by the bot records) to you — it does not touch it and keeps no protective orders on it. If you have not closed it yet, close it in the exchange app.” — a trade whose closing had already been handed over to you was finished by support (or stayed in “cancelling” for 14 days): the bot finished it on its side without placing orders. This way your manual position and your coins are not sold by a second order.
- “⏸ Automatic closing of the position of this trade is stopped…” — the same warning in the rare case when such a trade still had live orders: the bot places no closing order.
- “⚠️ Failed to close the position — your coins are still on the exchange without protective orders. Reason: … The bot will retry closing in about 10 minutes — please do not close the position manually for now. If the retries do not help, the bot will tell you what to do next.” — a signal trade: the bot retries the close itself (up to three attempts). Do not sell manually meanwhile: the retry closes the position of the trade and, if you had already sold yourself, it would hit your coins of the same currency or your position on the same pair.
- “⚠️ The retry to close the position failed. Reason: …” — the last attempt; next comes “⛔️ Automatic position closing failed…”.
- “✅ The position was closed after all: the retry succeeded, no coins are left on the exchange for this trade.” — the first attempt failed, the second one closed it.
- “⛔️ Automatic position closing failed after several attempts. Sell the remainder manually in the exchange app and contact support. If the exchange rejects it because the amount is too small, use the small balance conversion (Convert).” — after this the bot closes nothing more for this trade: closing is up to you.
- “⚠️ WARNING: failed to close the position — your coins REMAIN on the exchange without protective orders. Reason: … Sell the remainder manually in the exchange app and contact support: the trade stays in the "cancelling" state and can no longer be managed from the bot menu.” — this is what a DCA bot says (it has no retries) and a signal trade when the bot will not retry any more; after this the bot closes nothing more for this trade.
- “Closing order was not executed: the position is already closed or the remainder is too small. The trade state will be reconciled automatically.”
