# Trade on the order books

Loopring is more than just an AMM. It is also an order book DEX. So if you rather ‘trade’ a pair on the books rather than the pool, head over to the ‘[Trade](/trade/swap-assets.md)’, tab at top and then select ‘<mark style="color:blue;">Order Book</mark>’

There you will see the familiar order book layout, displaying bids and asks, a price chart, price history, etc.&#x20;

{% hint style="info" %}
Sometimes the order books has different asset pairs than the AMM pool. Especially stablecoin to stablecoin pairs.
{% endhint %}

<figure><img src="/files/2qRdhy7f8nnlwUxdkJvs" alt=""><figcaption></figcaption></figure>

The orderbook supports <mark style="color:orange;">**limit orders**</mark>, meaning you can state the price you want to buy or sell at, and leave it resting on the books. Someone can then come along and fill your order. This way, you are guaranteed to get the price you want.

The order book also supports <mark style="color:orange;">**market orders**</mark>, meaning you can buy or sell at the prevailing best ask or bid. It is important to note that when making a market order, you don’t have control over the price that you will pay — the order will fill with the best available liquidity there is.

{% hint style="info" %}
**Did you know?**

<mark style="color:orange;">**Makers receive rebates**</mark> on their orders that get filled on the books. The rebate is 0.02% (2 bps). So any resting limit order you have that gets taken by another user, you earn 0.02% of that amount — i.e., a negative fee!\
\
in addition to maker rebates, there is also often <mark style="color:orange;">**liquidity mining for order book pairs**</mark>! This incentivizes users (especially market makers or algorithmic traders) to place tight resting limit orders on the books, and receive rewards for providing that liquidity (being a maker) for others to take. Learn more about how order book liquidity mining works [here](https://medium.com/loopring-protocol/loopring-exchange-liquidity-mining-competition-748917b277e6). If you want to plug into the order books to trade or MM programatically, [here is the API](https://docs-protocol.loopring.io/). You may also want to plug into an existing market making software that is connected to Loopring L2 DEX, such as [Hummingbot](https://docs.hummingbot.io/exchanges/loopring/)!
{% endhint %}


---

# 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-dapp.loopring.io/trade/swap-assets/trade-on-the-order-books.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.
