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

# Limit Order

{% hint style="info" %}
Ocean's **Limit Orders** let you automate your trades by setting predefined conditions to **buy or sell** a token when it reaches a specific **market cap, price, or profit target**.
{% endhint %}

## Video Guide 🔽

(Screenrecord or Youtube Tutorial)

***

## Interactive Tutorial 🔽

(Screenshot)

***

## How to Set Up a Limit Order

{% stepper %}
{% step %}

### Click (Buy Screenshot) or send a CA to the Bot

{% endstep %}

{% step %}

### Click (Limit Orders Screenshot)

{% endstep %}

{% step %}

### Click (Wallet: Not Set Screenshot) to Set Wallet

This is the wallet that will be used to fill the limit orders.
{% endstep %}

{% step %}

### Click (Buy Amount: 0.01 SOL Screenshot)

{% endstep %}

{% step %}

### Click (Screenshot of Trigger: Not Set) to set Triggers

(Market Cap Screenshot)

Click this and the bot will ask you : <kbd>Please enter the market cap trigger for this limit order. You can enter values like 5k, 100k, 1m etc. - Example: 5k. To disable this feature, enter 0.</kbd>

The bot will then execute a buy order to purchase a token according to the market cap it reaches.

(Price Screenshot)

Click this and the bot will ask you : <kbd>Please enter the price trigger for this limit order (in SOL). - Example: 0.00005.</kbd>

The bot will then execute a buy/sell order to purchase a token according to the price it reaches.

(Dev Sell Screenshot)

Click this and the bot will set the Buy Transaction to take place once buy once the developer sells.
{% endstep %}

{% step %}

### Modify your setup

(Buy Fee, Buy Tip, Buy Slippage and Expiry Screenshot)

Insert your [Buy Fee, Buy Tip & Buy Slippage](/welcome/faq.md).

Expiry - Placed in hours, this is when your limit order will run out.
{% endstep %}
{% endstepper %}

***

## More Info 🔽

| Button                | What does it do?                                                                | Bot´s Response                       |
| --------------------- | ------------------------------------------------------------------------------- | ------------------------------------ |
| 📈 Buy                | Creates buy task                                                                | Please send token address            |
| 📖 Limit Order        | Opens limit order page.                                                         | N/A                                  |
| 💳 Wallet: Not Set    | Allows you to select which wallet will be used to carry the limit order out on. | N/A                                  |
| 💰 Buy Amount : 0 SOL | Changes the amount of SOL put in to your limit order.                           | Please enter the new Buy Amount      |
| 🕹️ Trigger : Not Set | Opens trigger page.                                                             | N/A                                  |
| 📈 Market Cap         | Trigger a limit order when your desired market cap is reached                   | Please enter the market cap Trigger  |
| 💰 Price              | Trigger a limit order when your desired price is reached.                       | Please enter the price Trigger.      |
| ⛽ Buy Fee : 0 SOL     | Changes the buy fee for your limit order transactions.                          | Please enter the new Buy Fee         |
| ⛽ Buy Tip : 0 SOL     | Changes the buy tip for your limit order transactions.                          | Please enter the new Buy Tip amount. |
| 💦 Buy Slippage : %   | Changes the buy slippage for your limit order transactions.                     | Please enter the new Buy Slippage    |
| ⏰ Expiry              | Changes the expiry for your limit order transaction.                            | Please enter the new Expiry Value    |
