Risk model
Depth-adjusted LTV
Inputs, all taken against the oracle price:
- D1, D2, D5: bid-side quote depth within 1%, 2%, and 5% of the oracle price. HyperCore and the Elysium AMM are summed.
- T1, T2, T5: target depth for that asset at each band.
- vol1h: one-hour realized volatility. volRef is the asset cap.
- topLevel: largest single bid inside 2%, used as a concentration check.
depthScore = 0.5 * min(D1 / T1, 1) + 0.3 * min(D2 / T2, 1) + 0.2 * min(D5 / T5, 1) volFactor = min(1, volRef / vol1h) share = topLevel / D2 concFactor = 1 - min(0.20, share^2) LTV = clamp(baseLTV * depthScore * volFactor * concFactor, floorLTV, maxLTV)
Worked example
HYPE, base LTV 75%, floor 35%, ceiling 75%.
- D1 $2.4m / T1 $2.0m = 1.00
- D2 $4.1m / T2 $5.0m = 0.82
- D5 $9.0m / T5 $8.0m = 1.00
- depthScore = 0.5 + 0.246 + 0.2 = 0.946
- vol1h 4.2%, volRef 6%, so volFactor = 1
- topLevel is 18% of D2, share^2 = 0.032, concFactor = 0.968
LTV = min(75%, 75% × 0.946 × 1 × 0.968) = 68.7%.
If D1 and D2 fall to zero, depthScore collapses and LTV goes to the floor. The oracle price can be unchanged while that happens.