Funding Hedge: Funding-fee Hedging for Shorts

Reduces the impact of strongly negative funding on short positions by opening a short-lived long hedge around the funding settlement.

Feb. 28, 2026, 2:38 p.m.
Bot Settings
Funding Hedge: Funding-fee Hedging for Shorts

Operating conditions

  • applies only when an active short position exists;
  • triggers only on negative funding;
  • fixed direction: short → long;
  • if conditions are not met, no hedge is executed.

Location

Settings → Hedge

Parameters

  • Enable funding hedge — enables/disables the feature.
  • Funding-rate threshold (%)negative threshold (e.g., -2.0). Triggers when funding is ≤ threshold.
  • Seconds before funding — time window before settlement for opening attempts. Minimum 3 seconds.

Execution procedure

Before settlement:

  • attempts to open the long hedge;
  • open attempt timeout: 2 seconds;
  • if the hedge cannot be opened before the event, the hedge is skipped to avoid opening after settlement.

After settlement:

  • closes all positions opened as the hedge;
  • close timeout: 2 seconds;
  • close retries: every 2 seconds, up to 10 attempts.

Notice

  • Demo testing is recommended.
  • Use economically justified thresholds: if too low, open/close fees may exceed the funding benefit.
  • Many bots on one account may trigger a burst of orders, increasing API rate-limit and execution-delay risk.

Recent Posts

Funding Hedge: Fund… Reduces the impact of strongly negative funding o…
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…

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