5.62 Order-Book Resilience Is an Asset Characteristic

Order-book resilience ranks perpetuals by depth, spread, and reject half-lives after a fixed shock. Size quotes only if the rank predicts volatility beyond spread, volume, and VPIN.

5.62 Order-Book Resilience Is an Asset Characteristic

On the Hyperliquid BTC perpetual, an aggressive buy lifts the offer and the size at that price is gone. The spread at that instant, and the depth at that instant, read the same whether the size is back in two blocks or still missing half a minute later. Resilience is the second measurement: how many blocks the hole takes to close halfway, after a shock you forced to a fixed size. Albers, Cucuringu, Howison, and Shestopaloff recorded about 880 million order-status events a day in December 2025 on BTC, ETH, and SOL, and about 89 percent of those records are rejects, so the repair has a series a normal book feed never prints. Coins with the same spread can still be different assets.

Fix the shock, or the rank measures trade size

A shock is an aggressive trade that removes at least half the displayed depth inside one band around the mid. Take the band as 5 basis points and the fraction as one half. Both choices are arbitrary, and they have to be the same number on every coin. A busy minute of small prints fails the size test. A 2 BTC buy into 20 BTC of nearby size fails it too.

Rebuild the band from the book-diff stream: each record is a new order, a removal, or a size update, and only orders that rested are in it. The order-status stream is the other tape. It includes the rejects. The old article "An Open L4 Order Book: What Hyperliquid Data Unlocks" walks the node and the 54-byte encoding. The split you need is narrower. Depth and spread come from the diffs. The reject clock comes from statuses, and the only status you count is badAloPxRejected, the post-only order that would have crossed. Count that status alone when you build the rate.

Read the pre-shock book at the end of the previous block. Inside a block, passive orders go first, cancellations second, and takers last, and the block itself lands every 100 to 200 milliseconds on whichever validator was picked to propose it. A resting order the proposer sequenced ahead of the taker belongs to that earlier book. Start the clock at the end of the shock's block.

The baseline is a causal average ending at the previous block. Xu, Firoozye, Koukorinis, Treleaven, and Zhu set a filter window at the smallest lag where the absolute autocorrelation of changes falls below 0.1. They wrote that rule for returns. Use it on changes in band depth, on changes in the spread, and on changes in the reject rate. They also suggest setting the window near a median regime half-life. That version is circular the first time you measure, so the autocorrelation cutoff is the one you can compute before any half-life exists. Call the resulting level D-star for depth, S-star for the spread, and R-star for the reject rate.

$$ g^D_n = \frac{\max(D^\* - D_n,\ 0)}{D^\*} $$

The depth gap is the missing size in the band, divided by the baseline, and it is zero once size has come back. Block n is counted from the end of the shock's block. Worked book: baseline depth 20 BTC, the shock trade takes 10 BTC from inside the band, the gap opens at 10/20 = 0.50. At a half-life the gap is 0.25, so depth is 15 BTC. Half the hole has closed.

$$ g^S_n = \frac{\max(S_n - S^\*,\ 0)}{S^\*} $$

The spread gap is the extra width, divided by the baseline spread, so a one-dollar book and a wide book share a scale. Take a baseline of 1 dollar, the whole-dollar prices in their Table 1. The shock widens it to 5 dollars, the gap opens at 4. At a half-life the gap is 2 and the spread is 3 dollars. Size can return at bad prices while this gap is still open, so the spread clock stands on its own.

$$ g^R_n = \frac{\max(R_n - R^\*,\ 0)}{R^\*} $$

The reject gap is the excess post-only reject rate, divided by its baseline. The old article "The Price Impact of Nothing: Rejected Orders Predict Returns" puts that spray near 60,000 rejects a minute, and the side of the refusal agreed with the next mid change 72.3 percent of the time. The order never rested. At the 200 millisecond end of the block range, 60,000 a minute is 200 rejects a block. A shock block that prints 800 has an excess of 600 and a gap of 3. Halfway back is 500 rejects a block. At 100 millisecond blocks the same minute is 100 rejects a block, and a shock that quadruples the rate still has gap 3. Fit the ratio. The half-life in blocks is the same at either end of their 100 to 200 millisecond range, because you fit the ratio.

The December release is about 10,200 order-status events a second across the three coins, and about 89 percent of them are rejects, on the order of 544,000 rejects a minute combined. That count mixes every reject reason and three coins. Keep it apart from the 60,000 post-only figure. The post-only status is the clock. The 89 percent only says the clock has a sample.

The half-life is the time to close half the hole

Fit one retention per clock. On the block grid the gap keeps a fraction phi of itself each block, until it is halved.

