Skip to content

Restoring after failures ​

If the bot lost its connection to the exchange for a while, it checks every active trade against the exchange itself once the connection is back and sends you a report. Your orders stayed on the exchange all that time and kept working without it.

What it is ​

While there was no connection, something could have happened on the exchange: an entry filled, a take-profit or a stop triggered, or you closed the position yourself. The bot did not know about it. So the first thing it does after reconnecting is compare its own picture of the trade with what is really on the exchange, and put the trade in order.

What you will see ​

Every trade where something changed gets its own message — for example, “🔄 Sync after reconnection. Trade updates” with lines about the orders and the position. At the end comes a personal summary: the header “🔄 Sync after reconnection completed” and the line “ℹ️ Needs review: #…” with the numbers of your trades the bot could not put in order by itself. If there are no such trades, there is no summary — only the messages about the trades arrive.

Under the summary there is a button into the app: 📊 Open trade if it has one trade, or 💼 Trades if there are several (the list of trades opens). If you have blocked the notification bot, the summary does not arrive in Telegram — it still appears in the notification feed of the app, in the Trades section, see Notification feed and the bell.

The same happens after a restart of the bot itself, not only after a lost connection: the same trade notifications arrive, plus the personal summary.

What happened while there was no connectionWhat the bot does and what it writes
The entry order filledRecords the fill and keeps running the trade
An entry (averaging) order filled, but during the restart the exchange did not report the position size (a rare exchange failure)The fill is not recorded right away: the bot soon checks the trade again and, once the exchange answers, counts the entry in the trade position exactly once — the take-profits and the stop-loss are moved to the whole position. You get “🔎 Exchange check after the restart: order fills of the trade during the restart are now counted in its position.” and what was done. If the exchange never answered — “⚠️ The exchange check after the restart could not be completed: some order fills of the trade are not recorded…”: check the position, the take-profits and the stop-loss of the trade on the exchange
The entry order was cancelled by hand on the exchange“ℹ️ Entry order was cancelled on the exchange. There is no open position — the trade has been finished and removed from active ones.”
The position was closed by hand“ℹ️ Position closed manually on the exchange. Finishing the trade: cancelling remaining orders and recording the result.”
The Take-Profit filled“✅ Take-Profit filled on the exchange during the disconnection. Position reduced to …. The trade has been reconciled with the exchange.” The stop-loss is moved to the remaining trade position — the same as after a take-profit without a restart; your own position on the same pair does not affect it. If during the restart the exchange did not report the position size (a rare exchange failure), the bot reduces the trade position by the amount sold by the take-profit itself, the same as without a restart; and if the take-profits sold the whole trade position, it finishes the trade and cancels its stop-loss
An averaging entry filled during the restart, and then the stop-loss triggeredThe stop-loss was set for the volume before the averaging and closed only that, while the volume bought by the averaging stayed on the exchange without a stop-loss and take-profits. The trade is finished by the stop-loss, the summary lists it in “Needs review”, and the trade message says “ℹ️ Needs review: Stop-loss triggered while the bot was restarting, but an averaging entry also filled during that time — the stop did not close the whole trade: … remains on the exchange without stop-loss and take-profits. Close the rest or set a stop-loss manually.” The bot does not sell the rest itself — decide whether to close it or keep it with your own stop
The Stop-Loss disappeared while the position was open“🛡️ Stop-Loss disappeared from the exchange (removed manually or cancelled) while the position was open. The bot restored protection: stop at …, size …. The position is protected again.”
The stop could not be restored“🚨 WARNING: Stop-Loss disappeared from the exchange and could NOT be restored automatically. Reason: … The position is currently UNPROTECTED — place a stop manually on the exchange or close the position.”
The position was closed on the exchange while the bot was away (by hand, by the stop, the take-profit or a liquidation)In the summary — “The position on the exchange is already closed — trade finalized, remaining orders cancelled.”, and separately a detailed closing message with the reason. If your own position in the other direction is left on the pair, it adds “ℹ️ Your … position of … opened outside this trade remains on the exchange — the bot did not touch it. It has no stop-loss from the bot.”
A take-profit or the stop disappeared and the bot placed it again“🛡 Protective order (STOP_LOSS) was automatically restored after reconnection.”
A protective order could not be placed“⚠️ Error placing STOP_LOSS order for trade #…” with the reason below; the trade goes into “Needs review” — place the stop on the exchange by hand
Before the restart the bot itself was cancelling an order (rebuilding take-profits, moving an order), and nothing else happenedIn the trade message — “⏳ The bot was cancelling order #… before the restart — it will check the cancellation result within the next few minutes and re-place the order if needed.” Nothing to do: the bot completes the change itself
Before the restart the bot was rebuilding take-profits, and during the restart a cancelled take-profit partly filled or something else happened (for example, another take-profit filled)In the trade message — “♻️ The take-profits the bot was cancelling before the restart have been handled as without a restart: each level got its share back (take-profits: …).” The bot places them the same way as without a restart: each level gets what it still had left to sell, and after a partial fill the stop-loss is moved to the remaining position; the remainder is not sold at market. If the trade closed in the meantime (for example, the stop-loss fired), there is nothing to place; if the reconciliation needs your check, the take-profits are not placed and the trade shows up in “Needs review”. If the take-profits could not be put back right away, the bot checks the trade once more shortly after: if that works, you get “🔎 … each level got its share back …” (and if the trade has closed in the meantime, “🔎 The exchange check after the restart finished the trade.”); if it does not work either, you get “⚠️ … the take-profits the bot was cancelling before the restart could not be fully put back on their levels …” or “⚠️ The exchange check after the restart could not be completed …”: check the take-profits and the stop-loss of the trade on the exchange

