
A headline DeFi yield is a gross number with the costs stripped out. The real figure is the displayed APR minus gas, minus slippage, minus rebalancing costs, minus protocol and performance fees, minus the opportunity cost of idle capital, plus or minus token price movement — and minus impermanent loss, the silent tax that can erase a 30 percent fee APY in a single sharp price swing. As emissions incentives have normalized and real protocol revenue (lending interest, trading fees, MEV capture) now drives most yields, comparing strategies on headline APY is not merely incomplete but actively misleading on an institutional time horizon. For an allocator backtesting a DeFi yield strategy, the metric that matters is net realized yield after every friction, and a backtest that omits those frictions is not a backtest — it is a brochure.
Net realized yield is the return an allocator actually keeps after simulating the full lifecycle of a position: entry, holding, any rebalances or compounding events, and exit. It is gross fee-and-reward income, minus the gas cost of every transaction the strategy requires, minus the slippage paid entering and exiting (a function of position size against pool depth), minus protocol deposit and withdrawal fees, minus any vault performance fee, minus impermanent loss measured against simply holding the underlying, and adjusted for the price path of any reward token denominated in something other than the base currency. A strategy quoting 12 percent that rebalances daily in a thin pool can net low single digits or worse once these are subtracted.
A credible backtest is built from five data primitives. First, historical pool state — TVL, volume, fee tier, and reserves over the simulation window, sourced from a subgraph or chain indexer. Second, a reference price feed to compute the value of holdings and the impermanent-loss term at each timestep. Third, gas-price history, so the cost of each modeled transaction reflects what gas actually cost that day rather than a flat assumption. Fourth, the AMM math — the constant-product or concentrated-liquidity curve that determines fee accrual and IL for the pool type. Fifth, a cost model that converts position size and pool depth into a slippage estimate for entry and exit. The trust assumptions sit on top, and they are where most backtests quietly fail: the historical data must be complete (indexers miss reorged blocks and thin pools), the simulation must use only information available at each timestep (no look-ahead bias), and the model must account for the allocator's own market impact rather than assuming fills at the observed mid-price.
Three distortions inflate a backtested yield. First, survivorship bias: a backtest run only on pools and protocols that still exist overstates returns by silently excluding the farms that went to zero. The honest universe includes the failures. Second, reward-token mark-to-market: a farm quoting 200 percent APR denominated in an emission token assumes that token holds its price, when selling the rewards at scale moves the market against the seller — the realized figure depends on the token's actual exit liquidity, not its quoted price. Third, ignored market impact: a backtest that assumes entry and exit at the observed price flatters any strategy large enough to move the pool, which is exactly the institutional size that matters. A 200 percent headline that survives only in a frictionless simulation is launch-incentive noise, not a sustainable strategy.
Net realized yield is the headline, but it needs companions to be actionable. Effective APR versus realized APY after fees and IL shows how much of the gross the frictions consume. Drawdown and time-to-recover under stress scenarios show what the strategy does when volatility spikes rather than in the calm window the backtest may have favored. Liquidity depth and entry/exit slippage show whether the position can be sized up or unwound without self-inflicted loss. Sharpe and Sortino ratios on the strategy's return series let an allocator compare risk-adjusted performance across strategies rather than chasing the highest raw number.
Healthy patterns: a strategy whose net realized yield in the backtest is a modest fraction below its gross, indicating low friction and durable fee revenue; stablecoin pairs (USDC/USDT generating 5 to 15 percent fee APY with negligible IL) where the backtest and the live result converge; and yields sourced from real protocol revenue rather than emissions. Unhealthy patterns: a large gap between gross APR and net realized yield, a strategy that only clears its costs during a specific funding regime, and reward-token-denominated yield with thin exit liquidity. For an allocator, the backtest links directly to real usage as a policy tier: a cash-equivalent stable sleeve sized to its net-of-cost yield, a yield-bearing sleeve in vetted vaults, and a discretionary sleeve where the higher gross is justified only if the backtest survives realistic costs. The constructive signal is that the tooling now surfaces net-of-cost yield and risk signals together — and the discipline of backtesting with real frictions is what separates a durable allocation from a chase that the gas and slippage quietly erase.
For informational purposes only. Not an offer to buy or sell any security. Available only to accredited investors who meet regulatory requirements.