> For the complete documentation index, see [llms.txt](https://stiven-bolter.gitbook.io/solyum-bot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://stiven-bolter.gitbook.io/solyum-bot/highlights/how-to-use-liquidity-pairs.md).

# How to use Liquidity pairs

Read this page carefully :)

{% hint style="danger" %}
Liquidity Pair (LP) is super important in Sniping.

For instance, the team can add liquidity in BUSD, and an early buyer can create a fake liquidity pool with 0.0001 BNB and make you snipe on this pair.

\--> If you do this, **you will lose all your money.**

So please follow the advices above to be safe 🙏<br>
{% endhint %}

Solyum Bot provide many parameters, to make sure you're sniping the correct pair.

Solyum Bot automatically detects which token is used for liquidity and takes care of everything.

Just enter the amount of BNB/AVAX (for example) you want to use for BUYING, and Solyum will take care of everything else

### **1/ LimitSwap options** <a href="#id-1-limitswap-options" id="id-1-limitswap-options"></a>

### First option : choose manually the Liquidity pair <a href="#first-option-choose-manually-the-liquidity-pair" id="first-option-choose-manually-the-liquidity-pair"></a>

**--> LIQUIDITYINNATIVETOKEN / USECUSTOMBASEPAIR** parameters

Use those options to tell the bot if you want to trade with liquidity in native token (BNB / AVAX / FTM...) or in another token (BUSD / USDT / USDC / etc.)

* If you choose "true" --> Solyum Bot will trade with native token liquidity
* If you choose "false" --> Solyum Bot will use the "USECUSTOMBASEPAIR" liquidity pool

| Situation                              | What to choose?                                                                                                                                          |
| -------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Liquidity is in **ETH / BNB / etc.**   | LIQUIDITYINNATIVETOKEN = **True**                                                                                                                        |
| Liquidity is in **BUSD / USDT / etc.** | <p>LIQUIDITYINNATIVETOKEN = <strong>False</strong></p><p>USECUSTOMBASEPAIR = <strong>True</strong> CUSTOMBASEPAIR <strong>= liquidity token</strong></p> |

**Available configurations (example with BNB)**:

<br>

| Options                                                                                                                | Summary                                                      | Route used         |
| ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ | ------------------ |
| LIQUIDITYINNATIVETOKEN = **true** USECUSTOMBASEPAIR = **false**                                                        | Bot will use your **BNB** to buy in **BNB** liquidity pool   | BNB > Token        |
| LIQUIDITYINNATIVETOKEN = **true** USECUSTOMBASEPAIR = **true** BASESYMBOL = **BUSD** BASEADDRESS = 0xe9e7\[...]087d56  | Bot will use your **BUSD** to buy in **BNB** liquidity pool  | BUSD > BNB > Token |
| LIQUIDITYINNATIVETOKEN = **false** USECUSTOMBASEPAIR = **true** BASESYMBOL = **BUSD** BASEADDRESS = 0xe9e7\[...]087d56 | Bot will use your **BUSD** to buy in **BUSD** liquidity pool | BUSD > Token       |

**To make sure you understand :**

{% hint style="info" %}
**Example with token with BUSD liquidity**

If you want to trade a token with **BUSD** liquidity, you need to set **CUSTOMBASEPAIR = BUSD.** So, you need to set:

```
LIQUIDITYINNATIVETOKEN": "false",
"USECUSTOMBASEPAIR": "true",  
"BASESYMBOL": "BUSD",
"BASEADDRESS": "0xe9e7cea3dedca5984780bafc599bd69add087d56",
```

{% endhint %}

{% hint style="danger" %}
**WARNING : be VERY CAREFUL about this LIQUIDITYINNATIVETOKEN** **option** If you set up wrong configuration, bot will trade on wrong pair and make you lose funds. Beware!
{% endhint %}

**BASESYMBOL** Symbol of the token of the liquidity pair you want to trade with if you selected USECUSTOMBASEPAIR = True

**BASEADDRESS** Contract address of the token of the liquidity pair you want to trade with if you selected USECUSTOMBASEPAIR = True

## Second option : let the bot detect automatically the LP <a href="#second-option-let-the-bot-detect-automatically-the-lp" id="second-option-let-the-bot-detect-automatically-the-lp"></a>

**--> WATCH\_STABLES\_PAIRS** parameter LimitSwap is able to check automatically all stables pairs (BUSD / USDT...) + native token pair (BNB/ETH...) at the same time Instead of telling the bot to snipe on BNB or BUSD or USDT or USDC... if you use **WATCH\_STABLES\_PAIRS = true** the bot now checks all pairs automatically !

You need to hold enough BUSD / USDT / USDC in your wallet to make the buy order go through.\ <br>

## **How to configure it**

**- WATCH\_STABLES\_PAIRS** = true **- BUYPRICEINBASE** = buy price in **NATIVE TOKEN** (example : 0.000045 BNB / token) - **BUYAMOUNTINBASE** = amount of **NATIVE TOKEN** you want to spend (example : 0.5 BNB)\
\
The bot will automatically calculate good price and good amount if BUY is made on another pair.

**Examples :**

BUYPRICEINBASE = 0.0001 means:

\- if liquidity is in BNB, bot will buy at a price of 0.0001 BNB

\- if liquidity is in BUSD, bot will buy at a price of \~ 0.04 BUSD BUYAMOUNTINBASE = 0.10 means:

\- if liquidity is in BNB, bot will buy 0.10 BNB

\- if liquidity is in BUSD, bot will buy 40 BUSD

### How to avoid being scammed ? <a href="#how-to-avoid-being-scammed" id="how-to-avoid-being-scammed"></a>

\
**--> MINIMUM\_LIQUIDITY\_IN\_DOLLARS** parameter

Use this option if you want the bot to set a **minimal** **amount of liquidity to be required** before buying.

Put liquidity amount in $.

Team recommend to set **MINIMUM\_LIQUIDITY\_IN\_DOLLARS = 10000** It will avoid make you snipe on fake liquidity pairs<br>

### **2/ Sniper options** <a href="#id-2-sniper-options" id="id-2-sniper-options"></a>

**With Sniper, it's much easier** : it automatically detects which token is used for liquidity, and takes care of everything ☺️ Sniper bot will always use your BNB / AVAX / ETH / etc. to buy : just enter the amount of token that you want to use for BUY and Sniper will take care of all the rest.

**Example** If you want to buy 0.5 BNB of a token :

BUYAMOUNTINBASE = 0.5

and... that's it !

| Scenario                | Summary                                                     | Route used         |
| ----------------------- | ----------------------------------------------------------- | ------------------ |
| If liquidity is in BNB  | Bot will use **BNB** liquidity pool                         | BNB > Token        |
| If liquidity is in BUSD | Bot will use your **BNB** to buy in **BUSD** liquidity pool | BNB > BUSD > Token |

{% hint style="info" %}
Team recommend to set **MINIMUM\_LIQUIDITY\_IN\_DOLLARS = 10000** It will avoid make you snipe on fake liquidity pairs
{% endhint %}