$$ \tau = \frac{-\ln 2}{\ln \varphi} $$

Tau is the half-life in blocks. Phi is the per-block retention, the number between 0 and 1 you estimate by regressing the log gap on the block count, using only blocks where the gap is still positive. Xu, Firoozye, Koukorinis, Treleaven, and Zhu talk about a regime half-life when they pick a filter window. They do not print this expression. The exponential decay is the repair model, and tau is the definition that makes "halfway" a number you can rank.

Worked retentions, one per clock. Phi of 0.707 halves the depth gap in 2.00 blocks, because 0.707 squared is 0.500 to three decimals. Phi of 0.841 halves the spread gap in 4.00 blocks, because 0.841 to the fourth is 0.500 to three decimals. Phi of 0.794 halves the reject excess in 3.00 blocks; 0.794 cubed is 0.501, half within a tenth of a percent. Plug the rounded phis back through the formula and you get 2.00, 4.00, and 3.00 blocks. If a fitted phi is 1 or larger inside your cap, the hole did not close. Set tau to the cap and keep the coin. Dropping the non-repairs deletes the slow tail, which is the part of the rank you most wanted.

The curves below are these three worked half-lives. No Hyperliquid day was fitted. Depth crosses one half at 2 blocks, the reject excess at 3, the spread at 4.

Remaining gap versus blocks for three worked half-lives: depth crosses one half at 2 blocks, reject excess at 3, spread at 4

Wall-clock seconds are tau times that day's median block spacing. Their blocks run 100 to 200 milliseconds, so a 4-block spread half-life is 0.40 seconds at the fast end and 0.80 seconds at the slow end. Rank coins in blocks. On one chain the spacing is common, so the cross-sectional order survives either choice of 100 or 200 milliseconds. The inventory bill uses seconds, so that choice changes the premium. Keep the two units apart.

If the gap has not halved inside a cap you set in advance, tau equals the cap. Thirty seconds is an arbitrary cap. At 200 milliseconds that is 150 blocks. Write the cap down before you look at the ranking.

Rank the coin by the cube root of the three clocks

Any one of the three clocks mis-ranks the coin. Depth can refill at a wide spread. The spread can snap back onto a one-lot touch. Makers can still be spraying post-only orders after both of those look normal. The characteristic is the geometric mean. It stays in blocks, and a noisy clock cannot set the units.

$$ \bar{\tau} = \left(\tau_D \, \tau_S \, \tau_R\right)^{1/3} $$

Multiply the three block half-lives and take the cube root. Worked fast book: 2, 4, and 3 blocks. The product is 24 and the cube root is 2.88 blocks. Worked slow book, every clock five times longer: 10, 20, and 15. The product is 3,000 and the cube root is 14.42 blocks. The unrounded roots stand in the ratio 5 exactly. At two decimals they print 2.88 and 14.42, and 5 times 2.88 is 14.40, so the last hundredth is rounding.

Sort coins by that cube root, smallest first. Small means fast repair. This is a cross-sectional characteristic, the same move as any other sort: at each date you rank names. The public drop cannot carry the sort. Order statuses and book diffs cover December 2025 for BTC, ETH, and SOL only. Trades exist for every perpetual from October 2025 through January 2026. The band comes from the diffs. Three names are a rehearsal. I am against calling a three-name sort a factor. What December can support is the within-name version: this hour's half-life against the next hour's volatility, on one coin, with the shock rule frozen before that hour.

Roll already signs the vol change at 0.58

Look at the Roll bar.

Mean decreased accuracy for the sign of the realized-volatility change, full sample, 50-bar window: Roll 0.058, VPIN 0.009, Roll impact 0.009, Kyle lambda 0.005, Amihud 0.001

On the full sample, a 50-bar window, Easley, O'Hara, Yang, and Zhang sign the change in realized volatility at 0.58 accuracy. The 100-bar window prints 0.56. Roll's mean decreased accuracy, the out-of-sample accuracy lost when that feature is shuffled, is 0.06. The rest of that row is VPIN at 0.009, Roll impact at 0.009, Kyle's lambda at 0.005, and Amihud at 0.001. Averaged across all five labels the accuracy is 0.54 at 50 bars and 0.53 at 100 bars, and skewness sits at 0.50. Split on 10 November 2021, both vol-sign subperiods print 0.58. The old article "Crypto Isn't Structurally Alien: Roll/VPIN/Amihud Predict Distribution Shifts" is this result. Across labels their text ranks VPIN second. On the volatility label, Roll dwarfs it.

