Liquidity and Pools
Explore how liquidity pools work, their importance in DeFi trading, and the concept of concentrated liquidity.
Understanding Liquidity
In financial markets, liquidity refers to how easily an asset can be bought or sold without causing a significant change in its price. High liquidity means there are many buyers and sellers, allowing for smoother transactions at stable prices.
Why Liquidity Matters
- Price Stability: Higher liquidity generally means less price volatility during trades
- Execution: Better liquidity allows larger orders to be filled without significant slippage (whales like this)
- Market Health: Liquid markets tend to be more resilient and efficient
- Trading Strategy: Understanding liquidity is crucial for timing entries and exits
In traditional finance, market makers provide liquidity by constantly offering to buy and sell assets. In DeFi, this function is primarily served by liquidity pools and their providers.
Liquidity Pools Explained
Liquidity pools are smart contracts containing pairs of tokens that allow users to trade between them. Instead of matching buyers with sellers (as in order books), decentralized exchanges use these pools to facilitate trades.
How Traditional (Constant Product) Liquidity Pools Work
Basic Mechanics
- Depositing Funds: Liquidity providers (LPs) deposit equal values of two tokens into a pool
- Creating a Market: These funds create a market where others can trade between the two tokens
- Automated Market Making: Prices are determined by a mathematical formula (often x*y=k)
- Fee Generation: When users trade, they pay fees that go to liquidity providers
- Withdrawal: LPs can withdraw their share of the pool plus earned fees at any time
The classic formula used by many AMMs is x * y = k
, where:
x
is the quantity of token A in the pooly
is the quantity of token B in the poolk
is a constant that doesn't change after trades (ignoring fees)
When someone trades with the pool, they add one token and remove the other, while keeping the product k
constant. This creates a price curve that increases smoothly and predictably as more of one token is purchased.
Concentrated Liquidity: The Evolution
Concentrated liquidity is an advancement over traditional liquidity pools, allowing providers to focus their capital within specific price ranges rather than across the entire price curve.
How Concentrated Liquidity Works
Instead of spreading liquidity from 0 to infinity, LPs choose:
- A lower price bound where their liquidity begins to be used
- An upper price bound where their liquidity stops being used
- The amount of each token to deposit within that range
Benefits include:
- Capital Efficiency: More efficient than traditional pools
- Customizable Strategy: LPs can target ranges where they expect trading to occur
- Higher Returns: More concentrated positions can earn higher fees per dollar invested
- Price Discovery: Creates visible support and resistance levels

Concentrated liquidity vs "traditional" constant product liquidity
Concentrated Liquidity and Market Structure
Concentrated liquidity positions create "walls" of liquidity at specific price points. These walls act as support and resistance levels that can significantly impact price movement.
How Liquidity Walls Form
Liquidity walls typically form at:
- Psychologically significant levels: Round numbers like $10, $100, $1000
- Technical levels: Major support/resistance from previous price action
- Strategy-based ranges: Levels where LPs expect trading to occur
- Popular default ranges: Many platforms suggest ranges that become crowded
When multiple LPs concentrate their liquidity at similar price levels, they create substantial liquidity walls that can prevent prices from easily moving through those levels.
Impermanent Loss: A Key Risk
One of the primary risks for liquidity providers is impermanent loss—the potential loss in value compared to simply holding tokens when prices change significantly.
Understanding Impermanent Loss
Impermanent (or "divergence") loss occurs because:
- When you provide liquidity, the pool maintains a ratio between tokens
- As prices change, the pool automatically rebalances, selling the appreciating token
- If you had simply held the tokens instead, you would have gained more from the price increase
- The loss is "impermanent" because it could reverse if prices return to the original ratio
Concentrated liquidity reduces impermanent loss risk when prices stay within your chosen range, but increases risk when prices move outside the range.
Liquidity Pools on Solana
Solana's high throughput and low fees make it an ideal blockchain for decentralized exchanges and liquidity pools. Some examples of popular platforms are:
Platform | Liquidity Type | Key Features | CLOBr Integration |
---|---|---|---|
Raydium | Constant Product (CPMM) Concentrated (CLAMM) | Long- or short-range position management, high volume | Full integration |
Orca | Constant Product (Splash Pools) Concentrated (Whirlpools) | User-friendly interface, Whirlpools offer "full-range" concentrated liquidity | Full integration |
Meteora | Constant Product (DYN/DAMM) Concentrated (DLMM) | Advanced DLMM (Bin sizing and fees, Range Allocation Strategies), Strong LP Community | Full integration |
Jupiter | N/A (Aggregator) | Limit orders, DCA orders, best price routing | Order data integrated |
Pumpfun | Constant Product | Pumpfun tokens "graduate" to pumpfun pools | Full integration |
Liquidity and CLOBr
CLOBr's primary function is to aggregate and visualize liquidity data from multiple sources, including:
- Concentrated liquidity positions across Raydium, Orca, and Meteora
- Limit (Trigger) orders from Jupiter
- DCA (Recurring) orders from Jupiter (pro-rated to show their 24-hour impact)
By visualizing this aggregated liquidity in 1% price buckets, CLOBr reveals:
- Support levels (buy walls) that may prevent prices from falling further
- Resistance levels (sell walls) that may cap price rises
- Liquidity gaps where prices might move rapidly due to insufficient liquidity
- The overall market structure that isn't visible from price charts alone
This information is invaluable for traders making decisions about when to enter or exit positions, and for liquidity providers deciding where to place their capital.