Pair Trade
Trade two Hyperliquid assets with explicit Leg A and Leg B sides.
Pair Trade
The Pair Trade template creates two explicit legs on Hyperliquid. Leg A is the primary leg, Leg B uses the opposite side, and the template maps the long side to spot and the short side to perps for execution.
Core config:
legAAsset: primary leg asset.legBAsset: opposite leg asset.legASide:longorshort; Leg B uses the opposite side.targetNotionalUsd: USD notional for Leg A.hedgeRatio: Leg B notional exposure multiplier.0.5sizes Leg B at half of Leg A, and1targets equal notional.perpLeverage: margin leverage for whichever leg is short; this changes margin and liquidation buffer, not the notional exposure ratio.rebalanceDriftPct: drift threshold before rebalancing.
This is separate from Delta Neutral. Pair Trade can intentionally keep directional exposure when the Leg B size ratio is below or above 1.