Engine

HyperCore market making

Two-sided, post-only quotes on HyperCore's HYPE/USDC and KNTQ/USDC spot books, leaning against inventory.

Idhypercore-mm
VenueHyperCore spot
MarketsMM_MARKETS, default HYPE-USDC,KNTQ-USDC
Tickevery 1 s
Capital25 % of NAV on HYPE-USDC, 15 % on KNTQ-USDC

The strategy rests maker-only quotes on both sides of each book. It widens its spread when the market moves fast, and leans its prices against its own inventory so it drifts back to neutral instead of piling up.

Parameters

ParamHYPE-USDCKNTQ-USDCMeaning
allocationBps25001500Share of NAV
baseSpreadBps830Spread floor (half-spread floor = half of it)
volMultiple1.21.5Half-spread as a multiple of half the 1-minute volatility
levels33Quote levels per side
levelStepBps515Extra distance per level
sizeFraction0.060.06Each level's size, as a fraction of the market's capital
maxInventoryFraction0.450.45Inventory at which the side that adds to it stops
requoteBps26Price move that triggers a requote
maxQuoteAgeMs20 00030 000Oldest a quote may get before it is refreshed

Fixed constants: a book older than 15 s is stale; every order is at least $11 (Hyperliquid's minimum is $10).

How it quotes, every second

  1. Fresh book? If the book is missing or older than 15 s, pull every quote on that market once, log a risk warning, and wait.
  2. Volatility. An exponentially weighted variance of per-second log returns: var = 0.97 × var + 0.03 × r² / dt. The 1-minute volatility is √(var × 60), in bps.
  3. Inventory. capital = NAV × allocation. The target is half the capital in the token. inventory = held × mid − capital / 2, compared to maxInventory = capital × 0.45: dev = inventory / maxInventory.
  4. Spread and skew. half = max(baseSpread / 2, volMultiple × vol1m / 2). The reservation price is shifted against the inventory: skew = clamp(dev, −1, 1) × half, res = mid × (1 − skew). Long inventory pushes both quotes down (sell more, buy less), short pushes them up.
  5. Requote only when needed. If the reservation price moved less than requoteBps, the quotes are younger than maxQuoteAgeMs and they are resting, nothing changes. Any fill forces a requote.
  6. Levels. Level i sits at half + i × levelStep around the reservation price, rounded to Hyperliquid's price rule (5 significant figures). Size per level: max(capital × 0.06, $11) / price, rounded down.
  7. Limits. Bids only while dev < 1 and within the USDC budget; asks only while dev > −1 and within the tokens held. The note says inventory long, asks only (or short, bids only) when a side stops.
  8. USDC budget = (USDC − margin kept for the hedge − USDC already reserved by bids on the other market) × 0.95. The hedge's margin is |perp size| × mark / 3.
  9. Sync. Only the orders that changed are cancelled and replaced.

In the app

The vault's resting quotes are drawn on the chart as dashed lines and marked in blue in the order book, and its fills are marked on their candles (/app/markets/HYPE-USDC).