Skip to content
Reading depth

Each view includes the earlier layers; the complete engineer or auditor page is shown by default.

Hedging adds an offsetting position intended to reduce a specified risk while introducing basis, cost, execution, counterparty, and management risks.

Diamond category cue

Hedging adds an offsetting position to reduce a named risk, while leaving other risks and introducing new ones.

A portfolio may need to retain an asset, loan, liquidity position, or strategy while reducing sensitivity to price, rate, volatility, funding, or another factor. A hedge separates the useful economic activity from some unwanted exposure without requiring an immediate sale of the primary position.

A portfolio hedge is a direct analogy. On-chain hedges add oracle, liquidity, smart-contract, margin, liquidation, funding, bridge, and governance dependencies. Even equal-looking opposite notionals can use different instruments, reference prices, units, timing, collateral, and nonlinear payoffs.

The portfolio owner holds the primary exposure and authorizes a hedge. A derivatives venue, counterparty, maker, or liquidity pool supplies the offsetting claim. Oracles measure exposure and settlement. A keeper or manager may rebalance, while governance sets risk and authorization bounds.

Primary assets, hedge margin, settlement assets, premiums, fees, and funding are assets or transfers. Perpetuals and options are offsetting claims and obligations.

For one compatible risk factor and unit:

netExposureUnits
= primaryExposureUnits + hedgeExposureUnits

A short exposure is negative. The arithmetic is valid only after normalizing the reference, unit, horizon, price source, and nonlinear sensitivity. Dollar notional is not the same as delta, and current delta is not guaranteed to remain constant.

Example:

vault owns +100 ETH price units
vault opens -80 ETH-equivalent perpetual units
target net ETH price exposure = +20 ETH-equivalent units

The vault still holds 100 ETH and still bears custody and smart-contract risk. The short introduces margin, funding, venue, oracle, execution, and liquidation risk. A price basis between spot holdings and the perpetual reference can leave residual exposure.

  1. Name the risk factor, measurement unit, horizon, reference price, and tolerated residual.
  2. Inventory primary positions and calculate gross exposure without netting away implementation differences.
  3. Choose a hedge instrument, venue, size, maturity, collateral, and execution bounds.
  4. Execute and record both primary and hedge state, costs, funding, and counterparty dependencies.
  5. Measure net and residual exposure under ordinary and stressed scenarios.
  6. Rebalance only within authorized price, size, leverage, timing, and cost limits.
  7. Close or roll the hedge and reconcile realized PnL with changes in the primary position.

Capital flow moves hedge margin, premium, fees, funding, and settlement. Claim flow creates the offsetting derivative. Information flow carries exposure, reference prices, sensitivities, and rebalance triggers. Return flow should be evaluated across both legs: hedge gains are paid by its counterparties while primary gains come from the primary asset or strategy. Risk flow can propagate through shared collateral, bridges, venues, or automated rebalancing.

A hedge is a risk-control position, not an independent promise of return. Its gains are intended to offset a specified primary loss and are paid by the derivative’s opposite side or pool. Premium, funding, fees, slippage, and rebalancing consume value; margin or counterparty failure can prevent the hedge from paying when needed most.

Test sign and unit normalization, stale exposure, price-source divergence, partial execution, minimum and maximum size, slippage, keeper delay, front-running, funding changes, option delta changes, shared collateral, liquidation, venue shutdown, bridge failure, and close/roll accounting. Preserve gross legs, realized and unrealized PnL, costs, and residual risk in inspectable state rather than storing only a net number.

Hyperliquid’s official contract specifications describe one venue’s linear, non-expiring perpetuals and their periodic funding payments. A short in such a market can be one hedge leg only when its reference, units, margin, funding, liquidity, and settlement fit the primary exposure. This is one venue-specific implementation, not evidence that equal notional fully hedges a position or that every protocol uses the same perpetual design. Reviewed 2026-08-10.

The perpetual-future and option pages describe two possible hedge instruments. Their protocol examples demonstrate different settlement and margin choices; no instrument removes every risk.

  • “Market neutral means risk-free.” It usually names one reduced factor, not liquidity, funding, oracle, counterparty, contract, or operational risk.
  • “Equal notional means fully hedged.” Reference, basis, delta, timing, fees, and nonlinear payoff can differ.
  • “A profitable hedge means a successful strategy.” The combined result and the specified risk objective matter, not one leg in isolation.

Revisit derivatives margin before using leveraged hedges and swap for the execution path.

Machine-readable model

Key equations

Canonical expressions come from the structured concept record. KaTeX renders the notation, while the plain-text expression and variable table keep its meaning and units inspectable without JavaScript. Read the narrative above for the model's domain, assumptions, and rounding rules.

  1. Equation 1

    Plain-text equation: netExposure = primaryExposure + hedgeExposure

Assurance contract

Security properties

These structured statements define desired behavior. Their stable IDs can bind tests, invariants, specifications, audit findings, or proof results without turning descriptive review advice into an assurance claim.

Desired · not evaluated: No test, audit, or proof result is implied until scoped evidence is linked to this property.

  1. The hedged risk factor, unit, sign, horizon, reference price, and target exposure are explicit

  2. Primary and hedge positions use compatible units before netting

  3. Rebalancing cannot exceed authorized size, price, leverage, or cost bounds

  4. Reports keep gross positions, net exposure, realized and unrealized profit and loss, funding, fees, and residual risks inspectable

Knowledge check

Quiz

Answer in your own words, then open the model answer.

What problem does Hedging exist to address?

Model answer

Hedging lets a portfolio retain a useful asset or strategy while reducing unwanted sensitivity to price, rate, volatility, funding, or another measurable factor.