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 shares from the Target shares, % fieldThe stop and the remaining targets are recalculated for the remainder
✂️ Close partYou, from the trade card in the bot or in the appThe 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

How much of the position is left after the partial closes is shown in the app: the trade card (📊 Chart and details) → the General tab, the lines “Entry volume (filled)” and “Remaining position”.

Where it is in the bot ​

  • Take-profit shares: Signal bot card → ⚙️ Trading settings (the app) → the Take-profits tab → Target shares, % — in detail in the article Target distribution.
  • Closing a part by hand: 💼 Trades → trade → ✂️ Close part; in the app — the Controls block → Close part.

How it works ​

  1. Press ✂️ Close part. The bot shows “✂️ Close part of the trade — choose a share of the position:”, the line “Trade position: …” and the share buttons with the volume — from 1% to 100%.
  2. Choose a share. The bot asks “✂️ Close part of the trade?” and shows how much will be closed: “Will close: 0.01 qty” → Confirm.
  3. The bot sends a market order and writes: “Partial close: success”, “Request sent to exchange (0.01 qty).” and “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.”

Closing a part by hand is not a take-profit. Trailing Stop-Loss counts target numbers by take-profits only: Breakeven (target), Moving 1 and Moving 2 move the stop on the same take-profits as they would without the manual close, and the manual close is not counted in the share of filled take-profits for Breakeven (percentage). More — Trailing Stop-Loss.

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
Closed 0.01 BTC by hand 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
Target numbers for Trailing Stop-Losstake-profits onlya manual close does not shift the target number

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.