Engine

Hedging

Keeps part of the vault's HYPE exposure hedged by shorting the HYPE perp on HyperCore.

Idhedge
VenueHyperCore perps
MarketHYPE-PERP
Tickevery 5 s
Capital25 % of NAV (reporting figure; the real limit is margin)

The vault holds a lot of HYPE: on Elysium (from fees) and on HyperCore (for market making). The hedge keeps a share of it short on the perp so a fall in HYPE hurts less.

Target

text
held HYPE   = HYPE + WHYPE on Elysium + HYPE on HyperCore
target size = −HEDGE_RATIO × held HYPE        (HEDGE_RATIO default 0.5)

The short is capped by margin: never more than USDC on HyperCore × 3 / price (3× cover). The note explains when the cap applies.

When it trades

Only when the gap between the target and the current position is at least max(0.5 HYPE, 5 % of the target) and worth at least $15. Then it sends an immediate-or-cancel order priced 10 bps through the best price (best ask + 10 bps to buy back, best bid − 10 bps to sell). It does nothing on a HYPE book older than 20 s.

Each trade logs a hedge event: Shorted X HYPE-PERP at P — hedge now H HYPE (or Covered).

Funding

Perps pay or receive funding every hour. In paper mode the engine books it at each new UTC hour from Hyperliquid's latest funding rate and mark price (payment = −size × mark × rate: with a positive rate, shorts receive), in the funding_payments table and as a funding event. In live mode funding arrives in the account itself and shows up through the balance sync.

Parameters

ParamValue
hedgeRatioHEDGE_RATIO, default 0.5
bandHypemax(0.5, 5 % of target)
maxSlippageBps10
marginCover3×