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

# Market Order

## <mark style="color:green;">Place a Market Order</mark>

{% stepper %}
{% step %}

### Pick a Token

<mark style="color:$info;">Use the</mark> <mark style="color:$info;"></mark><mark style="color:$info;">**Search bar**</mark> <mark style="color:$info;"></mark><mark style="color:$info;">to find any token by name, ticker, or contract address — or browse through</mark> <mark style="color:$info;"></mark><mark style="color:$info;">**Trending**</mark><mark style="color:$info;">,</mark> <mark style="color:$info;"></mark><mark style="color:$info;">**New Pairs**</mark><mark style="color:$info;">, or</mark> <mark style="color:$info;"></mark><mark style="color:$info;">**Meme Zone**</mark> <mark style="color:$info;"></mark><mark style="color:$info;">and tap a token to open its trading panel</mark>

<figure><img src="/files/0spuMhcvspVfcLISoYS6" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Select Your Wallet

<mark style="color:$info;">Choose which wallet to trade with from your list. Your</mark> <mark style="color:$info;"></mark><mark style="color:$info;">**primary wallet**</mark> <mark style="color:$info;"></mark><mark style="color:$info;">is selected by default, but you can switch to any wallet</mark>

<figure><img src="/files/U6Usw5THa7T8OTCF1zkn" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Choose Buy or Sell

<mark style="color:$info;">Ensure the "</mark><mark style="color:$info;">**Market**</mark><mark style="color:$info;">" tab is selected for instant execution</mark>

{% tabs %}
{% tab title="Buy" %}
Select `Buy` to purchase the token with SOL

<div align="left"><figure><img src="/files/IE3u0yXCVBejKyriEMM9" alt="" width="563"><figcaption></figcaption></figure></div>
{% endtab %}

{% tab title="Sell" %}
Select `Sell` to sell the token you hold

<div align="left"><figure><img src="/files/yUsAzBlq9FeQKwMrQtfE" alt="" width="563"><figcaption></figcaption></figure></div>
{% endtab %}
{% endtabs %}
{% endstep %}

{% step %}

### Enter the Amount

<div align="left"><figure><img src="/files/WWz70GlTLOvJ2GJChT9y" alt="" width="563"><figcaption></figcaption></figure></div>

* <mark style="color:$info;">You can enter the amount in either</mark> <mark style="color:$info;"></mark><mark style="color:$info;">**SOL**</mark> <mark style="color:$info;"></mark><mark style="color:$info;">or</mark> <mark style="color:$info;"></mark><mark style="color:$info;">**USD**</mark> <mark style="color:$info;"></mark><mark style="color:$info;">(use the toggle)</mark>
* <mark style="color:$info;">Use the preset shortcuts (</mark><mark style="color:$info;">`0.01`</mark><mark style="color:$info;">,</mark> <mark style="color:$info;"></mark><mark style="color:$info;">`0.1`</mark><mark style="color:$info;">,</mark> <mark style="color:$info;"></mark><mark style="color:$info;">`0.5`</mark><mark style="color:$info;">,</mark> <mark style="color:$info;"></mark><mark style="color:$info;">`1`</mark><mark style="color:$info;">)</mark>
* <mark style="color:$info;">Or use the slider to choose a percentage of your balance</mark>
  {% endstep %}

{% step %}

### Review Advanced Settings (optional)

<div align="left"><figure><img src="/files/YlU5GAn9alWkUjvswJ2L" alt="" width="563"><figcaption></figcaption></figure></div>

* <mark style="color:$info;">**Slippage**</mark> <mark style="color:$info;"></mark><mark style="color:$info;">— Max price movement you're willing to accept</mark>
* <mark style="color:$info;">**Priority Fee**</mark> <mark style="color:$info;"></mark><mark style="color:$info;">— Small extra fee to help speed up your transaction</mark>
* <mark style="color:$info;">**Bribery Fee**</mark> <mark style="color:$info;"></mark><mark style="color:$info;">— Optional fee to help validators include your transaction faster</mark>
* <mark style="color:$info;">**MEV Protection**</mark> <mark style="color:$info;"></mark><mark style="color:$info;">— Turn this ON to protect your trade from front-running. OFF = faster, ON = more secure</mark>

<mark style="color:$info;">These are pre-filled with default values optimized for most users, but you can customize them based on your needs. Learn more about</mark> [Settings](/docs/features-and-tools/settings.md)
{% endstep %}

{% step %}

### Click Buy or Sell

<mark style="color:$info;">A notification will confirm submission, and successful purchases will show the token in your</mark> <mark style="color:$info;"></mark><mark style="color:$info;">**Portfolio**</mark>
{% endstep %}

{% step %}

### <a href="https://xtrade.xyz/meme-zone" class="button primary" data-icon="bullseye-arrow">Snipe It</a>

{% endstep %}
{% endstepper %}

{% hint style="success" %}
Market orders execute immediately at the best available price. However, in volatile or low-liquidity markets, the final price may vary slightly due to slippage and fees.
{% endhint %}

### :bulb: <mark style="color:orange;">Why Use a Market Order?</mark>

* <mark style="color:$info;">**Fast execution**</mark> <mark style="color:$info;"></mark><mark style="color:$info;">— fills instantly at the current best price</mark>
* <mark style="color:$info;">**Simple and beginner-friendly**</mark> <mark style="color:$info;"></mark><mark style="color:$info;">— no need to set a price</mark>
* <mark style="color:$info;">**Great for momentum trades**</mark> <mark style="color:$info;"></mark><mark style="color:$info;">or when price is moving fast</mark>


---

# 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://xtrade.gitbook.io/docs/trading/market-order.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.
