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. Let's consider the specific features of stopping a bot that is trading cryptocurrency futures.
Important! Do not cancel the take-profit order of a bot trading cryptocurrency futures while it is running, or this can lead to the bot's take-profit order being placed again, which in turn may lead to the opening of a position opposite to the bot's algorithm. If you want to urgently stop a bot that is trading cryptocurrency futures, you need to click on the bot restart button; the bot will stop after a while and will be in a suspended state, awaiting to start, which can be cancelled by clicking on the stop button, after which you can cancel the bot's orders on the exchange.


Share via

Related Articles

© RevenueBot