# Expanded Setup

### `/valhalla settings_dlmm`

Run `/valhalla settings_dlmm` and click **Follow Wallet**.

Click **Turn On** — and you're live! This is your main interface for **Copy Trade Settings**.

### Advanced Configuration:

You can:

* Adjust Wallet Settings
* Follow Multiple Wallets
* Set Take Profit Percent
* Set Stop Loss Config
* Enable SL Rug Check
* Manage Ignored Tokens
* Balance Tracking (ON/OFF)
* Auto-Closed Bundled Tokens (ON/OFF)

<figure><img src="https://2126784140-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHQDWftDIniclSIIqlDIY%2Fuploads%2FYQqqkZRtdJzBQWueOMXq%2Fimage.png?alt=media&#x26;token=3c73c2f3-c1f3-4c0c-a67f-4b2a912f0029" alt=""><figcaption></figcaption></figure>

In wallet Settings above, you can adjust settings on a **per-wallet** basis, allowing you to run multiple strategies at once.

* Single Pool Per Token
* SOL-Only Mode
* Set Max Open Positions and Timeframe
* Set Minimum Token Age
* Set Minimum Market Cap
* Set Minimum Jup Organic Score
* Set Minimum Token Holders
* Set Minimum Token Trade Volume
* Smart Token Retention
* Infinite Add Liquidity
* Jupiter Ultra
* Auto Close Out of Range Settings

<figure><img src="https://2126784140-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHQDWftDIniclSIIqlDIY%2Fuploads%2F1JlJTFyf4UL2xjGmf5oN%2Fimage.png?alt=media&#x26;token=4dd193d0-f532-4d70-ad1d-930d654b97f4" alt=""><figcaption></figcaption></figure>

In Normal Wallet Settings, you can setup Ratio Trading.

<figure><img src="https://2126784140-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHQDWftDIniclSIIqlDIY%2Fuploads%2FKEIxOU3GL3xbd865oXC7%2Fimage.png?alt=media&#x26;token=04067ada-b26c-4ff4-af44-40f3f4095870" alt=""><figcaption></figcaption></figure>

**Ratio trading helps you scale positions relative to the wallet you're copying.**

A general rule of thumb is to just take the total SOL you have, divided by the total amount of SOL your target wallet has (including open positions). So if you have 5 and they have 100 sol, then 5/100 = 5% ratio.

This helps avoid going all-in on small positions and prevents outsized exposure.

Image below shows how to set-up Ratio Trading.

<figure><img src="https://2126784140-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHQDWftDIniclSIIqlDIY%2Fuploads%2FdVQC4vTCDYsnEvDAjyly%2Fimage.png?alt=media&#x26;token=51d6acf6-a7da-460b-b832-4470f674932c" alt=""><figcaption></figcaption></figure>

You can also **copy up to 4 different wallets**, each with its own unique settings. This allows for tailored strategies across wallets based on their risk profile or purpose. For example:

* One wallet can have **SOL Only Mode** enabled, while another operates with it **disabled**.
* A **safer wallet** may be set with **0 Jup Organic Score** to allow full flexibility.
* A **degen wallet** can have a **minimum Jup Organic Score threshold** to avoid risky trades.

This setup ensures each wallet functions according to your custom strategy.

**Manual Commands**

* `/valhalla close_all_positions` — Closes all open DLMM positions.
* `/settings` — Adjust the **max fee paid to Jito**. Default is 0.001 SOL (\~17¢). You can lower this to 0.0001 to reduce costs.

**Notification and PNL Tracking**

* The bot will **DM you** each time a trade is executed or closed. (Set this up in QuickStart Page)
* You'll receive **PNL Images** to visualize profits/losses.

**Max Positions open with Timeframe**

The **Max Open Positions** setting now supports **time-based limits**, allowing you to restrict how many trades per wallet can be copied within a specific timeframe (e.g., 5 trades per hour). How to use:

1. Run `/valhalla settings_dlmm`
2. Click on "Wallet Settings" and then **"Advance Settings" (for your followed wallet)**
3. Choose:
   * **Number of positions**
   * **Timeframe in minutes** (e.g., 60 for 1 hour)

<figure><img src="https://2126784140-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHQDWftDIniclSIIqlDIY%2Fuploads%2FrpgKg4aDcxkefJxNYlVZ%2Fimage.png?alt=media&#x26;token=8f04357f-a0b8-47a0-9b1d-405732941d8a" alt=""><figcaption></figcaption></figure>

**Max Target Wallets per Position**

You can now set a limit on how many target wallets can trigger a copy trade for the **same token** within a certain timeframe.

New features:

* Tracks both **open and close** events
* Timeframe setting has been changed from **hours → minutes** for more precision

This prevents overexposure to tokens that are being simultaneously targeted by multiple wallets.

~~**New Command:****&#x20;****`/valhalla buy_dlmm_tx`**~~

~~This new command lets you manually copy **any live DLMM trade** by entering the transaction signature and your desired SOL amount.~~

~~Example:~~

Copy

```
/valhalla buy_dlmm_tx
transaction: [TX HASH]
amount: 1.5
```

~~Works for:~~

* ~~Duplicate positions~~
* ~~Missed trades~~
* ~~Handles add/remove/claim/close actions like any normal copy~~

~~The bot will also alert you when you have insufficient balance to copy a trade. You will now receive a custom recovery command in DM. This command allows you to take the trade manually at your own convenience.~~&#x20;

WORK IN PROGRESS - WILL BE LIVE AGAIN SOON

<figure><img src="https://2126784140-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHQDWftDIniclSIIqlDIY%2Fuploads%2FBLZA5luD6uCyFS3tABGj%2Fimage.png?alt=media&#x26;token=168cb001-b2f4-4617-bbc7-ad611e23198f" alt=""><figcaption></figcaption></figure>

**Smart Token Retention Logic**

The bot now:

* Preserves **accurate copy ratios**
* Dynamically calculates **top-ups** to existing positions
* Prevents over-stacking of tokens if the wallet you copy partially re-enters

**External Tools**

* Make sure to always have the <https://app.lpagent.io/portfolio> website open for both your wallet, and the wallet(s) you are copying so you can compare your current positions side by side.
* And once every few weeks go to [https://www.burnlify.com](https://www.burnlify.com/) to burn old tokens / close empty accounts

**Final Tips**

* Always **read this before using**: [DLMM Risk & Warnings](https://discord.com/channels/687032564829126657/1362307923069636788/1372444596306579549)
* You are **100% responsible** for your funds. Copying high-risk wallets or poor sizing can result in complete loss.
* Use ratio trading and filters for safer execution.

#### DAMM Copying (Experimental / Disabled for Now) <a href="#damm-copying-experimental-disabled-for-now" id="damm-copying-experimental-disabled-for-now"></a>

The bot now supports **copying DAMM positions** (Dynamic AMM), but this feature is **currently disabled** due to ongoing security evaluations.

When enabled:

* You can toggle **DAMM mode** via:
  * `/settings_dlmm` → **Wallet Settings** → Enable DAMM
* Position size is **capped at 0.2 SOL**
* **No filters**: Market Cap, Token Age, Jupiter Score are ignored
* **Initialize\_Pool** transactions are now supported
* `/valhalla close_all_positions` works for both DLMM and DAMM
* DM/Embed labels now clearly show **DLMM vs. DAMM**

📌 *Note: We will announce when this is officially available.*

***
