# Auto Limit Order

Limit orders are used to buy or sell tokens at a set price within a specified time period

## **Create a new task**

***

Please go to [**DBot-Dashboard**](https://dbotx.com/dashboard/limit-order), and click "Create" on the "Limit Order" page.

<figure><img src="https://3780542030-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDrRaSzxVH9zvaKx8yu5v%2Fuploads%2Feh9vgJSO6gSOPrrCdjJG%2F7.png?alt=media&#x26;token=87bb04ca-6456-4948-b8fb-5e46dfadab5f" alt=""><figcaption></figcaption></figure>

## **Configure parameters**

***

All basic settings are required, buy/sell settings are enabled by default, and will not follow the buy or sell if turned off. After saving, the orders will be created with limit buy and limit sell

### **1. Basic Settings**

<figure><img src="https://3780542030-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDrRaSzxVH9zvaKx8yu5v%2Fuploads%2Fsd03MNL0thTZpnKjoXri%2F2.jpg?alt=media&#x26;token=cd134813-1163-429a-b0f3-a370b8e1f3cd" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Token/Pair Address:** The contract address of the trade pair for the token you need to buy / sell

Enter the contract address of the trading pair, and the token security will be automatically checked. (honeypot, LP burnt, mintable, freezable, top10 hold, etc.)

**My Wallet:** Select the wallet used to limit buy / sell. [Parallel accounts](https://guide-en.dbotx.com/dex-trading-bot/parallel-account) setting supported, enable to improve trading speed and success rate.
{% endhint %}

<figure><img src="https://3780542030-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDrRaSzxVH9zvaKx8yu5v%2Fuploads%2FNj3rYmjcP1nQPCTWnsij%2F4.jpg?alt=media&#x26;token=ee247e35-44a5-4fb7-a0bd-f1bdf5289238" alt=""><figcaption></figcaption></figure>

### **2. Buy / Sell Settings**

<figure><img src="https://3780542030-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDrRaSzxVH9zvaKx8yu5v%2Fuploads%2Fw5HYifNpkmYlzuactuTu%2F5.jpg?alt=media&#x26;token=8672e982-8c97-4ebc-a5b2-bb9c5b5f0f26" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="https://3780542030-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDrRaSzxVH9zvaKx8yu5v%2Fuploads%2F4sHXxfDrv7zUR0uvj5A7%2F02.png?alt=media&#x26;token=0a4eb774-f4b5-4ce4-a549-bc3c56119349" alt="" width="479"><figcaption></figcaption></figure>

{% hint style="info" %}
**DBot Buy Price:** Trigger to buy when the token reaches this price

`(`**`Limit order can be created by market cap & price change.`**` ``After entering CA, you can use the`` `**`Price Calculator`**` ``to create the task)`

**Buy Amount:** Amount of ETH/SOL/BNB used to buy the token

**Priority Fee:** Used to incentivize miners to prioritize your transactions, the higher the priority fee the faster the transaction is processed

**Expiry:** Effective time for limit buy/sell, overtime unexecuted orders will be invalidated

**Auto Buy:** Auto buy if the task expires without being triggered

After enabled, if the task is not triggered within the expiry period, it will be executed automatically when the expiry period ends

**Auto Sell:** Auto sell if the task expires without being triggered

After enabled, if the task is not triggered within the expiry period, it will be executed automatically when the expiry period ends

**Anti Spike:** When enabled, use the 1-second mid-price as trigger price with Anti-Spike Mechanism (not 100% guaranteed)
{% endhint %}

{% hint style="info" %}
**Turbo Mode:** Turbo mode operates with massive-scale concurrency combined with high-speed routing such as 0slot, prioritizing ultra-low latency and extremely fast on-chain execution. In this mode, please set your slippage carefully to avoid large deviations from expected trade outcomes

The priority fee will be auto split into multiple optimal transaction routing channels in turbo mode, when auto fees or priority fee + bribery tip >= 0.0002, the 0slot channel will be used

`*`**`Bribery Tip`**`Addiotional bribery tip to be set so that the validator can process your transcation as soon as possible.`

**Anti-MEV:** Anti-MEV will initate transactions through privacy nodes, requiring a brebery tip to be paid to speed up (but final sync relies on global node consensus, which cannot be 100% guaranteed)

**Priority Fee:** Used to incentivize miners to prioritize your transactions, the higher the priority fee the faster the transaction is processed

**Slippage Tolerance**: The difference between the actual price and the desired price, the difference multiplier = 1/(1-slippage), 50% means a maximum of 2 times the accepted spread, 100% means unlimited spreads

`*Your transaction may be frontrun and result in an unfavorable trade`

`*The max slippage for Pump & Moonshot is 50% by default, which can be lifted in "Settings - General"`
{% endhint %}

* **Customized priority fee and bribery tip for Solana's transactions supported**

When checked, you can customize the priority fee and bribery tip for turbo mode / anti-MEV, otherwise it will be auto assigned by the system. **(In Turbo Mode, if you don’t customize settings: When priority fee > 0.0002, gas fee defaults to 0.00005 and the rest goes to 0slot)**

<figure><img src="https://3780542030-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDrRaSzxVH9zvaKx8yu5v%2Fuploads%2FwgU1qAvH5iPxPB6q2sVY%2F4.jpg?alt=media&#x26;token=e9baceec-7b03-4321-a3e9-63688c642231" alt="" width="465"><figcaption></figcaption></figure>

{% hint style="info" %}
**Gas Delta (Gwei):** The amount of gas you are willing to pay over the blockchain average, assuming 5 is filled in and the current blockchain average gas is 20, the gas for the transaction will be set to 25 Gwei

**Max Gas (Gwei):** Max gas you are willing to pay, beyond which the transaction will not take place

**Slippage Tolerance:** The difference between the actual price and the desired price, the difference multiplier = 1/(1-slippage), 50% means a maximum of 2 times the accepted spread, 100% means unlimited spreads

**Retry Count:** Retry count after task failure, 0 means no retry

**Concurrent Node:** Nodes to which the task is sent at the same time

**Sell Price:** Trigger to sell when the token reaches this price

**Sell Ratio:** Sell ratio of the token, e.g. if choosing 50%, only half of the holdings will be sold
{% endhint %}

### **3. Save and check**

***

Limit orders are enabled after saving, and can be manually modified to disable

* **Limit orders have three statuses**

{% hint style="info" %}
**In Progress:** Orders that have not reached their expiration time and have not yet been executed

**Completed:** Orders that were successfully bought / sold

**Expired:** Orders that failed to buy / sell or were not triggered by the expiration time
{% endhint %}

<figure><img src="https://3780542030-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDrRaSzxVH9zvaKx8yu5v%2Fuploads%2FjKw4JgU1HeREesFMjprP%2F08.png?alt=media&#x26;token=0352fd6b-0f5c-40f2-830b-78d2e46c218d" alt=""><figcaption></figcaption></figure>

## **Limit Order Group**

* The limit orfer tasks can be managed by custom groups, and after grouping, it can be filtered and closed/deleted with one click.

<figure><img src="https://3780542030-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDrRaSzxVH9zvaKx8yu5v%2Fuploads%2FuXJUUp8uHNcSGjk99eCM%2F12.png?alt=media&#x26;token=b63261b1-2235-4cec-8949-d91c151783e9" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3780542030-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDrRaSzxVH9zvaKx8yu5v%2Fuploads%2FVbTCcia059rz86QHDDlJ%2F13.png?alt=media&#x26;token=ec341cd5-c690-4959-8011-5ef1f84f925e" alt=""><figcaption></figcaption></figure>

* Batch disable and batch delete tasks of limit order lists supported.

<figure><img src="https://3780542030-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDrRaSzxVH9zvaKx8yu5v%2Fuploads%2F6dPA3diDpFzv6K0VfwQa%2F41.png?alt=media&#x26;token=a2690c13-1d53-4195-835d-21e3a9a65590" alt=""><figcaption></figcaption></figure>