Two controls in that paper will contaminate a coin ranking if you copy them raw. Roll is twice the square root of the absolute lag-1 autocovariance of price changes, and it scales with the price. Their 50-bar means are 20.36 on BTC and 0.00064 on XRP. Rank coins by that number and you have ranked the price level. VPIN is a ratio of volumes, so the price level cancels. Their 50-bar means run from 0.46 to 0.47, against the 0.22 to 0.23 they cite for the E-mini. Kyle's lambda is the window's price change divided by signed dollar volume, and Amihud is the average of absolute return over dollar volume. Both barely move accuracy once Roll is present. Volume still belongs in your regression, because a slow repair on a dead book is a thin-market fact you already knew.

None of the four papers ran the nested test. The kill test is yours, and it has to be out of sample.

$$ \mathrm{VPIN}_t = \frac{1}{W}\sum_{i=t-W+1}^{t}\frac{|V^S_i - V^B_i|}{V_i}, \qquad V^B_i = V_i\, Z\!\left(\frac{\Delta p_i}{\sigma_{\Delta p}}\right), \quad V^S_i = V_i - V^B_i $$

VPIN is the average share of dollar volume that bulk classification calls one-sided. Z is the standard normal distribution function, which is the split they write down. One bar, price up one standard deviation: Z(1) = 0.8413, so 0.84 of the volume is classified as buying and 0.16 as selling, and the absolute imbalance over volume is 0.68. Their sample means near 0.47 say the average minute is less one-sided than a one-sigma bar. Use W of 50 or 100, the windows behind the 0.58.

$$ y_{i,t+h} = a + b_s s_{i,t} + b_v \log V_{i,t} + b_p \mathrm{VPIN}_{i,t} + b_c \log C_{i,t} + b_\tau \log \bar{\tau}_{i,t} + e_{i,t} $$

The left side is the sign of the change in realized volatility, +1 or −1, the same label as their forest. The right side is the quoted spread, log dollar volume, VPIN, log market cap, and the log of the resilience rank. Horizon h starts after the repair cap, so the shock that defined tau is not inside the outcome. They used 1,500 one-minute bars, 25 hours, for that gap. On a block clock a 15-minute vol window is enough, provided it starts after the cap. The worked contrast is the distance between the two books above. The slow rank is 5 times the fast rank, and the natural log of 5 is 1.61. That is how far apart the two names sit in the regressor. No paper here estimated the slope in front of it.

Fit the line with the resilience term free, and again with that coefficient fixed at 0. Resilience passes only if out-of-sample accuracy rises on a later month. The public release has one month of books. A split inside December is a rehearsal for leakage and for the cap. I am against trading a half-life whose band, fraction, and cap were chosen on the only month you have. The same regression with a different left side covers the other two predictions: the sign of the next-window drawdown, and the sign of your own maker markout. Executable capacity is the separate object in the next section, and it gets the same controls if you try to forecast it.

Size the fast book, and price the time you cannot get out

Boyce, Herdegen, and Sánchez-Betancourt have the quoting problem in a form you can use. A reference maker posts depths. Competitors post a base depth that moves in a straight line with their own inventory. Her fill intensity decays exponentially in how far behind those competitor depths she stands. The old article "Market Making With Competitors You Can't See" is that model. The piece of her ask that the competitor's inventory moves is the last term.

$$ \hat{\delta}^{a} = \frac{\beta}{2} + \frac{1}{\kappa}\left(1 + \log\frac{\omega(t,q)}{\omega(t,q-1)}\right) - \beta \tilde{Q} - z $$

The ask depth depends on her own inventory through the value-function ratio omega, and on the competitor through beta times his inventory and the noise z. The leak is beta times his inventory, and that term sits outside omega. Their beta is 0.05 and their competitor base depth is 0.10. At competitor inventory 4 and z at 0, the inventory term is −0.20, twice the base depth. It stays until his inventory comes back. In their model that happens when the other side's market orders arrive, at a constant intensity of 10. On a real book it happens when someone can hit the skewed quote, which is the repair half-life you measured above. A slow book leaves the −0.20 shift in force for longer.

On 10,000 simulated paths she was more generous than the competition 13 times, 0.13 percent. The closed form scores 3.64 (standard deviation 2.57), an Euler scheme scores 3.66 (2.56), and their reinforcement-learning policy scores 3.14 (2.76). They call the step from 3.64 to 3.66 a 0.5 percent increase. Dividing the 0.02 gap by 3.64 gives 0.55 percent, so the 0.5 percent is their rounding, and a paired test can call a 0.02 gap significant beside a standard deviation of 2.57. The 0.13 percent is the operational fact. You are usually behind the competition, waiting. The wait is the half-life.

Their running penalty is linear in time spent with inventory on. The expected bill of one stuck position, for an exponential hole, is the penalty rate times size squared times tau, divided by ln 2.

