> For the complete documentation index, see [llms.txt](https://mdexdoc.gitbook.io/doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mdexdoc.gitbook.io/doc/yong-hu-zhi-nan/manual-for-mdex-order-book-function.md).

# Manual for MDEX order book function

1.Go to MDEX website and click “Markets"

![](/files/ogNIwpq90eMT0rQMhsmh)

2.On the “Markets” page, select the token pair you need to trade, or search it in the search bar. (At present, only some of the token pairs support the pending order function. )

![](/files/sEpjq1ERBDYacCtHSqGs)

3.After you find the token pair, click it to enter the order book trading page and authorize the transaction (the left side is buy, the right side is sell).

![](/files/2E25l6arrursgbS2rW2v)

4.Click "Limit Trading", and enter the price and quantity of the order you want to buy (sell) or the total value.

![](/files/qI1dvmiRItc033JsnNe8)

5.After entering the price and quantity, click "Buy" or "Sell" and authorize the transaction, and then sign.

Note: After the contract is permanently authorized, you will not need to authorize again. It is recommended to authorize only this transaction.

6.The system will send a message after the order is successfully placed and automatically match your transaction with other participants.

Note: After the order is successfully place, the match-making will continue for 3 days. If no deal is made during this period, the system will stop brokering the transaction (\*but the user also needs to manually cancel the order).

7.Users can check the "current order" and "historical orders"

Note:

1. MDEX has upgraded the technology for the new function to combine the order book and AMM liquidity pool of varying depths. This will solve the commonplace issue of transaction failures caused by different order book depths, and thereby offer you better trading experience.
2. The order book function for pending order will be launched in HECO and BSC chains at the same time.


---

# 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://mdexdoc.gitbook.io/doc/yong-hu-zhi-nan/manual-for-mdex-order-book-function.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.
