Yield farming and liquidity pools
How decentralised exchanges work, where pool fees and incentives come from, and what impermanent loss really means.
9 min readEducational, not financial advice
What it is
Decentralised finance (DeFi) is a set of financial services built from smart contracts. One of its basic parts is the decentralised exchange. Instead of matching buyers with sellers in an order book, many exchanges use liquidity pools: shared pots of two assets that traders swap against at a price set by a formula.
People who add assets to a pool are called liquidity providers. They earn a share of every trading fee the pool collects. Many protocols also pay extra rewards in their own token to attract providers. Collecting these fees and incentives, and moving funds to where they pay best, is yield farming.
How we do it
- Choose established protocols with deep liquidity, audits and a long track record.
- Provide liquidity by adding paired assets to a pool.
- Collect trading fees and incentive tokens, then sell or reinvest them.
- Rebalance, and move on when yields fade or conditions change.
Impermanent loss, with numbers
When prices move, the pool automatically rebalances so that it holds more of the asset that fell and less of the one that rose. The provider ends up with a different mix than they started with. 'Impermanent' because it shrinks if prices return to where they began; 'loss' because compared with simply holding, the provider is worse off.
The risks of yield farming
- Smart contract risk. A bug in a protocol's code can be exploited and funds can be lost, even if the protocol was audited.
- Impermanent loss, as above, which is larger for assets whose prices move apart.
- Incentive token risk. Reward tokens can lose value quickly after they are paid out.
- Protocol and governance risk. A protocol can be attacked, abandoned or changed.
How the risks are reduced
Use only established and independently audited protocols. Cap how much sits in any single protocol so that one failure cannot take a large share. Prefer pairs whose prices move together, such as two similar assets, to reduce impermanent loss. Sell reward tokens regularly instead of holding them.
How we manage the risk
We use only established protocols that have been independently audited and have a long record.
Exposure to any single protocol is capped, so a failure cannot take a large share.
We prefer pairs with less price movement to reduce impermanent loss, and exit when conditions change.
These are the controls we describe on our strategy page. They reduce risk but do not remove it, and results are never guaranteed.