Skip to main content

TRD and pricing

When you view your YieldBasis position, you see two numbers: Fundamental Value (your share's book value) and Redemption Value (the exact BTC or ETH you receive if you withdraw right now). The percentage gap between them is the Temporary Redemption Discount (TRD).

Why is Redemption slightly different from Fundamental Amount?​

Suppose your position shows a Fundamental Value of 1.000 BTC, while Redemption Value shows 0.996 BTC (−0.4% TRD).

Why the 0.004 BTC difference? After a fast move in BTC or ETH, the Curve pool's internal pricing reference takes time to step toward the new market price. While it catches up, the pool's live reserves are temporarily tilted. Withdrawing right now unwinds your position against those tilted reserves and returns 0.004 BTC less than book value.

What you can do: Wait for arbitrageurs and trading volume to rebalance the pool so Redemption Value moves closer to Fundamental Value, or accept the small discount if you need liquidity right away.

No guaranteed recovery timeframe

TRD has no fixed or guaranteed recovery timeframe. After a sustained one-way price move, a negative TRD can persist for weeks. Withdrawing while TRD is negative locks in that discount as a realized loss.

Fundamental Value vs. Redemption Value​

MetricWhat it meansApp label
Fundamental ValueBook value per share priced at the Curve pool's internal pricing reference. Unaffected by exit slippage.Fundamental PPS
Redemption ValueExact underlying BTC or ETH returned if you withdraw your shares right now against live Curve pool reserves.Redemption PPS

Fundamental Value rises from Curve trading fees, YieldBasis rebalancing fees, and borrow-interest refueling donations. Redemption Value reflects what the pool actually pays out when unwinding your proportional collateral and debt.

  • Negative TRD (discount): Redemption Value is below Fundamental Value. Withdrawing now forfeits that percentage of book value. This is the most common non-zero state.
  • Zero TRD: Live pool reserves align with the pool's internal pricing reference.
  • Positive TRD (premium): Redemption Value slightly exceeds Fundamental Value (uncommon).

Because larger withdrawals create more slippage in the Curve pool, TRD depends on your withdrawal size.

Under the hood: contract getters and signed TRD formula

Both values are read directly from the market's LT vault contract:

  • Fundamental Value: LT.pricePerShare() (priced using the Curve pool's price_scale times the crvUSD/USD aggregator).
  • Redemption Value: LT.preview_withdraw(N) for a share amount N.

The signed, size-dependent TRD formula is:

TRD(N)=Redemption Value(N)Fundamental Value(N)−1\text{TRD}(N) = \frac{\text{Redemption Value}(N)}{\text{Fundamental Value}(N)} - 1

Because LT.preview_withdraw(N) returns native token units (asset_decimals) while N and LT.pricePerShare() use 18 decimals (1e18), normalize both sides to 18 decimals before dividing:

TRD(N)=preview_withdraw(N)×1018−asset_decimalsN×pricePerShare()/1018−1\text{TRD}(N) = \frac{\texttt{preview\_withdraw}(N) \times 10^{18 - \text{asset\_decimals}}}{N \times \texttt{pricePerShare}() / 10^{18}} - 1

For an 8-decimal asset such as cbBTC (asset_decimals = 8), multiply preview_withdraw(N) by 101010^{10}.

How the pool recenters after a price move​

Curve concentrates liquidity around an internal pricing reference. When external market prices move faster than that reference can step, live pool reserves drift out of balance and create negative TRD.

Three safeguards control how fast the pool recenters (repegs):

  1. Step limits: Each rebalance moves the internal price only part of the way toward market price.
  2. Profit protection (rebalance budget): The pool protects a share of lifetime fee profit for LPs. Recentering can spend only profit above that floor plus borrow-interest refueling donations. If the budget runs low, recentering pauses until new fees or donations refill it.
  3. One step per block: The pool can step its internal price at most once per Ethereum block.
Two panels illustrating repegging. Panel A (left): spot price aligns with centered Curve liquidity around price_scale, so Redemption Value matches Fundamental Value (TRD near 0%). Panel B (right): spot price moves ahead of a lagging price_scale, tilting live reserves so Redemption Value sits below Fundamental Value (TRD < 0).Two panels illustrating repegging. Panel A (left): spot price aligns with centered Curve liquidity around price_scale, so Redemption Value matches Fundamental Value (TRD near 0%). Panel B (right): spot price moves ahead of a lagging price_scale, tilting live reserves so Redemption Value sits below Fundamental Value (TRD < 0).

A TRD gap narrows through three paths:

  • Market reversion: External spot price moves back toward the pool's internal price, lifting Redemption Value toward Fundamental Value.
  • Pool recentering: The pool steps its internal price toward market price. Part of a large gap can close because Fundamental Value steps down as the pool catches up.
  • Budget replenishment: Trading fees and refueling donations refill the rebalance budget so recentering can continue.

Two-sided trading volume narrows TRD faster because it generates fees and pulls spot price back toward the pool's center. A sustained one-way trend forces the pool to step farther and can keep TRD open for weeks.

Under the hood: price_scale, rebalance budget, and pool policies

LT values collateral using the Curve Cryptoswap pool's price_scale, not a live external spot feed:

  • Step limits and profit floor: Each tweak_price step is bounded by the pool's adjustment_step() (and any attached policy's step cap) and can spend only profit above lp_xcp_profit (governed by reserved_profit_fraction()) plus donations from LT.distribute_borrower_fees().
  • Policy target (read POLICY() on the Curve pool):
    • On a pool running YBOraclizedPolicy: Signed Pyth Pro (Pyth Lazer) USD price reports drive a fast and slow exponential moving average (EMA) that sets the price_scale target, clamped within ±20%\pm 20\% of the pool's native price_oracle EMA.
    • On a pool running YBTwocryptoPolicy: The pool's own trade prices drive the price_scale target.
    • With no policy (0x0): price_scale moves toward the pool's native price_oracle EMA.

Comparing price_scale() against price_oracle() shows how far price_scale sits from recent pool trades (on a policy-attached pool, the policy target can differ from price_oracle).

How leverage rebalancing interacts with pricing​

Each time the Curve pool steps its internal price, collateral value updates and shifts leverage slightly away from 2×. That opens a small spread for arbitrageurs, who trade against the market to add or repay crvUSD debt until leverage returns to 2×.

If market prices shift between the moment you preview a deposit and the moment your transaction lands onchain, a deposit safety check can ask you to refresh your quote and resubmit.

Under the hood: LEVAMM debt targets and deposit guard

LEVAMM targets an exact 2× leverage equilibrium (debt = 50% of collateral value at the LP oracle price), enforced within a safe debt band of 6.25% (1/16) to 53.125% (17/32) of collateral value:

  • When price_scale steps, CryptopoolLPOracle updates collateral value in LEVAMM, opening an arbitrage spread that restores the 50% debt / 50% equity target.
  • On a pool running YBOraclizedPolicy, LT.deposit enforces the LT deviation check—verifying that newly added debt matches LEVAMM's existing debt-to-collateral ratio within ratio_tolerance() (capped at 10 bp / 0.10%). If price_scale or pool state shifts before execution, fetch a fresh quote and resubmit.

Deposits during a discount​

When TRD is negative, depositing can mint yb-LP shares whose Fundamental Value is higher than the asset amount you deposited (entry capture). Three rules apply:

  • Capture is usually smaller than abs(TRD): Curve imbalance fees reduce minted shares and accrue to existing holders. Entry capture shrinks as your deposit size grows.
  • Instant round trips lose money: Depositing during a discount and withdrawing immediately returns less than you deposited after pool entry and exit fees.
  • No free instant profit: New shares immediately inherit the same Redemption Value below Fundamental Value as every existing share.

Illustrative example (in cbBTC): Suppose TRD is −4%. You deposit 1.00 cbBTC and receive shares with a Fundamental Value of about 1.03 cbBTC:

  • Immediate withdrawal: returns about 0.99 cbBTC (1.03 × 0.96), a negative round trip.
  • Market price reverts to the pool's center: Redemption Value rises toward 1.03 cbBTC.
  • Pool catches up to market price: Fundamental Value steps down toward 0.99 cbBTC.
  • Discount widens past −4%: Redemption Value falls below 0.99 cbBTC.

Common questions about TRD​

Does TRD matter on entry, or only on exit?​

TRD affects both, in different ways:

  • On exit: Negative TRD directly reduces the BTC or ETH you receive if you withdraw immediately.
  • On entry: Depositing during negative TRD can mint shares with a higher Fundamental Value than your deposit, but those shares immediately inherit the same Redemption Value discount—and instant round trips lose money after pool fees.
  • Why deposits revert during deep TRD: Two safety checks can temporarily block new deposits when a market is heavily skewed. First, if a sharp drop pushes pooled debt above the safe leverage limit, deposits pause (shown in the app as deposits limited due to pool imbalance) until arbitrageurs or fees bring debt back inside the safe band. Second, on a pool running an oracle-backed fee policy, deposits must match the market's current debt-to-collateral ratio so new entries cannot skew leverage.
Under the hood: deposit guards during deep TRD
  • Safe debt band: LEVAMM enforces a debt-to-collateral band of 6.25% (1/16) to 53.125% (17/32) via its internal AMM.get_x0 check (an @internal function in AMM.vy, not an external getter). When pooled debt exceeds 53.125%, deposits revert with "Unsafe max".
  • Ratio guard (YBOraclizedPolicy): On a pool running YBOraclizedPolicy, LT.deposit enforces the LT deviation check using ratio_tolerance() (capped at 10 bp / 0.10%) so newly added debt stays aligned with LEVAMM's existing debt-to-collateral ratio.

Why does crash speed—not crash depth—drive TRD?​

A slow, steady decline—even a deep one—gives the Curve pool time to earn trading fees and step price_scale downward block by block, keeping TRD small. A rapid, one-way crash outruns the pool's per-block step caps and finite rebalance budget, opening a wide TRD gap even when the total percentage move is smaller.

Does the oracle-backed fee policy prevent TRD or close it faster?​

On a pool running an oracle-backed fee policy, fresh external price reports help the pool begin recentering earlier—before its slower internal trade-price average catches up. That helps prevent deep TRD from building up when the pool starts balanced. Once a wide TRD gap already exists, however, closing it still depends on the Curve pool's profit floor, rebalance budget, and per-block step caps—so it takes roughly the same time to close as without the policy.

Under the hood: YBOraclizedPolicy dual-EMA driver and price_oracle clamp

On a pool running YBOraclizedPolicy, signed Pyth Pro (Pyth Lazer) reports feed a fast and slow EMA that steers the price_scale target earlier than the pool's native trade-price EMA. That target remains clamped within ±20%\pm 20\% of the pool's native price_oracle EMA and is still bounded by the Curve pool's reserved_profit_fraction(), rebalance budget, and per-block step limits.

Effects that are not TRD​

Two other reductions in share value are separate from TRD and do not reverse when the pool recenters:

  • PPS drag (unstaked): When cumulative rebalancing costs after refueling exceed trading-fee income, share book value grows slowly or declines. Only future net fee income rebuilds it.
  • Watermark shortfall (staked): When pool losses push staked value below its watermark, staked shares can redeem for less than their value when staked even at 0% TRD until future gains close the gap. Read Positions and yield.

Next steps​