# Sniper

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

## Migration Sniper

Buy the instant a token **migrates** off its launch platform (Pump.fun, Dynamic Bonding Curve, Launch Labs, etc.) — or **auto‑sell** if you’re already holding. Use this when teams push to Raydium/CLMM or another pool and you want first fills or a clean exit.

!\[Migration Sniper — fields]\(sandbox:/mnt/data/Screenshot 2025-08-26 at 13.02.08.png)

***

### How it works

* **Buy on migrate**: Watches the target token’s migration event; as soon as the new pool/pair is active, places your configured buy on the platforms you allow (Raydium, Pump.fun/Swap, Meteora).
* **Sell on migrate**: If you already hold the token, instantly sells your position when migration is detected.

***

### Setup — Step by step

1. **Token contract address**\
   Paste the token’s **CA**. This is mandatory so the bot knows which migration to track.
2. **Task name**\
   Give the task a short, clear label (e.g., `MIGR-CA_short`).
3. **Wallet**\
   Pick the wallet used for this task.
4. **Platforms**\
   Tick which market place is relavent to the coin you are sniping: **Raydium**, **Pumpfun**, **Meteora**.
5. **Behaviour toggles**
   * **Don’t sell** — Prevents the bot from selling (use only if you want *buy only* behavior).
   * **Buy Once** — Enters on the **first** eligible migration trigger only. Good for avoiding multiple entries.
   * **Use Filtered API** — Uses a filtered feed to reduce false signals.

***

### Use cases

* **First fill on Raydium**: Capture the earliest available pool liquidity after a Pump.fun or DBC launch migrates.
* **De‑risk on migrate**: Exit pre‑migration bags instantly if you don’t want to ride the new pool.

***

### Field reference

| Field                               | What it does                                    |
| ----------------------------------- | ----------------------------------------------- |
| **Token contract address**          | The CA the bot tracks for migration. Mandatory. |
| **Task name**                       | Friendly label for this sniper.                 |
| **Wallet**                          | Wallet used for buys/sells.                     |
| **Don’t sell**                      | Disable selling entirely for this task.         |
| **Buy Once**                        | Only act on the first migration trigger.        |
| **Use Filtered API**                | Reduces noisy/invalid migration signals.        |
| **Buy Raydium / Pumpfun / Meteora** | Allowed venues for execution post‑migration.    |

> The **Sell on Migrate** behavior can also be configured in your **Exit Strategy**. If this Sniper is *sell‑only*, enable **Don’t sell** off and set **Sell on Migrate** in Exit Strategy.


---

# 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-sol-bot/leap-trading-bot-setup/sniper.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.
