> For the complete documentation index, see [llms.txt](https://docs.collection.xyz/guides/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.collection.xyz/guides/collection-concepts/liquidity-pool/advanced-pool.md).

# Advanced Pool

Liquidity providers can now specify the group of NFTs they want to trade against — the pool filter.

* User will interact with filtering functions (by traits, or other attributes) on Collection’s interface.
* The list of corresponding NFT tokenIDs will be hashed using our opensource library into a Merkle Root filter. (*This list of NFTs (the allowedSet) is different from the NFTs put into the pool (the actualSet). The actualSet is a subset of the allowedSet.)*
* After depositing their assets, they can proceed to set parameters such as fees, bonding curve, delta and royalty.
* Traders who want to trade against the liquidity in the pool will need to provide a proof (again from our opensource library, which we automatically calculate in our frontend) to buy or sell against the pool. The proofs guarantee only NFTs meeting the specific sub-criteria can enter the pool through the buy or sell functions.

{% hint style="info" %}
*For example, Alex decides to create an Advanced Pool for Golden Azuki. Using Collection.xyz, he filters all Golden Azukis for the pool he wants to trade against. He then proceeds to deposit his own Golden Azuki into the pool and set the parameters accordingly.*

*The pool is now live, and other traders can buy the Azuki at the set-price. For traders who own a Azukis, only Golden Azukis can be sold into the pool (based on requirements created when setting up the pool)*.
{% endhint %}

The example above is used specifically for 2-sided Advanced Pool.

It is pivotal to understand the concept that the group of NFTs you select in the UI at the point of pool creation, and hence trading against, is not the same as the NFTs you have to deposit into the pool. After customizing the pool, you have to choose which NFTs to deposit.&#x20;

*Note: Currently the DApp interface will help you add the tokenIDs into the pool filter if you happen to choose any tokenIDs from your wallet that you did not add into the filter earlier in the customization process.*

<figure><img src="/files/TZqjyLR3X6NL8CnQ1RQT" alt=""><figcaption><p>Create an advanced pool</p></figcaption></figure>


---

# 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://docs.collection.xyz/guides/collection-concepts/liquidity-pool/advanced-pool.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.
