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

# Limit Orders

Learn how limit orders work — one of the core tools in Swoop.

### What is a Limit Order?

A **limit order** is a request to buy or sell a token at a predefined **price** or **market cap**. Unlike **market orders** that are executed instantly at the current market rate, **limit orders** are only executed when the asset reaches your specified price or capitalization level.

Limit orders are a powerful tool for those who want to control **entry points**, **take-profit**, or **stop-loss levels** — without having to monitor the market 24/7.\
You simply set your target as a percentage of the entry price, and the order will trigger automatically when the conditions are met.

{% hint style="info" %}
🔧 You can customize the order with additional parameters to fine-tune it for your strategy.
{% endhint %}

## Limit Order Capabilities

[Swoop](https://t.me/swoop_solana_bot) allows you to place limit orders for both **buy** and **sell** actions.\
Available options depend on whether you hold the token in your wallet.

### If you don’t have the token

You can create a **limit buy** order.

<div align="left"><figure><img src="https://1965679461-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6ChFFAAPr98iDFraSOTh%2Fuploads%2Fz0MY4DVmzIxfVWggDUJj%2Fimage.png?alt=media&amp;token=ca40f4a5-cab2-4907-9e96-978eeacea7ad" alt="" width="375"><figcaption></figcaption></figure></div>

Or, buy the token instantly and set a **limit sell** afterward.

<div align="left"><figure><img src="https://1965679461-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6ChFFAAPr98iDFraSOTh%2Fuploads%2FzYTu3DJVWWUl32j8sLh3%2Fimage.png?alt=media&amp;token=7b1a00b7-aec7-414d-a011-2ffdc663727d" alt="" width="375"><figcaption></figcaption></figure></div>

### If you already hold the token

You can create a **limit sell** order.

<div align="left"><figure><img src="https://1965679461-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6ChFFAAPr98iDFraSOTh%2Fuploads%2F6azyxMAvbnFKa7oR2WmW%2Fimage.png?alt=media&amp;token=7d44fa9d-b629-48e9-a70c-232b8a342b47" alt="" width="375"><figcaption></figcaption></figure></div>

Or, sell the token instantly at the current price.

<div align="left"><figure><img src="https://1965679461-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6ChFFAAPr98iDFraSOTh%2Fuploads%2FrIIbl9B4GfuTgaFEdbYV%2Fimage.png?alt=media&amp;token=5d5950cf-07f6-4316-87cc-ae1918b56eac" alt="" width="375"><figcaption></figcaption></figure></div>

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><p><strong>Limit Buy</strong>                      </p><p></p><p><strong>View guide</strong></p></td><td><a href="https://1965679461-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6ChFFAAPr98iDFraSOTh%2Fuploads%2F6if5VCRzUsF0UMdX5Ud8%2FFrame%2049.png?alt=media&amp;token=e7598e6b-99cc-4240-9cd2-2ae2c8468233">Frame 49.png</a></td><td><a href="https://docs.swoop.fun/limit-orders/limit-buy.md">Limit Buy</a></td></tr><tr><td><p><strong>Limit Sell</strong>                           </p><p></p><p><strong>View guide</strong> </p></td><td><a href="https://1965679461-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6ChFFAAPr98iDFraSOTh%2Fuploads%2F6if5VCRzUsF0UMdX5Ud8%2FFrame%2049.png?alt=media&amp;token=e7598e6b-99cc-4240-9cd2-2ae2c8468233">Frame 49.png</a></td><td><a href="https://docs.swoop.fun/limit-orders/limit-sell.md">Limit Sell</a></td></tr><tr><td><p><strong>Active Orders</strong>                   </p><p></p><p><strong>View guide</strong> </p></td><td><a href="https://1965679461-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6ChFFAAPr98iDFraSOTh%2Fuploads%2F6if5VCRzUsF0UMdX5Ud8%2FFrame%2049.png?alt=media&amp;token=e7598e6b-99cc-4240-9cd2-2ae2c8468233">Frame 49.png</a></td><td><a href="https://docs.swoop.fun/limit-orders/active-orders.md">Active Orders</a></td></tr></tbody></table>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.swoop.fun/limit-orders.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
