Protocol
Width selection
The desk maps volatility and APR into a log-width, or into no position. Costs are impermanent loss and rebalance. If APR is too thin or volatility is too violent, the optimum is to sit out.
State of the pool
Let St be the pool mid. TRUSS LP treats log-price as a jump-diffusion, not as a smooth drift. Jumps are the point: a quiet Brownian path understates how often a tight range is blown out.
Effective variance, the quantity that actually stresses a range, is
Width
A concentrated position is an interval [SL, SU] around the current mid. Log-width is
For a fixed notionals V, virtual liquidity on a Uniswap v3-style AMM scales like 1 / w at leading order: a tighter band posts more active liquidity, earns more of the fee stream, and exits more often.
Expected payoff
Let η be the advertised fee-plus-emissions APR on in-range capital, τ(w) the expected fraction of time the mid stays inside the band, nreb(w) the expected number of exits, and c the all-in cost of one rebalance (gas, slippage, and the protocol swap margin). Over a horizon T the desk maximises
Time-in-range for the diffusive part is the probability that a Brownian motion has not left [−w/2, w/2]. A working closed form, then thinned by jumps, is
Impermanent loss
A CFMM is short realised volatility. For a full-range constant-product book the second-order loss versus holding the same mix (loss-versus-rebalancing) is
Concentration multiplies gamma. In the symmetric-band approximation used by the desk,
κ(w) → ∞ as w → 0: an infinitely tight range is a pure options short with no time in market. That is why “just use the highest APR pool at min width” is not a strategy.
Rebalance costs
Every time the mid exits, the vault must burn the NFT (or equivalent), swap residual inventory, and mint again — or sit out. Expected hit rate for a diffusion with absorbing barriers at ±w/2 is of order
Each event costs gas plus spread plus the protocol’s swap margin. Jumps add an almost-sure exit whenever |J| > w/2, so λ itself is a rebalance intensity. High-vol pools with fat tails are expensive even when the APR table looks green.
The optimum, and sitting out
Compare that peak to doing nothing: hold 50/50, earn zero LP fees, pay zero IL and zero rebalance. If max Π ≤ 0, the policy is w = ∞ — no position.
In (σeff, η) space the sit-out region is everything below a convex frontier η*(σeff). That frontier is exactly what you would expect: thin APR or violent vol, and LP is a worse inventory than holding.
How the desk uses this
| State | Typical σ_eff | Width | Why |
|---|---|---|---|
| Tight | Low, few jumps | Narrow band | Concentration pays; exits are rare; IL is small. |
| Moderate | Routine two-sided vol | Medium band | Fees still cover gamma and the odd rebalance. |
| Sit-out | High vol or jump-rich, or η too low | No LP | max Π < idle. Capital stays 50/50 in the vault. |
Those three states are what the How-to tape draws. The tape is realised volatility of a financial price — oscillation of returns, not a slope.
The live bot and the simulation share this objective. If a pool’s APR cannot pay for its own σ_eff, it will not stay at the top of the rank table, and the bot will not keep a position there.