# Liquidity Pool Farming (DeFi Yield)
**Moeilijkheid:** advanced · **Timeframe:** Weeks to months · **Asset:** cryptocurrency, DeFi tokens
**Strategie van:** Andre Cronje (Yearn Finance founder)
**Risk/Reward:** Very high risk, very high reward potential

## Samenvatting
Verschaf liquiditeit aan DeFi protocollen, verdien handelskosten + token beloningen. Hoog jaarrendement maar aanzienlijke risico's.

Liquidity Pool Farming houdt in dat je crypto paren (bijv. ETH/USDC) deponeert in gedecentraliseerde exchanges (Uniswap, Curve, Balancer) om trading mogelijk te maken. Als beloning verdien je: 1) Handelskosten van swaps, 2) Liquidity mining beloningen (protocol tokens), 3) Soms extra incentives. Jaarrendementen kunnen 50-200%+ bereiken tijdens piekperiodes in gedecentraliseerde financiën. Grote risico's: impermanent loss, slimme contractkwetsbaarheden, oplichting, token price crashes.

## Kernprincipes
- Understand impermanent loss before starting
- Diversify across multiple pools/protocols
- Prefer established protocols (Uniswap, Curve, Aave)
- Regularly claim and compound rewards

## Instap-regels
- Choose established protocol (TVL > $100M)
- Understand token pair correlation (stablecoins = lower IL)
- Check smart contract audits
- Start with small amount to learn

## Uitstap-regels
- Remove liquidity if APY drops below 20%
- Exit if TVL drops 50%+ (de-risking)
- Monitor for smart contract warnings
- Take profits regularly (don't let rewards accumulate)

## Risico's
- Never invest more than 10-20% portfolio in DeFi
- Use separate wallet for DeFi (limit exposure)
- Monitor daily for protocol changes
- Understand impermanent loss calculator
- Avoid new/unaudited protocols

## How Liquidity Pools Work: The AMM Revolution
Traditional exchanges use order books—buyers and sellers place orders that match based on price. Decentralized exchanges (DEXs) revolutionized this with Automated Market Makers (AMMs). Instead of order books, AMMs use liquidity pools: smart contracts holding pairs of tokens (like ETH/USDC) that anyone can trade against.

When you provide liquidity, you deposit equal values of both tokens into the pool. The AMM algorithm (typically x*y=k, where x and y are token quantities and k is a constant) determines prices based on the ratio of tokens in the pool. When traders swap tokens, they change this ratio, which moves the price.

You earn fees every time someone trades. Uniswap charges 0.3% per swap, split among all liquidity providers proportional to their share. If you provide 1% of the pool's liquidity, you earn 1% of all fees. During high-volume periods, these fees can generate substantial returns—sometimes 50-100%+ APY.

## Impermanent Loss Explained: The Hidden Risk
Impermanent loss (IL) is the most misunderstood concept in DeFi. When you provide liquidity, you're exposed to price changes between your paired tokens. If one token rises or falls significantly against the other, you end up with more of the losing token and less of the winning token.

Example: You deposit $5,000 ETH + $5,000 USDC (total $10,000). ETH doubles in price. If you had just held, you'd have $15,000 (your ETH is now worth $10,000). But the pool rebalanced—you now have ~$12,250 worth of tokens. The $2,750 difference is impermanent loss. It's 'impermanent' because if ETH returns to original price, the loss disappears.

Mitigation strategies: Provide liquidity to correlated pairs (stablecoins like USDC/USDT have near-zero IL), use concentrated liquidity wisely, or farm volatile pairs only when reward APY exceeds expected IL. Impermanent loss calculators help estimate risk before depositing.

## Yield Farming Strategies: Stable vs Volatile Pairs
Stable pairs (USDC/USDT, DAI/FRAX) offer 5-20% APY with minimal impermanent loss—both assets maintain roughly equal value. This is the 'safer' DeFi yield, similar to a high-yield savings account but with smart contract risk. Curve Finance specializes in stable pools with optimized slippage.

Volatile pairs (ETH/USDC, BTC/ETH) offer higher APY (30-100%+) but expose you to significant impermanent loss. The math: you need rewards to exceed IL. If ETH moves 50%, your IL is roughly 2.5%. If your APY is 40%, you're still profitable—but if ETH moves 100%, IL is about 5.7%.

Advanced strategy: Layer your yield. Deposit into Curve to get LP tokens, then stake those LP tokens on Convex Finance for additional CRV and CVX rewards. Andre Cronje's Yearn Finance automated this 'yield aggregation,' automatically moving funds to highest-yielding opportunities.

## Protocol Selection and Smart Contract Risks
Not all DeFi protocols are safe. Due diligence is essential before depositing funds. Key criteria: How long has the protocol existed? (Prefer 1+ year track record). Is the code audited? (Check for audits from Trail of Bits, OpenZeppelin, Consensys Diligence). What's the Total Value Locked (TVL)? (Higher TVL = more battle-tested, prefer >$100M).

Smart contract risk is real. In 2021-2022, over $3 billion was lost to DeFi exploits. Common attack vectors: flash loan attacks, oracle manipulation, reentrancy bugs, admin key compromises. Even audited protocols have been hacked.

Risk management: Never invest more than 10-20% of your portfolio in DeFi. Use a separate 'hot wallet' with only your DeFi funds—if compromised, your main holdings are safe. Revoke token approvals regularly using tools like Revoke.cash. Monitor protocol health through DefiLlama and follow protocol Discord/Twitter for alerts. When yields seem too good (1000%+ APY), they usually are—high yields often signal unsustainable tokenomics or imminent rug pulls.

Bron: https://daytraders.nl/strategies/liquidity-pool-farming-defi-yield