# Automated Market Maker

radFi operates an Automated Market Maker, meaning that radFi is **always online** to quote prices for users interested in trading Runes.

Users that want to leverage radFi’s AMM will submit a PSBT from their trading wallet containing the assets they want to trade (e.g. 100,000 PUPS & 0.10 BTC) along with `OP_12` data containing their indicated upper and lower bound trading ranges (e.g. 50 sats <> 500 sats).

When traders request a quote, the price offered by radFi for a given asset pair (e.g. BTC/bUSD) is determined by a variation on the constant product formula (x\*y=k) known as [**Concentrated Liquidity**](https://docs.uniswap.org/concepts/protocol/concentrated-liquidity). Concentrated Liquidity allows LPs to set a custom range through which their assets will be made available for trading. radFi then executes their selected strategy when other traders request quotes.

The Concentrated Liquidity calculations themselves are implemented in an **EVM environment**. When a user requests a quote, the radFi AMM queries the EVM environment to determine the correct quote for the given trade request.


---

# 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.radfi.co/technical-architecture/automated-market-maker.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.
