What Is Yield Farming?
Yield farming is the practice of deploying crypto assets across DeFi protocols to generate the highest possible returns. Farmers provide liquidity to AMMs, lend assets on money markets, stake tokens in governance protocols, and often compound rewards across multiple layers to maximize APY.
How Yield Farming Works
A typical yield farming strategy might involve:
- Providing ETH/USDC liquidity on Uniswap to earn trading fees
- Depositing the LP tokens on a yield optimizer that auto-compounds
- Staking reward tokens for additional governance yield
Returns come from trading fees, protocol incentive emissions (token rewards), and interest from lending. APYs can range from 2-5% on stablecoins to 100%+ on new protocol incentive programs (though high APYs usually come with high risk).
Why It Matters for Traders
Yield farming represents the intersection of trading and DeFi. Understanding yield sources, assessing smart contract risk, and calculating real returns after impermanent loss and gas costs are essential skills. For traders with idle capital, farming provides yield during sideways markets, and farming analytics reveal where capital is flowing in the DeFi ecosystem.
How It Shows Up for Perps Traders
Even if you mainly trade CEX perps, yield farming still matters when you hedge with spot, move collateral across chains, or compare DEX perps funding to CEX funding. Thin pool depth and oracle lag can widen the gap between the index you hedge and the book you trade.
Formula and Worked Example
Example numbers only (not a live quote).
Suppose you compare a spot bag and a short perp hedge. If the hedge notional is $5,000 and the spot bag drifts 2% while the hedge mark moves 1.2%, the residual basis is 0.8% of notional, or $40 on that $5,000 book. That gap is the cost of an imperfect hedge, separate from funding.
Common Mistakes
- Treating a single print of yield farming as a trade signal without checking funding, open interest, and your liquidation price.
- Mixing venue conventions (coin-margined vs USDT-margined, cross vs isolated) and reading the wrong mark.
- Copying example numbers from a glossary into live size without checking the current book depth and fee schedule.
- Ignoring related terms that change the meaning of the print on a given day.