Compensation of Negative Realized PnL

How the bot offsets negative realized loss (funding/fees) to still close the trade in profit

Nov. 15, 2025, 11:11 a.m.
Trading Bots
Compensation of Negative Realized PnL

The ST bot monitors accumulated negative realized PnL — usually funding fees or commissions.

Its goal is simple: close the trade in profit, even if part of the gain has already been consumed by funding.

If realized PnL becomes negative, the bot automatically adjusts all exit orders (limit take-profit, trailing take, dynamic stop) so the final exit covers:

  • the accumulated negative realized PNL, and
  • the profit target defined in settings.

Example

You are holding a short for 5 days. Funding accumulated to −2% of the entry amount.

Your standard take-profit is +1%.

The bot recalculates exit levels so the trade closes at +3% or higher, covering the −2% plus your target profit.

This compensation mechanism works with all exit types.

Recent Posts

Funding Window: Blo… Protects averaging logic from false signals durin…
Use our Bybit link … Registration, UID connection, and discount activa…
Creating Custom Scr… Screeners allow you to track pumps, dumps, open i…
Compensation of Neg… How the bot offsets negative realized loss (fundi…
Trade Exit Logic: L… The ST Bot uses three mechanisms to close positio…

You might be interested

Spot Bot: Entry and Averaging Logic (Spot-Bot)
Spot-Bot operates on the “leader → altcoins” model. The user selects a leader (BTC, ETH, or SOL), and the bot uses it as the main indicator of market direction. The bot’s goal is to identify altcoins with strong correlation to the leader and open spot positions when growth probability is confirmed for both the leader and the altcoin.
Averaging Positions
Position averaging: trigger→confirmation scheme, timeframe cascade, market-phase settings, averaging examples
Indicator “Market Median”
“Market Median — 30m” is a single percentage value showing where, on average, the altcoin market sits relative to the midlines of its 30-minute regression channels over the last 1000 candles.
Automate Your Trading with Algorithms
A complete trading suite: from indicators and screeners to trading bots.
🚀 Start for free