$$ \mathrm{Bill} = \frac{\phi\, q^{2}\, \tau}{\ln 2} $$

Phi is your inventory weight in dollars per BTC-squared per second. Tau here is in seconds, so multiply the block half-life by the block spacing. Charge off the slower of the depth clock and the spread clock. You need both size and a tight touch to unload. The reject clock is the warning that makers are still probing. On the worked fast book that slower clock is the spread, 4 blocks. On the slow book it is 20 blocks.

Phi is yours to write down. Label every choice. A 3 percent daily BTC move is a round volatility I am putting in by hand. On the Table 1 price of 66,364 that is 1,990.92 dollars. A day has 86,400 seconds and the square root is 293.94, so the per-second standard deviation is 1,990.92 / 293.94 = 6.77 dollars. The variance rate is 6.77 squared, 45.83 dollars squared per second. An inventory weight of 0.05, arbitrary, prices 0.05 times 45.83 = 2.29 dollars per BTC-squared per second. Their simulation phi of 0.1 stays in its own units: price volatility 1, mid starting at 100, horizon 1.

Worked position, q = 2 BTC, so q squared is 4. At 200 millisecond blocks the fast clock is 0.80 seconds and the slow clock is 4.00 seconds. Ln 2 to three decimals is 0.693. The fast bill is 2.29 times 4 times 0.80, divided by 0.693, which is 10.57 dollars. The slow bill uses 4.00 seconds and is 52.87 dollars. At 100 millisecond blocks both times halve and the bills are 5.29 and 26.44 dollars. The bill scales in a straight line with phi, with tau, and with size squared. Double the inventory weight and you double the bill.

Compare that with the fee for giving up and crossing. Hyperliquid's baseline schedule is 1.5 basis points for a maker and 4.5 for a taker. The top tier is a 0.3 basis point maker rebate and 1.44 basis points to take. Cancels are gasless, which is why the reject spray is cheap enough to be a clock. On their Table 1 order, 0.19863 BTC at 66,364, the notional is 13,181.88 dollars. Baseline maker fee 1.98, taker fee 5.93, and the round trip if you make in and cross out is 6.0 basis points, 7.91 dollars. Top tier, rebate then take, nets 1.50 dollars.

On 2 BTC at the same price the notional is 132,728 dollars. The baseline taker exit is 59.73 dollars. The top-tier taker exit is 19.11 dollars. At the worked phi, the fast book's 10.57 dollar bill is under both exits, so you can wait. The slow book's 52.87 is under the baseline taker fee and over the top-tier taker fee. A cheap exit flips the slow book from "wait" to "cross, or do not quote." A baseline account still waits. Write your own fee tier next to the bill before you skip the coin.

Capacity is the other desk number. A fast empty book cannot fund a quote.

$$ C = \frac{D^\*}{\bar{\tau}} $$

Divide baseline band depth by the block half-life. The fast worked book has 20 BTC over 2.88 blocks, 6.94 BTC per block. A slow book with 100 BTC over 14.42 blocks is 6.93 BTC per block. The unrounded cube roots put both capacities on the same 6.93. The tenth of a BTC is rounding. Same pace, five times the wait. You can trade the deep slow book, and you still price the wait. If lagged resilience fails to lift next-window capacity, the vol sign, or your markout, once spread, volume, VPIN, and log market cap are in the regression, the rank is a relabeling of liquidity you already had. Leave the quote alone.

KEY POINTS

  • Define a shock as an aggressive trade that takes at least half the displayed depth inside one fixed band, and start the clock at the next block. Same-block refills are proposer ordering.
  • Fit the half-life in blocks. A depth gap that keeps 0.707 of itself each block is halved in 2 blocks.
  • Rank by the cube root of the three half-lives. The worked fast book is 2.88 blocks. Scale every clock by 5 and the rank is 14.42, five times slower on the unrounded roots.
  • Demand an out-of-sample accuracy gain beyond spread, volume, VPIN, and log market cap, on a later month. The published Binance bar, a different venue and clock, signs the realized-vol change at 0.58.
  • Price the wait before you size. At a 3 percent daily move and inventory weight 0.05, the slow clock's bill on 2 BTC is 52.87 dollars, and that bill scales in a straight line with the half-life.

References


A note on AI. The ideas, research, analysis, and conclusions in this article are my own. I use AI tools to help with editing and wordsmithing, because English is not my first language, and I am not shy about that. AI-generated ideas and AI-assisted writing are not the same thing: the first is empty slop from a generic prompt, the second is a tool for communicating years of real research more clearly. Judge the work by its substance, not by whether software helped polish the prose.