# Task Creation

## 🧩 Creating a Task — Leap BNB Bot

This page explains how to create and configure trading tasks on the **Leap BNB Bot**.\
Each task operates independently and can run 24/7 once configured.\
You can set up **AFK**, **Copytrade**, **Scraper (Discord/Telegram)**, or **Dev Mode** tasks.

***

### ⚙️ Important

> 🟡 **To see BNB-specific filters and markets, you must first select your BNB wallet when creating the task.**\
> This automatically loads all BNB-compatible options such as PancakeSwap, Four.Meme, and BNB filters.\
> Selecting a Solana wallet will only display Solana filters and markets.

***

### ⚙️ General Task Setup

When creating a new task, you’ll first choose:

* **Mode:** AFK / Copytrade / Discord / Telegram / Dev Mode
* **Wallet:** Select your BNB wallet (required for BNB markets)
* **Market:** Choose between **PancakeSwap** or **Four.Meme**
* **Buy Size & Slippage:** Set your purchase amount and acceptable price deviation
* **Gas Mode:** Auto, Fast (+5 Gwei), or Custom
* **Task Limits:** Max open positions, Buy Once, and session spending cap

> 💡 All task settings are saved automatically and can be edited live without restarting the bot.

***

### 🔁 AFK Mode

AFK Mode continuously scans supported BNB markets and automatically buys tokens that match your custom filters.\
This mode is ideal for users who want 24/7 passive trading with complete control over entry logic.

#### **Available Filters**

* **Market Cap / Liquidity / Volume**
* **Token Age / Creator Token Count**
* **Social Presence (Twitter, Website, Telegram)**
* **Top Holder & Whale Filters**
* **Bundled Buys / Buy Strength**
* **Developer Wallets** – auto-buy when selected devs deploy new tokens
* **Blacklist / Whitelist**
* **Max Consecutive Losses** – pause strategy after X losses
* **Max Per Token / Wallet Buy Limit**

> ⚙️ You can combine multiple filters to target very specific opportunities.

***

### 👥 Copytrade Mode

Copytrading on BNB allows you to **mirror trades from specific wallet addresses** in real-time.\
Each wallet you track has its own settings and delay options for flexible strategies.

#### **Features**

* Copy any public wallet address on BSC
* Adjustable buy/sell delay
* Option to skip first X trades from a wallet
* “Buy Once” per token
* Dynamic entry filters (Market Cap, Token Age, etc.)
* PnL Ladder & Take-Profit Ladder supported

> 🧠 Smart Copy: Combine multiple wallets into one pool and set logic like\
> “Only buy when 3 out of 5 wallets buy the same token.”

***

### 📡 Discord & Telegram Scrapers

These modes allow Leap to monitor selected Discord servers or Telegram channels and automatically trade based on messages posted by trusted users or bots.

#### **How It Works**

1. Link your Discord or Telegram account under **Accounts**.
2. Add channels or groups to monitor.
3. Assign a **Trading Profile** to each channel (size, filters, TP/SL, etc.).
4. Start the task — Leap will instantly trade when a contract address (CA) is detected.

#### **Highlights**

* Multiple account support (Telegram & Discord)
* User-based whitelists and keyword blacklists
* Live editing without restarting
* Rate-limit safe and optimized for speed

***

### 🧠 Dev Mode

**Dev Mode** lets you connect your own algorithm or trading strategy directly to Leap through API.\
Leap handles transaction execution, wallet management, and gas optimization — while your system decides when and what to trade.

#### **Use Cases**

* Run your own filters and signals
* Integrate custom trading logic via HTTP calls
* Combine with Leap’s secure wallet execution for reliability

> ⚙️ Ideal for developers or groups that want to leverage Leap’s speed and infrastructure while maintaining their own strategy logic.

***

### 📊 Exit Strategies

Leap BNB supports multiple exit mechanisms, including the new **PnL Ladder**:

#### **PnL Ladder**

Define percentage ranges and incremental sell amounts.\
For example:

* Range 1: 1 – 200 %
* Range 2: 200 – 500 %\
  With a ladder step of **1 %**, the bot will sell 1 % of your position per 1 % profit movement, combining multiple triggers into a single optimized sell if several levels are hit at once.

#### **Other Exit Options**

* Static Take Profit / Stop Loss
* Trailing Stop Loss
* Sell All After X % Sold
* Dynamic Trailing

> 🧩 All exit strategies can be edited live while tasks are running.

***

### 🧾 Summary

To create your first BNB task:

1. Select your **BNB wallet first** to load all compatible filters and markets.
2. Choose a mode (AFK, Copytrade, Scraper, or Dev Mode).
3. Configure buy size, filters, and exit strategy.
4. Set your gas mode (Auto / Fast / Custom).
5. Save and start the task.

Leap will now monitor and trade automatically based on your configuration — executing every transaction with maximum speed and precision.


---

# 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.leap-blockchain.com/leap-trading-bnb-bot/task-creation.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.
