Stop-loss – Veles Help Center

Stop-loss

A stop loss is a market order that is placed on the exchange for a specified percentage after the execution of the last order in the grid (after going beyond the % overlap).

For example, if you have an overlap of 10% and a stop loss of 2%, then this order will stand at a distance of 12% of the coin price at the time of opening a position.

The purpose of a Stop loss is to close your deal at a loss if the price has already gone over the grid and your position is in danger of liquidation.

Important!

  1. If the ratio of the bot’s deposit and the supporting margin is not observed, liquidation may occur before the entire grid is executed and the stop loss is triggered.
  2. Do not confuse the percentage of drawdown on a position with a Stop loss, these are different indicators in Veles bots.

Since a Stop loss order is a market order, it is not detected on the exchange until the order grid is fully executed. But the level of this order and the estimated sum of loss can be seen through the “View Grid” function in the bot editor (red dashed line).

On our platform, Stop loss is available on the Spot and Futures markets, on the Long and Short algorithms (Stop loss is usually not used on the Spot, however, it is preferable to average there).

Important!
There is no support for stop marker orders on the Spot. This means that no Stop is placed to the exchange in advance. In the Active deal card, it will be calculated, recorded and marked, but it works on the Veles side – that is, your bot monitors when the price reaches the stop level or below, and closes the position by market order.
On Futures Stop Loss is placed when the last order is created in the grid, in less than 1 second.

To use the Stop loss, just go to the bot settings and enable the appropriate option.

Below specify at what distance in percentage from the last order in the grid the stop loss will be set.

For example, if the price of the last order is 100 and the stop loss percentage is 0.5, then the stop price is 100-0.5% = 99.5 for the Long algorithm and 100+0.5% = 100.5 for the Short algorithm.

To calculate a possible loss manually without taking into account the Martingale percentage and the logarithmic price distribution, you can use the formula:
add the stop loss percentage to the P&L of the average position price obtained after the execution of the last order, and then multiply by the leverage.

Example:
Grid 5%, stop loss 1%, leverage X3, deposit 20 USDT.
5% overlap / 2 = 2.5% – the point of the average position price is obtained after executing the whole grid (P&L from the average, but the logarithm and Martingale are not taken into account here)
2.5% + 1% stop loss = 3.5%
3.5% * 3 leverage= 10.5% of loss
20 USDT deposit * 10.5% of the loss = 2.1 USDT will be the amount of loss

Please remember that a Stop loss order is a market order, and in the case of a fast price movement (squiz), it can give a greater loss than the calculation shows!

You can also estimate the amount of loss by Stop loss using backtests (the “Analysis” button in the bot editor) and, as already mentioned, on the “View Grid” chart.

If you have not set up a Stop loss in the bot, and the bot has collected all grid orders (but not before), then you can set a stop loss for a position directly on the exchange (in the Positions section, column “TP/SL”). If such a Stop loss works, you will record a loss on the position, the bot will stop with an error, but it will be enough to restart it.

You can also configure the bot to stop after a Stop loss is executed.

Veles cooperates with exchanges!

Register using our links and get maximum bonuses from exchanges.