There was a problem loading the comments.

How to quickly stop a bot?

Support Portal  »  Knowledgebase  »  Viewing Article

  Print
To stop the bot normally, you need to click on the "Stop" button, the bot will go to the "Waiting for shutdown" state and will wait for the end of the current work cycle, after that it will stop. It may take some time to complete a full shutdown of the bot, because in the active bot cycle there may be executed orders, and to complete the current cycle it is necessary to wait for the execution of the profit-fixing order (take-profit order).
Sometimes you have to stop a bot that has an active cycle of work (orders posted on the exchange), how to do this?

1. There are a couple of options for an emergency stop of a spot bot in different situations:
  • The bot placed a grid of orders on the exchange and none of the orders were executed.

    In this case you can stop the bot without any consequences and losses. For an urgent stop of the bot you need to click the button "Cancel active orders". The menu for the cancellation of orders will open; there you need to click the checkbox "stop bot after operation" and the “Cancel orders” button. The bot will cancel all active orders on the exchange and stop the last cycle to mark it as "Cancelled". In this case, an emergency shutdown of the bot will result in a loss because the bot’s algorithm will be breached. You will need to cancel the remaining active orders on the stock exchange to stop the bot. Orders on the exchange can be cancelled manually on the exchange or with the help of our bot interface.
  • The bot placed a grid of orders on the exchange, there are executed orders, and a profit-fixing order (take-profit order) has been placed.

    In this case, an emergency shutdown of the bot will result in a loss because the bot’s algorithm would have been breached. You will have to cancel the remaining active orders on the stock exchange in order to stop the bot. Orders on the exchange can be cancelled manually on the exchange or with the help of our bot interface.
    Active orders are manually cancelled on the exchange.
    We don't recommend interfering with the bot’s algorithm and doing any manual actions with the orders that the bot has created on the stock exchange. This kind of intervention can lead to a bot error. If the orders for the active cycle have been manually cancelled on the exchange, you need to click the button "Mark the last cycle as cancelled" in order to make the bot forget the current cycle. The bot will mark the last active cycle as "Cancelled" and move on from it (When it starts operating again, it will not try to calculate and complete the cancelled cycle, but will instead start a new one). The button "Mark the last cycle as cancelled" can be found in the statistics and management menu of a particular bot; you can go to it by clicking on the bot’s name in the output table of all bots of the Statistics menu.

    Cancel orders on the exchange using the interface of our bot.
    In order to cancel the orders of the active cycle of the bot, click on the button "Cancel active orders", the menu for the cancellation of orders will open, and there you should click on the "stop bot after operation" checkbox and on the "cancel orders" button. The bot will cancel all active orders, including the order fixing the profit (take-profit order) on the stock exchange and stop, marking the last cycle as "Cancelled".

2. Consider the features of an urgent stop of a bot trading cryptocurrency futures.
Important! Don't cancel the take profit order of a bot trading cryptocurrency futures while the bot is running, because the bot can place again the take-profit order, which could lead to the opening of a position opposing the bot’s algorithm. If you want to urgently stop the work of the bot trading cryptocurrency futures, then you need to click on the button to restart the bot, the bot will stop after a while and will be able to wait to start again, which can be prevented by clicking on the stop button, after which you can cancel the bot orders on the exchange.


Share via

Related Articles

© RevenueBot