Trading Strategies

Hedging in Trading: What It Really Reduces and What It Only Hides

Hedging with opposite positions, correlated instruments and options-like structures: when it genuinely reduces risk, when it only delays losses, its costs, and how bots should handle hedge mode.

By AlgoXP2 min readUpdated

Two related positions and the spread between them

“Hedging” sounds like risk management, and sometimes it is. In retail trading the word is also used for practices that only postpone a loss or add costs. Knowing the difference matters for anyone designing or running a trading bot, because hedging logic can make a strategy look safer than it is.

Three kinds of hedges

1. Opposite positions on the same symbol (“locking”). A long position is losing; instead of closing it, the trader opens a short of the same size. The floating loss is frozen.

  • What it does: stops the loss from growing while both positions are open.
  • What it does not do: remove the existing loss. Closing either side later realises the decision you postponed.
  • Costs: spread on the new position, swap on both, more margin on some accounts.

2. Correlated instrument hedges. A long EURUSD and a long USDCHF partly offset each other’s dollar exposure; long gold and short silver offset part of precious-metals exposure.

  • Reduces exposure to a shared factor, but correlations change, especially in crises.
  • Turns a directional bet into a relative-value bet - see pairs trading.

3. Portfolio-level hedging. Limiting total exposure across bots - for example capping net USD exposure, or reducing size when several strategies hold the same direction.

  • Often the most useful form for algorithmic traders running several bots.

When hedging genuinely reduces risk

  • It targets a specific exposure you do not want (for example currency exposure from several trades).
  • The cost is known and acceptable.
  • There is a plan to remove the hedge - by time, by price or by event.

When it only hides risk

  • Locking positions to avoid “taking a loss” - the loss already exists.
  • Grid or recovery bots that open opposite positions to keep equity looking stable while total exposure grows.
  • Hedges whose correlation assumption fails exactly when it is needed.

A useful test: if you closed everything right now, would the account be better off than before the hedge? If not, the hedge has not reduced risk, it has only delayed a decision.

Hedging vs netting accounts

Trading accounts work in one of two modes:

  • Hedging mode - multiple independent positions per symbol, including opposite ones.
  • Netting mode - one net position per symbol; an opposite trade reduces or reverses it.

A bot designed for one mode can behave unexpectedly in the other. Check the account type and test the bot on the same mode you will trade.

What bots should do

  • Use labels to identify each bot’s positions and avoid closing another strategy’s trades.
  • Track net exposure per symbol and per currency, not only individual positions.
  • Cap total exposure at the account level. A risk guardian such as T-Rex Risk Guardian enforces loss limits across bots and manual trading.
  • Avoid lock-and-wait logic unless the exit plan is explicit and tested.

Key takeaways

  • Real hedges reduce a specific exposure at a known cost and have an exit plan.
  • Locking a losing position with an opposite trade freezes, but does not remove, the loss.
  • Correlation hedges depend on relationships that can break in stress.
  • For bot portfolios, account-level exposure limits are usually the most valuable hedge.

Related: martingale and averaging risks and position sizing methods.

FAQ

Is holding a buy and a sell on the same symbol a hedge?

It locks the current profit or loss while both are open, but it does not reduce the loss that already exists. You still pay spread and usually swap on both, and eventually you must decide which side to close.

What is hedging mode in a trading account?

An account setting that allows several independent positions, including opposite ones, on the same symbol. In netting mode, opposite trades offset each other into one net position.

When does hedging make sense?

When it reduces a specific, unwanted exposure at a known cost - for example limiting dollar exposure across several positions, or protecting a longer-term position during a known event.

Sources and further reading

  1. StockCharts ChartSchool: Price Relative / Relative Strength - chartschool.stockcharts.com
  2. StockCharts ChartSchool: Money Management (The Trader's Journal, Stage 1) - chartschool.stockcharts.com