> For the complete documentation index, see [llms.txt](https://docs.arcex.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.arcex.app/trading-basics/order-types.md).

# Order Types

#### Market Order

A **Market Order** is the simplest and most straightforward order type. When you place a market order, your trade is executed immediately at the best available price in the market.

**When to use it:** When you want to enter or exit a position quickly and you're not concerned about getting a specific price. This is perfect for beginners.

{% hint style="success" %}
**Example:** You see Bitcoin starting to surge and you want to open a long position right away. You place a market order to buy immediately.
{% endhint %}

#### Limit Order

A **Limit Order** allows you to set a specific price at which you want your order to be filled. Your order will only execute if the market reaches your specified price (or better).

**When to use it:** When you have a target entry or exit price in mind and you're willing to wait for the market to reach that level.

{% hint style="success" %}
**Example:** Bitcoin is currently trading at $45,000, but you believe it will dip to $44,000 before going higher. You place a limit order to buy at $44,000. Your order will only execute if the price drops to that level.
{% endhint %}


---

# 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.arcex.app/trading-basics/order-types.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.
