Hedge Mode – Veles Help Center

Hedge Mode

By default, the Position mode on the exchange is one-way. Veles bots only work in the “Hedge” Position mode. This mode allows you to run two bots on the same trading account simultaneously in the same pair with different algorithms (that is, for example, TON Long and TON Short at the same time). Two independent positions will be opened, each bot will control only its position without interfering with the second one, and each position will have its own PnL (Profit-and-Loss) indicator.

Important! Bots check and set the Position mode at startup. But if the “One-way mode” is enabled on the account and there are open positions and orders, then the exchange will not allow you to change the position mode. Therefore, the bot will stop with an error, and the position will need to be switched manually. The changes will take effect only after all positions are closed.

To switch the Position mode, open the “Settings” for your trading account on the exchange (usually “Gear” button at the top right corner) and select the appropriate item (“Position mode”->”Hedge Mode”).

Frequently asked questions about Hedge mode.

1. Is it possible to launch two bots at once using the same coin and the same direction (algorithm)?

This can be done on a Spot. In this case, each bot works with its own volume and the bots do not conflict.

But you can’t do it on Futures. Only one Futures bot should be working on the exchange at any given time, as there is only one Futures position per trading account. If several bots are trading, then all their orders will be applied to the same position, and all bots will have an incorrect average price – it is possible to close the deals with an actual loss, while the bots will show profits.
If you have several bots per coin, but they have rare signals, set a Lock by the position in the profile. Then the second bot will not be able to enter the exchange if the first bot has not finished running its deal yet.

2. Is it possible to launch two bots at once for one coin in different directions?

Yes. In particular, on the Spot, you can give the coin, purchased by the Long-bot as a Deposit to the Short-bot, if the Long trade got into the “invest”-state. To do this, the coin should not be reserved in Take Profit orders (that is, the Long bot should close the deal by the indicator signal). We remind you that trading Short brings a high risk of losses and these strategies must be thoroughly tested before being used on the exchange. It could potentially turn out that the Long-bot will try to place its Take Profit order, while the coins will be sold by the second bot at that moment, and it will get an error. But this situation will not be difficult to handle.

On Futures, a Long-bot and a Short-bot create two independent positions that hedge each other but do not conflict.

Veles cooperates with exchanges!

Register using our links and get maximum bonuses from exchanges.