> For the complete documentation index, see [llms.txt](https://sparklexai.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sparklexai.gitbook.io/docs/fundamentals/liquidity-mechanics.md).

# Liquidity Mechanics

### **Classic AMMs**

Old-style pools such as Uniswap v2 spread your liquidity across every possible price. The good news is simplicity — you set it once and walk away. The downside is efficiency — most of your capital sits where trades rarely happen, so the fees you collect per dollar are thin.

### **Concentrated-Liquidity AMMs (CLMMs)**

Platforms like Uniswap v3 let you choose a price band. Park capital near the current market price and you stand where trading volume is hottest, which means a much larger slice of every swap flows to you. The trade-off is attention. Once the market price leaves your band, fee flow drops to zero until you move the position.

### **Timing Matters**

Re-ranging costs gas. Move too often and fees get eaten; move too late and you miss trades. The sweet spot lives between those extremes and depends on volatility, gas prices, and trade volume. That’s hard to juggle manually—especially across multiple chains.

### **Where SparkleX Helps**

<figure><img src="/files/rJmjMX1U42NxH27ZUmHD" alt=""><figcaption></figcaption></figure>

SparkleX Farming Vaults handle the whole cycle for you:

* Watch price and volatility to keep your liquidity **in range** where fees are highest.
* Pull, harvest, and **auto-compound** earned fees and incentives back into the position.
* Adjust band width when markets calm, widen when they chop, and hedge during sharp moves to reduce impermanent loss.

Done right—and done on time—the extra fees from staying in range easily outweigh the gas it takes to move. SparkleX automates that timing so your liquidity works like a pro, even when you're offline.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sparklexai.gitbook.io/docs/fundamentals/liquidity-mechanics.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
