> 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/telegram-bot-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 %}

## How to Set Up a Limit Order

{% stepper %}
{% step %}
Tap 📈 `Buy` from the Ocean Telegram bot’s main menu and paste the contract address of the token you want to buy.

<figure><img src="https://3430077295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fji4982ACEuyyxUopVa4i%2Fuploads%2FFGXkX3igxjtii8Wo3t9E%2FLimit%2001.png?alt=media&amp;token=bde3b8c1-456d-464d-9e83-50ec2994c198" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Tap 🚦 `Limit orders` it to set a limit order instead of a market order.\
\
Before continuing, confirm that you are in the wallet you want to trade with. You can change wallets by tapping the 💼 `Wallet` button.

<figure><img src="https://3430077295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fji4982ACEuyyxUopVa4i%2Fuploads%2FPb7BstViskeqKzfcatEm%2FLimit%2002.png?alt=media&amp;token=5294952f-262b-400f-86c3-3a60e522d799" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Define Your Buy Conditions

Tap 💰 `Buy amount`  to enter how much SOL you want to use in the trade.&#x20;

Tap ⏳ `Expiry`  to set how long the order should remain active (e.g., 30m, 12h).

<figure><img src="https://3430077295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fji4982ACEuyyxUopVa4i%2Fuploads%2FLHYCXnsea50cqE3daGn8%2FLimit%2003.png?alt=media&amp;token=7604127f-9d03-459c-8735-cc1957315491" alt="" width="563"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Set the Trigger by setting a Price, Market Cap, or Percentage target.

* 💲 `Price` – Enter a target token price.
* 💲 `Market cap` – Set a market cap value that triggers the order.
* 💵 `Percentage` – Trigger based on price movement (up or down) from current value.

<figure><img src="https://3430077295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fji4982ACEuyyxUopVa4i%2Fuploads%2Fw5b86JhvbGgMS4mVb9Tj%2FLimit%2004.png?alt=media&amp;token=56feac3d-b035-45f8-9188-e01722e438dd" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Configure Order Settings:

* Adjust ⛽ `Gas` and 💧 `Slippage` as needed.

Tap ⚙️ `Advanced features` to access deeper control over your trade execution. Here you can customize:

* ⚙️ `Buy Processor`: Choose between Jito, Node, or Merkle depending on your strategy.
* 🤖 `Auto Tip`: Enable or disable automatic bribe tips.
* 💸 `Tip`: Set a manual bribe (tip) to prioritize your order with validators.

<figure><img src="https://3430077295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fji4982ACEuyyxUopVa4i%2Fuploads%2FK9fVimU3bU3qZvevqK9x%2FLimit%2005.png?alt=media&amp;token=1dc3a1c2-bef9-4fae-ae80-e67a44328504" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Save & Deploy

* Tap 💾 `Save` to confirm and activate your limit order.
  {% endstep %}
  {% endstepper %}

Ocean will handle the rest and execute the trade once your conditions are met!
