Skip to content

Partial closes

A trade rarely closes with a single order. Every take-profit takes its share of the position, and any part can also be closed by hand. After each partial close the bot recalculates the protective orders for the remainder.

What it is

There are three kinds of partial close:

KindWho starts itWhat happens to the remainder
A take-profit was filledThe exchange, by the percentage map from Take-ProfitThe stop and the remaining targets are recalculated for the remainder
Close partiallyYou, from the trade cardThe protective orders are recalculated
You reduced the position on the exchange by handYou, in the exchange appThe bot notices it and recalculates the protection for the actual remainder

The sum of all partial closes is shown in the trade card in the “Partial closes” line.

Where it is in the bot

  • Take-profit shares: Signal bot card → Trading settingsTake-ProfitAmount distribution by orders — in detail in the article Target distribution.
  • Closing a part by hand: 💼 Trades → trade → Close partially.

How it works

  1. Press Close partially. The bot asks: “Choose how much of the trade you want to close” and shows how much will be closed: “Will close: 0.01 qty”.
  2. Confirm: “Are you sure you want to partially close the trade?”.
  3. The bot sends a market order and writes: “Partial close: success. Request sent to exchange (0.01 qty). Execution status will arrive as a separate notification.” Then — “✅ Partial close completed” and “Protective orders restored”.

If you reduced the position directly on the exchange, the bot reports: “✂️ Detected a manual position reduction on the exchange: 0.05 → 0.03 BTC. The bot is recalculating protection for the actual remaining position.”

Example with a calculation

LONG 0.05 BTC, entry 60,000, stop 58,800. Targets: 61,200 (40 %), 62,400 (30 %), 63,600 (30 %).

StepClosedRemainderStop and targets
TP1 filled0.02 BTC at 61,200 → +24 USDT0.03 BTCStop and TP2/TP3 recalculated for 0.03 BTC
Close partially 0.01 BTC at 62,000+20 USDT0.02 BTCProtective orders recalculated for 0.02 BTC
TP2 filled0.01 BTC at 62,400 → +24 USDT0.01 BTCThe remainder waits for TP3 or the stop

+68 USDT is locked in, and 0.01 BTC is still in the market. If the remainder turns out to be smaller than the exchange minimum order, the bot warns that it cannot be closed separately — such dust is closed out together with the trade as a whole.

Limits and allowed values

ParameterValueNote
Volume of a partial closegreater than 0 and not more than the positionotherwise it is refused
Minimum remainderthe exchange minimum ordera smaller remainder cannot be closed separately
The last order of a tradecannot be cancelledclose the trade as a whole

Common errors and what the bot says

  • “⚠️ Cannot perform partial close: no open position” — the entries have not been filled yet; cancel the entry orders or the whole trade.
  • “Cannot close 0.05: position is only 0.03” — the volume is larger than the position.
  • “Could not prepare partial close: volume must be greater than 0.” — enter a positive number.
  • “⚠️ BTCUSDT: position remainder 0.0004 is below the exchange minimum order size. This dust cannot be closed with a separate order — it will remain until the trade fully closes. No action needed.” — that is by design.
  • “⚠️ Failed to update Stop Loss after partial TP. Please check protective orders manually.” — open the position on the exchange and make sure the stop covers the remainder.
  • “⚠️ The position on the exchange got smaller, but the Stop-Loss could not be updated to the new size automatically. Please check your protective orders on the exchange!” — the same after a manual reduction.