# Market

DMEX is the only margin DEX that allows market orders. In effect, the market order is a Limit Order with a price slightly lower/higher than the best available price in the order book. So the Market Order is just a faster way to create a limit order with the price basically pre-filled.

{% hint style="info" %}
When creating a MARKET order, the DMEX app will create a LIMIT order with the price +/- 1% from the best available price in the order book.
{% endhint %}

{% hint style="danger" %}
MARKET orders will execute instantly and will always pay the taker fee.&#x20;
{% endhint %}

{% hint style="warning" %}
In rare cases, when a violent price move is happening the MARKET order will not execute, and instead will appear as a LIMIT order in the order list. That can happen when the price moves more than 1% while the order is being confirmed. In this case users have the option of cancelling the order and creating a new one, or waiting for the order to execute as a LIMIT order (in that case the user will only pay the maker fee).
{% 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.dmex.app/orders/market.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.
