DeFi & Yield · Liquidity Pools
Liquidity Pools & AMMs
Investment Education, Research & Tools for Smarter Decisions.
Learn how automated market makers (AMMs) use contract-defined formulas to quote trades and redistribute inventory between liquidity providers. Understand fees, impermanent loss, and exit risk before providing liquidity.
Why this subcategory matters
A pool annual percentage yield (APY) compresses several independent effects: trade fees, incentives, inventory change, token prices, range activity, gas, and exit costs. Understanding the mechanics prevents the common mistake of viewing a liquidity provider (LP) position as a fixed two-asset deposit.
Direct answer: Liquidity pools use contract-defined rules to quote trades and redistribute inventory. Liquidity providers can earn fees while accepting changing token quantities, relative-performance risk, contract risk, and active range-management obligations.
Core concepts
- Pool reserves
- Assets available to the pricing curve or range.
- LP claim
- A proportional or range-specific claim on current pool assets and accumulated fees.
- Price impact
- The price change caused by consuming finite liquidity.
- Arbitrage
- Trades that move pool prices toward external markets and alter LP inventory.
- Impermanent loss
- Relative performance versus a stated hold benchmark.
Learning path
| Lesson | Purpose |
|---|---|
| Liquidity Pools Explained | Understand shares, reserves, fees, and withdrawals. |
| AMMs, Slippage, and Arbitrage | Connect quotes with execution and pool repricing. |
| Impermanent Loss | Compare the LP position with holding. |
How to study this material
Read the pages in order when the topic is new. For each lesson:
- Write the position or transaction in plain language.
- Identify the assets, contracts, network, data, and control dependencies.
- Reconstruct the cash flow or token flow.
- State what can change after entry.
- Define the evidence that would change the decision.
- Map the exit and recordkeeping steps.
Use examples to learn mechanics, not as live protocol parameters. Current values must come from primary documentation and on-chain state.
Decision gate
Before moving from reading to execution, answer:
- Would you willingly hold each underlying asset?
- Can you model inventory after a large relative price move?
- Are fees separated from token incentives?
- How much time is the position expected to remain in range?
- What transactions and costs are required to exit?
An unmodeled inventory swing, an unclear fee-versus-incentive split, or an unmapped exit path is not a neutral score. It is a reason to keep the position out of range of a decision, provide less liquidity, test with a smaller deposit, or skip the pool.
Related Swoopr Investment hubs
- Crypto Fundamentals: blockchain, token, wallet, and stablecoin concepts
- Wallet Security and Scam Detection: operational safeguards
- Tokenomics: reward emissions, unlocks, governance, and dilution
- Risk Management: position sizing and concentration
- Crypto Taxes and Records: transaction documentation
- Market Structure: execution, spreads, liquidity, and slippage concepts
Frequently asked questions
What is impermanent loss actually measuring?
It measures the difference between two outcomes: simply holding the two assets, and supplying them to a pool over the same period. The gap comes from the pool rebalancing as prices diverge. The word impermanent is misleading, because the loss becomes permanent the moment the position is withdrawn at those prices.
Why did my trade execute at a worse price than the quote showed?
Two effects, and they compound. Price impact is the pool curve moving as your own trade consumes liquidity, and it grows with trade size relative to pool depth. Slippage is other transactions landing before yours and changing the pool state you were quoted against.
Do trading fees always make up for impermanent loss?
No. Fees accrue with volume while divergence loss grows with price separation between the two assets, and the two are independent. A pool can earn substantial fees and still leave a supplier worse off than holding, or earn very little and leave them better off if prices barely move.
Does a larger pool always give a better price?
Depth reduces price impact for a given trade size, so it usually helps. It is not the only factor: the fee tier, how the trade is routed, and the shape of the pool curve all affect the final price. A deep pool with a high fee tier can be worse than a shallower one with a low tier.
Next step
Use the Yield & Impermanent-Loss Calculator, then review Position Management.
Return to the DeFi & Yield learning hub.
References
Educational disclaimer
Educational information only; not investment, tax, legal, or personalized financial advice.