# What are market orders and limit orders?

### [Market Orders](/product-guides/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](broken://pages/cLN1wLuiZmGj1lrgq9Jw):&#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: 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.xei.finance/product-guides/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.
