Skip to content

Managing an Active Trade

Managing an active deal in Veles allows you to quickly respond to market changes.
You can close a deal at market price, average a deal, or cancel a bot deal to take it under manual control.

This function closes the deal immediately, without waiting for the Take Profit or Stop Loss to be executed.

Manage Active Deal

The dialog box displays the parameters of your deal (the data is static — close and reopen the window to see the updated values).

After confirmation, the system will:

  1. Close the deal on the exchange:
    • on futures, the bot will close the contracts;
    • on spot, the coin will be sold or bought back.
  2. Fix the current PnL (profit/loss).
  3. Delete all remaining bot orders.
  4. Set the bot status to “Awaiting signal”.

If the price has moved too far from the Take Profit, you can add an averaging order. This will bring the average deal price closer to the current price.

Averaging formula:

P = (Q1×P1 + Q2×P2) / (Q1+Q2)

  • P — new average price,
  • Q1, P1 — quantity and price of the first purchase,
  • Q2, P2 — quantity and price of averaging.

Managing an active deal

Managing an active deal

In the averaging window, specify:

  • Price: the price for new averaging limit order.
  • Quantity: can be specified in coins or USDT.

The “Cancel” function completely removes the bot from running the deal.

Managing an active deal

After cancellation:

  1. The bot will delete all its unfilled orders.
  2. The bot will switch to the “Terminated” status.
  3. The trade will disappear from the “Active Deals” section.
  4. The funds reserved for unfilled orders will be released.
  5. For futures, the liquidation price may shift.

How to manually close a position on the exchange

Section titled “How to manually close a position on the exchange”
  1. Log into the exchange app or website.
  2. Open your trading account (Futures / Derivatives / Unified Trading Account).
  3. Go to the “Positions” tab and find the desired coin.
  4. Select “Close by” -> “Limit Order” and set the price (with a profit or an acceptable loss, the exchange will display the expected result).
  5. Confirm the order; it will appear in “Current Orders.”
  6. Wait for the limit order to fill, or close the position by market price if you need to immediately.
  • Realized PnL — already reflected on the balance of the trading account.
  • Unrealized PnL — potential result after closing the position.

Forgotten orders on the exchange can:

  • block your funds,
  • cause bot errors such as “Insufficient Balance”**,
  • lead to unpredictable losses or even liquidation.

The bot automatically deletes unnecessary orders. However, if it stops with an error, the user is responsible for finding and deleting them.

Sometimes, after stopping with an error, the bot can be restarted. It will continue trading from the place where it left off.

Examples:

  • “Orders cancelled by 3rd party” due to accidental deletion of the order,
  • “Insufficient balance” due to lack of margin for an order or coins for a Spot bot commission.

In such cases, the bot recreates orders, picks up a position on Futures, or continues to run the same volume that was traded on the Spot by that time.

After errors like “Liquidation”, “Position reduced” or “Unknown error”, the bot believes that there is nothing left to restart or it is dangerous.

To restart the deal:

  1. Go to the main page of your personal account https://veles.finance/cabinet

  2. Find the stopped bot and expand its card.

  3. In the drop-down list, click Run.

    Bot got an error

  4. In the pop-up window, select Restart the deal.

    Restarting a deal

Help