What you should not do ​

  • Do not cancel or move orders on the exchange just in case — the bot checks them itself, and changes made by hand it will have to sort out separately.
  • Do not create the trade again: if the entry did not fill, it is still on the exchange.
  • Do not tap commands over and over. While the check is running the bot replies: “System is recovering after restart. Please try again in a few seconds.” — the command is not run, repeat it in a few seconds, when the check is over.

When you do have to step in ​

  • A 🚨 message about a position without protection — place a stop by hand on the exchange or close the position.
  • “⚠️ The exchange check after the restart found mismatches the bot did not fix by itself…” or “⚠️ The exchange check after the restart could not be completed…” — check the orders, the position, the take-profits and the stop-loss of the trade on the exchange.
  • “🔎 Exchange check after the restart: the take-profits… have been handled… The trade stays marked as needing a check…” or “⚠️ Exchange check after the restart: the trade stays marked as needing a check…” — the check went through, but the trade had been marked earlier for another reason: check its orders on the exchange.
  • “⚠️ Exchange check: the trade stays marked as needing a check - …” — after an exchange refusal (an order the bot could not cancel or change, an order the exchange rejected) the bot checks the trade against the exchange by itself and says why the mark stays: an order the bot was cancelling is still on the exchange, the open position has no stop-loss for its whole size, or a take-profit was not brought back. Check the trade on the exchange and write to support: after the check support removes the mark, and you get “✅ Support checked the trade and removed the "needs a check" mark - the bot manages the trade as usual again.” If everything matches, the bot removes the mark itself: “✅ Exchange check: the trade orders and position match - the trade is fully under the bot control again.”
  • In the trade card: “⚠️ The trade execution was interrupted — tap «🔁 Retry execution».” Tap the button: the bot asks “🔁 Retry the trade execution?”, lists the actions after “⚠️ Upon confirming trade recovery, the following actions will be performed:” — read them and tap Yes.
  • “⚠️ The trade cannot be recovered — close it with «⛔ Close all».” — close the trade with this button in the card and check the position on the exchange.
  • The line “ℹ️ Needs review: #…” in the summary — look into the trade (with the button under the summary) and at the exchange; if it is unclear, write to support. If the trade could not be reconciled right after the restart, the bot retries a few more times; if the retries fail too, such a summary comes as a separate message a few minutes later.