# Limit Orders

To trade like the pros, take advantage of Shotgun's Limit Orders system. This fundamental form of automated trading lets you set a precise market cap target for your buy or sell, ensuring your trade executes only at your desired level - regardless of where the market is right now.

With limit orders, you can step away from the screen, hold onto your conviction trades, and eliminate emotional decision-making. Simply use the slider bar in the trading menu or drag and drop the market cap line directly on the chart for seamless order placement.

<figure><img src="/files/xCp1XVRqhiNn1x0T02ga" alt=""><figcaption></figcaption></figure>

***

## Order Types

### 🟢 Buy Dip (Limit Buy)

A **Buy Dip** order automatically purchases a token when its market cap falls to your specified target level.

**Use it when:** You believe a token will dip before pumping and want to enter at a better market cap without watching the chart.

**How to set up:**

{% stepper %}
{% step %}

#### Open the trading panel and select "Limit"

Navigate to the token you want to buy and switch from Market to Limit mode.
{% endstep %}

{% step %}

#### Select "Buy Dip" and enter your target market cap

Enter the market cap (or % below current) at which you want the order to trigger.
{% endstep %}

{% step %}

#### Enter the amount to buy

Specify how much SOL to spend when the order triggers. Quick-select buttons are available (e.g. 0.1, 0.5, 1 SOL).
{% endstep %}

{% step %}

#### Confirm the order

Review the market cap context shown next to your target. Click confirm - the order is now live and will execute automatically.
{% endstep %}
{% endstepper %}

**Example:** Token is trading at $48.2K market cap. You set a Buy Dip at $46.1K market cap for 0.5 SOL. If the market cap drops to $46.1K, Shotgun automatically buys.

***

### 🔴 Stop Loss (Limit Sell)

A **Stop Loss** order automatically sells a portion (or all) of your position if the market cap drops to a specified level, protecting you from further losses.

**Use it when:** You're in a position and want to cap your downside risk without needing to watch the chart.

**How to set up:**

{% stepper %}
{% step %}

#### Open the trading panel and select "Limit"

Navigate to the token you hold and switch to Limit mode.
{% endstep %}

{% step %}

#### Select "Stop Loss" and enter your trigger market cap

Enter the market cap at which the sell should trigger. You can also drag the stop loss line directly on the chart.
{% endstep %}

{% step %}

#### Set the sell quantity

Choose a fixed token amount or select a percentage of your position (25% / 50% / 75% / 100%).
{% endstep %}

{% step %}

#### Confirm the order

Click confirm. The order monitors the market cap and executes automatically if the trigger is hit.
{% endstep %}
{% endstepper %}

**Example:** You bought at $50.2K market cap. You set a Stop Loss at $48.1K market cap for 100% of your position. If the market cap drops to $48.1K, Shotgun automatically sells your entire holding.

***

### 🟡 Take Profit (Limit Sell)

A **Take Profit** order automatically sells a portion (or all) of your position when the market cap rises to your target, locking in gains.

**Use it when:** You have a market cap target in mind and want to guarantee you sell at that level without being glued to the chart.

**How to set up:**

{% stepper %}
{% step %}

#### Open the trading panel and select "Limit"

Navigate to the token you hold and switch to Limit mode.
{% endstep %}

{% step %}

#### Select "Take Profit" and enter your target market cap

Enter your exit market cap. You can also drag the take profit line directly on the chart.
{% endstep %}

{% step %}

#### Set the sell quantity

Choose a fixed amount or a percentage (25% / 50% / 75% / 100%).
{% endstep %}

{% step %}

#### Confirm the order

Click confirm. Shotgun monitors the market cap and automatically sells when the target is reached.
{% endstep %}
{% endstepper %}

**Example:** You bought at $50.1K market cap. You set a Take Profit at $55.3K market cap for 50% of your position. When the market cap hits $55.3K, Shotgun sells half your holding and you keep the rest running.

***

## Fixed vs. Position-Based Limit Orders

When setting a Take Profit or Stop Loss, you can choose between two order modes:

|                                    | **Fixed Amount**                              | **Position-Based**                               |
| ---------------------------------- | --------------------------------------------- | ------------------------------------------------ |
| **What it tracks**                 | A specific token amount set at order creation | A % of your current position at time of trigger  |
| **Best for**                       | Simple, single-entry trades                   | DCA strategies or positions you add to over time |
| **Adjusts after additional buys?** | ❌ No - update manually                        | ✅ Yes - scales automatically                     |
| **Risk of failure?**               | Yes, if you sell below the reserved amount    | ❌ No - always calculates from current holdings   |

**Why this matters - two scenarios:**

{% tabs %}
{% tab title="Scenario A: You add to your position" %}
You buy 1,000 BRETT at $50K market cap and set a Take Profit (Fixed) at $100K market cap for 1,000 tokens.

Later, you buy another 1,000 BRETT at $60K market cap - now holding 2,000 tokens.

When market cap hits $100K:

* **Fixed order** → sells only the original 1,000 tokens (50% of your position). You must manually update the order to cover the rest.
* **Position-based order** → automatically scales to sell your full 2,000 tokens.
  {% endtab %}

{% tab title="Scenario B: You partially exit before the target" %}
You hold 1,000 BRETT with a Take Profit (Fixed) at $100K market cap for 1,000 tokens.

You manually sell 100 tokens before the target - now holding 900.

When market cap hits $100K:

* **Fixed order** → fails (tries to sell 1,000 but you only hold 900).
* **Position-based order** → adjusts automatically to sell 900 tokens. Order executes successfully.
  {% endtab %}
  {% endtabs %}

{% hint style="info" %}
**Recommendation:** Use Position-Based orders when you're actively managing a position through multiple buys or partial sells. Use Fixed orders for simple, one-entry trades where your position size won't change.
{% endhint %}

***

## Managing Open Limit Orders

All your active limit orders are visible from:

* **The token page** → "Limit Orders" tab (shows orders for that specific token)

To cancel an order, click on it and select **Cancel**. Canceled orders release the reserved funds back to your available balance immediately.


---

# 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.shotgun.fun/shotgun/swap/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.
