# Liquidity Book vs Uniswap V3

#### Liquidity Book vs Uniswap V3 <a href="#liquidity-book-vs-uniswap-v3" id="liquidity-book-vs-uniswap-v3"></a>

Both Liquidity Book and Uniswap V3 are concentrated liquidity AMMs with some subtle differences:

* Price ranges are discretized into bins instead of ticks
* Bin steps (or tick sizes) can be more than 1 basis point
* Bins use constant sum invariant instead of constant product
* Liquidity is aggregated vertically instead of horizontally
* Liquidity positions are fungible
* Liquidity positions are not restricted to uniform distribution across its price range; they can be distributed in any shape desired
* Swap fees have fixed + variable pricing, which allows the AMM to charge more fees when market experiences high volatility.


---

# Agent Instructions: 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:

```
GET https://docs.swapline.com/swapline/features/earn/liquidity-book-learning/liquidity-book-vs-uniswap-v3.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
