Engine
HyperCore market making
Two-sided, post-only quotes on HyperCore's HYPE/USDC and KNTQ/USDC spot books, leaning against inventory.
| Id | hypercore-mm |
| Venue | HyperCore spot |
| Markets | MM_MARKETS, default HYPE-USDC,KNTQ-USDC |
| Tick | every 1 s |
| Capital | 25 % 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
| Param | HYPE-USDC | KNTQ-USDC | Meaning |
|---|---|---|---|
allocationBps | 2500 | 1500 | Share of NAV |
baseSpreadBps | 8 | 30 | Spread floor (half-spread floor = half of it) |
volMultiple | 1.2 | 1.5 | Half-spread as a multiple of half the 1-minute volatility |
levels | 3 | 3 | Quote levels per side |
levelStepBps | 5 | 15 | Extra distance per level |
sizeFraction | 0.06 | 0.06 | Each level's size, as a fraction of the market's capital |
maxInventoryFraction | 0.45 | 0.45 | Inventory at which the side that adds to it stops |
requoteBps | 2 | 6 | Price move that triggers a requote |
maxQuoteAgeMs | 20 000 | 30 000 | Oldest 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
- Fresh book? If the book is missing or older than 15 s, pull every quote on that market once, log a
riskwarning, and wait. - 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. - Inventory.
capital = NAV × allocation. The target is half the capital in the token.inventory = held × mid − capital / 2, compared tomaxInventory = capital × 0.45:dev = inventory / maxInventory. - 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. - Requote only when needed. If the reservation price moved less than
requoteBps, the quotes are younger thanmaxQuoteAgeMsand they are resting, nothing changes. Any fill forces a requote. - Levels. Level
isits athalf + i × levelSteparound the reservation price, rounded to Hyperliquid's price rule (5 significant figures). Size per level:max(capital × 0.06, $11) / price, rounded down. - Limits. Bids only while
dev < 1and within the USDC budget; asks only whiledev > −1and within the tokens held. The note says inventory long, asks only (or short, bids only) when a side stops. - 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. - 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).