Skip to main content

Auto-Hedging Configuration Guide

This guide covers all configuration parameters for the auto-hedge feature, including recommended values for different trading styles and risk profiles.

📋 Configuration Parameters

Core Settings

Trailing Stop Settings


🎯 Parameter Deep-Dive

1. Enable Auto-Hedge

Effect:
  • Replaces liquidation safeguard with auto-hedging
  • Enables continuous monitoring of position drawdown
  • Allows hedge order placement
When to Enable:
  • ✅ Aggressive HFT grids with high wallet exposure
  • ✅ Volatile markets where liquidation risk is higher
  • ✅ When you want maximum grid uptime
  • ❌ Conservative low-leverage trading
  • ❌ Spot trading (no short positions available)
When enabled, the traditional liquidation safeguard is automatically disabled!

2. Hedge Ratio

What It Does: Controls what percentage of your NET position gets hedged when triggered. Examples: Recommendations: Conservative (0.7-1.0):
  • Higher hedge ratio = more protection
  • Suitable for low-risk tolerance
  • Better for smaller accounts
Balanced (0.5-0.6):
  • Standard 50% hedge
  • Good balance of protection and exposure
  • Recommended for most users
Aggressive (0.3-0.4):
  • Lower hedge ratio = more exposure remains
  • For experienced traders
  • Maximizes profit potential but higher risk

3. Drawdown Trigger

What It Does: Triggers hedge when your position loses this percentage from entry price. Calculation:
Example:
Recommendations: Configuration Examples: Conservative:
Triggers hedge earlier, provides more protection. Aggressive:
Allows deeper drawdowns before hedging, maximizes grid fills.
For volatile assets like DOGE or meme coins, use 4-5%. For stable assets like BTC, use 3-4%.

4. Liquidation Distance Trigger

What It Does: Triggers hedge when liquidation price is within this percentage of current price. Calculation:
Example:
Recommendations: Configuration Examples: Low Leverage (5x-10x):
Medium Leverage (10x-20x):
High Leverage (20x-50x):
Critical override: If liquidation distance drops below 3%, hedge triggers immediately regardless of anti-cascade logic!

5. Hedge Take Profit Target

What It Does: Sets the profit target for closing hedge positions. How It Works:
  1. Hedge placed at $0.16800
  2. TP target: 0.2%
  3. TP price: 0.16800(10.002)=0.16800 * (1 - 0.002) = 0.16764 (for short hedge)
  4. When price recovers to $0.16764, hedge closes with profit
Recommendations: Configuration Examples: Tight (High Frequency):
  • Closes hedges quickly
  • More frequent hedge cycles
  • Good for choppy markets
Wide (Trending Markets):
  • Allows larger profits from trends
  • Fewer hedge cycles
  • Better for directional moves

6. Trailing Stop (Advanced)

What It Does: Once hedge reaches profit target, activates trailing stop to lock in profits. How It Works:
Without Trailing:
Recommendations: Enable Trailing:
  • ✅ Trending markets
  • ✅ High volatility
  • ✅ Want to maximize hedge profits
Disable Trailing:
  • ❌ Choppy/ranging markets
  • ❌ Want quick hedge exits
  • ❌ Prefer simple TP management
Configuration:
Trailing stop distance should typically match your TP target (both 0.2% is standard).

🎨 Complete Configuration Templates

Template 1: Conservative (Low Risk)

Best For: Beginners, small accounts, low leverage (5x-10x)
Characteristics:
  • 70% hedge ratio (strong protection)
  • Triggers early (3% drawdown)
  • Wide liquidation buffer (15%)
  • Lower wallet exposure (20%)

Template 2: Balanced (Medium Risk)

Best For: Intermediate traders, medium accounts, medium leverage (10x-20x)
Characteristics:
  • 50% hedge ratio (balanced)
  • Standard triggers (4% drawdown, 10% liq distance)
  • Moderate wallet exposure (50%)
  • Recommended starting point for most users

Template 3: Aggressive (High Risk)

Best For: Experienced traders, larger accounts, high leverage (20x-50x)
Characteristics:
  • Allows deeper drawdowns (6%)
  • Tighter liquidation trigger (8%)
  • Higher wallet exposure (80%)
  • Wider TP targets (0.3%)

Template 4: Godmode (Maximum Grid Uptime)

Best For: Expert traders, high-frequency grids, ultra-aggressive
Characteristics:
  • Low hedge ratio (30% - maintains exposure)
  • Very deep drawdown tolerance (8%)
  • Tight liquidation trigger (5%)
  • Maximum wallet exposure (100%)
  • ⚠️ Experts only!
Godmode configuration requires constant monitoring and significant trading experience. Start with conservative settings!

🔧 Fine-Tuning Tips

Adjusting for Volatility

High Volatility Assets (DOGE, Meme Coins):
Low Volatility Assets (BTC, ETH):

Adjusting for Account Size

Small Account (less than $1,000):
Large Account (greater than $10,000):

Adjusting for Market Conditions

Trending Market:
Choppy/Ranging Market:

📊 Testing Your Configuration

1. Start Small

2. Monitor Logs

Watch for hedge trigger messages:

3. Evaluate Performance

After 24-48 hours:
  • Did hedges trigger appropriately?
  • Were there too many or too few hedges?
  • Did trailing stops work well?

4. Adjust Parameters

Based on results:
  • Too many hedges -> Increase drawdown %
  • Too few hedges -> Decrease drawdown %
  • Missed profits -> Enable trailing stop
  • Early exits -> Increase TP target

⚠️ Common Mistakes

❌ Setting hedge ratio too high (greater than 0.8)

Problem: Over-hedging reduces position exposure too much Solution: Use 0.5-0.7 for most cases

❌ Drawdown trigger too tight (less than 0.02)

Problem: Excessive hedge cycles, high trading fees Solution: Use 0.03-0.05 based on volatility

❌ Liquidation trigger too wide (greater than 0.20)

Problem: Hedge triggers too late, liquidation risk Solution: Use 0.08-0.15 based on leverage Problem: Misses extra profits from favorable moves Solution: Enable trailing for trending assets

❌ Using godmode settings without experience

Problem: Excessive risk, potential liquidation Solution: Start conservative, gradually increase aggression

📞 Need Help?

If you’re unsure about your configuration:
  1. Start with the Balanced template (Template 2)
  2. Test with small exposure (10-20% wallet)
  3. Monitor for 24-48 hours
  4. Adjust based on results
  5. Join our Telegram for community support: t.me/pumpkinsui
Happy auto-hedging! 🛡️