> For the complete documentation index, see [llms.txt](https://docs.udex.one/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.udex.one/faq/what-are-market-orders-and-limit-orders.md).

# What are market orders and limit orders?

### [Market Orders](/tutorial/how-to-start-a-market-swap.md):&#x20;

A market order is an instruction to buy or sell a token immediately at the current market price. It's executed quickly but doesn't guarantee a specific price. This type of order is suitable when speed is more critical than price.&#x20;

### [Limit Orders](/tutorial/how-to-start-a-limit-swap.md):&#x20;

A limit order is an instruction to buy or sell a token at a specific price or better. You set the maximum price you’re willing to pay, or the minimum price you’re willing to accept. The trade will only execute if the market price reaches your set limit.


---

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

```
GET https://docs.udex.one/faq/what-are-market-orders-and-limit-orders.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.
