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:
| Kind | Who starts it | What happens to the remainder |
|---|---|---|
| A take-profit was filled | The exchange, by the percentage map from Take-Profit | The stop and the remaining targets are recalculated for the remainder |
| Close partially | You, from the trade card | The protective orders are recalculated |
| You reduced the position on the exchange by hand | You, in the exchange app | The 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 settings → Take-Profit → Amount distribution by orders — in detail in the article Target distribution.
- Closing a part by hand: 💼 Trades → trade → Close partially.
How it works
- 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”.
- Confirm: “Are you sure you want to partially close the trade?”.
- 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 %).
| Step | Closed | Remainder | Stop and targets |
|---|---|---|---|
| TP1 filled | 0.02 BTC at 61,200 → +24 USDT | 0.03 BTC | Stop and TP2/TP3 recalculated for 0.03 BTC |
| Close partially 0.01 BTC at 62,000 | +20 USDT | 0.02 BTC | Protective orders recalculated for 0.02 BTC |
| TP2 filled | 0.01 BTC at 62,400 → +24 USDT | 0.01 BTC | The 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
| Parameter | Value | Note |
|---|---|---|
| Volume of a partial close | greater than 0 and not more than the position | otherwise it is refused |
| Minimum remainder | the exchange minimum order | a smaller remainder cannot be closed separately |
| The last order of a trade | cannot be cancelled | close 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.
