A lending market that adapts borrow limits to the real cost of exiting positions and the current volatility regime.
Static LTVs ignore how much it costs to unwind risk during turbulence. We make borrow limits a function of execution cost and current volatility.
We estimate the slippage to close a position of size q given pool depth & current curve (AMM + orderbook). LTV never exceeds 1 − slippage(q).
Short‑horizon EWMA volatility scales the maximum loan‑to‑value and increases maintenance margin when regimes shift.
Optional debt in the collateral denomination enables delta‑neutral strategies with lower liquidation correlation.
Simple rules that work on‑chain.
Signal | Effect |
---|---|
EWMA volatility ↑ | Reduce MaxLTV; raise maintenance buffer |
Pool depth ↑ | Increase MaxLTV (risk can exit cheaply) |
Orderbook tightens | Increase MaxBorrow for smaller trades |
How the invariant and pool depth govern execution price when liquidations sell collateral into the pool.
We model reserves X (asset A) and Y (asset B) under the constant‑product x·y=k. Current price of A in B is PA=Y/X. A liquidation that sells ΔX shifts reserves to X′=X+ΔX and Y′=k/X′; the B received is:
The execution price is Pexec=Bout/ΔX=Y/(X+ΔX), lower than PA. The relative impact (slippage) is:
Use a volatility haircut to budget adverse moves during liquidation.
Let σ be realized volatility and consider liquidation horizon t. A worst‑case drop fraction δ (e.g., δ=zσ√t) scales down usable collateral. Then the volatility‑adjusted limit obeys:
Equivalently, LTVvol=1−δ. As σ rises, allowable LTV falls.
Safe LTV must respect both AMM depth (slippage) and expected price moves.
Requiring the liquidation proceeds cover debt with a volatility buffer yields:
This couples depth and volatility: larger positions (ΔX/X) and higher δ both reduce allowable LTV.
As B reserves are borrowed (utilization rises), any new liquidation suffers more impact. LTV must fall with utilization.
Define UB=1−Y_{current}/Y_{initial}. A simple guard is LTV_{allowed}(U_B)=LTV_{max}·(1−U_B).
Cap single‑loan size (ΔX/X) and enforce minimum post‑trade reserves Y′. Raise rates at high utilization to discourage further borrowing.
Deep pools → slippage small → volatility dominates: low‑vol assets can support higher LTV than high‑vol assets.
Shallow pool or huge loan → slippage dominates → even stable assets get conservative LTV caps.
LTV must be constrained by market depth and asset risk.
As volatility or intended borrow size grows, the safe LTV region shrinks (see Figures 1–2).
Track ΔX/X against pool depth, apply volatility haircuts, and scale LTV down with utilization.