This is part 2 of our research report on HyperLiquid. You can find part 1 here where we go over introduction, high level architecture and trading strategies. Part 2 we cover the risks involved with using the product and how to get started.
The main vault i.e. HLP on the Hyper Liquid market operates via an orderbook, which is protocols vault that provides liquidity. Users have the ability to create their own vaults to execute their strategies and attract liquidity to their vault.
It is important to note that it may not always function as the counterparty for all participants, depending on the liquidity dynamics within the platform.
The HyperLiquid L1 state encompasses all margin and matching engine states. It is worth noting that Hyperliquid does not depend on off-chain order books. A fundamental design principle is complete decentralization, achieved through Tendermint consensus, which ensures a consistent order of transactions and is optimized for end-to-end latency. HLP vault is the in house market maker vault for platform, helping build strong orderbook.
For an order placed from a geographically co-located client, end-to-end latency has a median 0.2 seconds and 99th percentile 0.9 seconds.
The validators are responsible for publishing spot oracle prices for each asset every 3 seconds. The oracle prices are used to compute funding rates. They are also a component in the mark price
which is used for margining, liquidations, and triggering TP/SL orders.
The spot oracle prices are computed by each validator as the weighted median of Binance, OKX, Kraken, and Huobi spot prices for each asset, with weights 3, 2, 2, 1 respectively. Oracle price is used for computation of funding rate & mark price.
Mark price= Oracle price + 5 minute EMA of difference between -(Hyperliquid's mid price and the oracle price). This means for accurate mark pricing it must have robust orderbook. This is particularly useful during periods of high volatility when oracle prices begin to lag and result in significant liquidations.
DYDX uses oracle prices for liquidations and TP/SL which tend to lag in the periods of high volatility.
Platform Risk-
Hyperliquid has some “special” features that are positive for solvency for HLP and Hyperliquid.
"If Auto deleverage is triggered then traders with negative margin will be settled against the most profitable trader. In simpler terms, if it comes down to solvency for the platform, bad debts will be settled from the most profitable traders with leverage."
When asked to clarify this process, the founders provided the following response:
"Yes, that is correct. When ADL happens, the bad debt is passed onto profitable traders on the other side. This is how ADL works on CEXs too, and it's a last resort measure that has never yet triggered on HyperLiquid."
All in all we love the product and have been actively trading on it for the past few months. We felt it’s our responsibility to outline the risks involved and thus a part 2 was necessary.
Good for scalping, not yet safe to move size in.
Disclosure - click here to learn more about 3poch’s Hyperliquid disclosure.