LimitSwap
Search…
Bot examples
Please read this page to find configurations examples.
​
Team recommandation is to use :
"WAIT_FOR_OPEN_TRADE": "true_after_buy_tx_failed",
"WATCH_STABLES_PAIRS": "true",
"MINIMUM_LIQUIDITY_IN_DOLLARS": "1000", It will :
  • allow you to snipe tokens with OpenTrading function
  • check every liquidity pairs
  • prevent you from being scammed by swapping only if liquidity > 1000$
Enjoy
πŸ™
​

BSC - Snipe 0.5 BNB of NEWINU

1/ settings.json

1
[
2
{
3
"LIMITWALLETPRIVATEKEY": "aes:zmp4ii0jdlMOueosehfiuosehfisurhfesofjrpgkdrogkd^rgd^rgsh=*1LgzSU06YPv92nuSGKqMrA==",
4
"LIMITWALLETADDRESS": "0x265Cb06dc562C97Acc8e51EBE3AA0275BF0c4D3D",
5
"WALLETADDRESS": "0x265Cb06dc562C97Acc8e51EBE3AA0275BF0c4D3D",
6
"PRIVATEKEY": "aes:zmp4ii0jdlMOueosehfiuosehfisurhfesofjrpgkdrogkd^rgd^rgsh=*1LgzSU06YPv92nuSGKqMrA==",
7
"WALLETADDRESS2": "0x0975AbFE55656DGDRGFG4SDXC49f0855",
8
"PRIVATEKEY2": "aes:3hfthfthLh2WJfsefsgdhdththftMOFaYE50nu1W/GOkfFSvHW3PCsYubayAA==*e4U1hehtfhfthtfhtfhfthft7CPV2Fy5fX6IAhtfhtfhtfhftUj2dNaZV8MVA==",
9
"WALLETADDRESS3": "null",
10
"PRIVATEKEY3": "null",
11
"WALLETADDRESS4": "null",
12
"PRIVATEKEY4": "null",
13
"WALLETADDRESS5": "null",
14
"PRIVATEKEY5": "null",
15
"USECUSTOMNODE": "true",
16
"CUSTOMNODE": "https://bsc-dataseed4.ninicoin.io/",
17
"EXCHANGE": "Pancakeswap",
18
"EXCHANGEVERSION": "2",
19
"PREAPPROVE": "true",
20
"UNLIMITEDSLIPPAGE": "false",
21
"ENCRYPTPRIVATEKEYS": "true",
22
"PASSWORD_ON_CHANGE": "false"
23
}
24
]
Copied!
In this example:
  • We choose to use same wallet for holding LIMIT tokens and trading. You can also choose to use 2 different wallets : up to you
    πŸ˜‡
  • We choose to use a custom BSC node : https://bsc-dataseed4.ninicoin.io/ To use custom node, you need to enter its http address, with the "/" at the end of the address.

2/ tokens.json

To snipe new token, you need:
  • contract address
  • listing price
if you don't know listing price and want the bot to buy at any price, you can put BUYPRICEINBASE = 1000 for instance
Let's say you want to snipe 0.5 BNB of NEWINU. Enter this in your tokens.json :
1
[
2
{
3
"ENABLED": "true",
4
"SELECT_MODE": "limitswap"
5
"SYMBOL": "NEWINU",
6
"ADDRESS": "0xcfefa64b0ddd611c12157c41cd3827f2e8e8615",
7
8
"KIND_OF_SWAP": "base",
9
"BUYAMOUNTINBASE": "0.5",
10
"BUYAMOUNTINTOKEN": "(not used)",
11
"MAX_BASE_AMOUNT_PER_EXACT_TOKENS_TRANSACTION": "(not used)",
12
​
13
"BUYPRICEINBASE": "0.001",
14
"SELLPRICEINBASE": "300%",
15
"STOPLOSSPRICEINBASE": "60%",
16
"SLIPPAGE": "49",
17
​
18
"MAXTOKENS": "1",
19
"MOONBAG": "0",
20
21
"RUGDOC_CHECK": "true",
22
"BUYAFTER_XXX_SECONDS": "0",
23
"WAIT_FOR_OPEN_TRADE": "true_after_buy_tx_failed",
24
"MAX_SUCCESS_TRANSACTIONS_IN_A_ROW": "2",
25
"MAX_FAILED_TRANSACTIONS_IN_A_ROW": "2",
26
"MULTIPLEBUYS": "true",
27
"BUYCOUNT": "3",
28
"ALWAYS_CHECK_BALANCE": "false",
29
30
"MINIMUM_LIQUIDITY_IN_DOLLARS": "10000",
31
"WATCH_STABLES_PAIRS": "true",
32
33
"LIQUIDITYINNATIVETOKEN": "True",
34
"USECUSTOMBASEPAIR": "false",
35
"BASESYMBOL": "(not used)",
36
"BASEADDRESS": "(not used)",
37
​
38
"SELLAMOUNTINTOKENS": "ALL",
39
"HASFEES": "false",
40
"GAS": "BOOST",
41
"BOOSTPERCENT": "50",
42
"GASLIMIT": "1000000",
43
"GASPRIORITY_FOR_ETH_ONLY": "1.5"
44
45
}
46
]
Copied!
it will :
  • buy instantly 0.5 BNB of NEWINU if the price is < 0.001 BNB / token
  • chek all BNB / BUSD / USDT / USDC liquidity pairs (thanks to WATCH_STABLES_PAIRS = true)
  • before buy, check if liquidity > 10000$
  • try to make one BUY when liquidity is added, and if it fails enter in "WAIT FOR OPEN TRADE" mode
  • sell all the tokens you bought if price reach your BUYPRICE*3 (= 300%)
  • sell all the tokens if Stop Loss is reached : if price reach your BUYPRICE*0.6 (= 60%)
  • 49% slippage
  • Gas 50% higher than Fast Gas price
  • stop making transactions :
    • after 2 failed attempts
    • after 2 success attempts
    • or if you hold more than 100 tokens in your wallet
  • use RugDoc's API to check token before buy
  • will make orders with 3 different wallets at the same time (MULTIPLEBUYS option)

BSC - Buy/sell TECH with USDC LP on MATIC

Here is an example of token where the liquidity has been added in USDC : https://polygon.poocoin.app/tokens/0x6286a9e6f7e745a6d884561d88f94542d6715698​
on the left on
In this case, you should: - use LIQUIDITYINNATIVETOKEN = false - use USDC custom base pair
Here is how to do:

1/ settings.json

Quickswap exchange is used for MATIC sniping.
1
[
2
{
3
"LIMITWALLETPRIVATEKEY": "aes:zmp4ii0jdlMOueosehfiuosehfisurhfesofjrpgkdrogkd^rgd^rgsh=*1LgzSU06YPv92nuSGKqMrA==",
4
"LIMITWALLETADDRESS": "0x265Cb06dc562C97Acc8e51EBE3AA0275BF0c4D3D",
5
"WALLETADDRESS": "0x265Cb06dc562C97Acc8e51EBE3AA0275BF0c4D3D",
6
"PRIVATEKEY": "aes:zmp4ii0jdlMOueosehfiuosehfisurhfesofjrpgkdrogkd^rgd^rgsh=*1LgzSU06YPv92nuSGKqMrA==",
7
"WALLETADDRESS2": "0x0975AbFE55656DGDRGFG4SDXC49f0855",
8
"PRIVATEKEY2": "aes:3hfthfthLh2WJfsefsgdhdththftMOFaYE50nu1W/GOkfFSvHW3PCsYubayAA==*e4U1hehtfhfthtfhtfhfthft7CPV2Fy5fX6IAhtfhtfhtfhftUj2dNaZV8MVA==",
9
"WALLETADDRESS3": "null",
10
"PRIVATEKEY3": "null",
11
"WALLETADDRESS4": "null",
12
"PRIVATEKEY4": "null",
13
"WALLETADDRESS5": "null",
14
"PRIVATEKEY5": "null",
15
"USECUSTOMNODE": "false",
16
"CUSTOMNODE": "put the address of your own node here if you want and make USECUSTOMNODE = TRUE",
17
"EXCHANGE": "quickswap"
18
"EXCHANGEVERSION": "2"
19
"PREAPPROVE": "true",
20
"UNLIMITEDSLIPPAGE": "false"
21
"ENCRYPTPRIVATEKEYS": "true"
22
"PASSWORD_ON_CHANGE": "false"
23
}
24
]
Copied!

2/ tokens.json

1
[
2
{
3
"ENABLED" : "True",
4
"SELECT_MODE": "limitswap"
5
"SYMBOL": "TECH",
6
"ADDRESS": "0x6286a9e6f7e745a6d884561d88f94542d6715698",
7
​
8
"KIND_OF_SWAP": "tokens",
9
"BUYAMOUNTINBASE": "(not used)",
10
"BUYAMOUNTINTOKEN": "1000",
11
"MAX_BASE_AMOUNT_PER_EXACT_TOKENS_TRANSACTION": "0.5",
12
13
"BUYPRICEINBASE": "0.07",
14
"SELLPRICEINBASE": "0.13",
15
"STOPLOSSPRICEINBASE": "0",
16
"SLIPPAGE": "5",
17
18
"MAXTOKENS": "1",
19
"MOONBAG": "0",
20
​
21
"RUGDOC_CHECK": "true",
22
"BUYAFTER_XXX_SECONDS": "0",
23
"WAIT_FOR_OPEN_TRADE": "false",
24
"MAX_SUCCESS_TRANSACTIONS_IN_A_ROW": "2",
25
"MAX_FAILED_TRANSACTIONS_IN_A_ROW": "2",
26
"MULTIPLEBUYS": "false",
27
"BUYCOUNT": "(not used)",
28
"ALWAYS_CHECK_BALANCE": "false",
29
​
30
"MINIMUM_LIQUIDITY_IN_DOLLARS": "50000",
31
"WATCH_STABLES_PAIRS": "false",
32
​
33
"LIQUIDITYINNATIVETOKEN": "false",
34
"USECUSTOMBASEPAIR": "true",
35
"BASESYMBOL": "USDC",
36
"BASEADDRESS": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
37
​
38
"SELLAMOUNTINTOKENS": "ALL",
39
"HASFEES": "false",
40
"GAS": "BOOST",
41
"BOOSTPERCENT": "20",
42
"GASLIMIT": "1000000",
43
"GASPRIORITY_FOR_ETH_ONLY": "1.5"
44
​
45
}
46
]
Copied!
This will create a "ping-pong" bot, who always :
  • buy 1000 tokens of TECH
  • sell all the tokens at the prices you set, like this :

Buy exact amount of tokens KPAD with BNB LP

1/ settings.json

1
(check previous examples)
Copied!

2/ tokens.json

1
[
2
{
3
"ENABLED" : "True",
4
"SELECT_MODE": "limitswap"
5
"SYMBOL": "KPAD",
6
"ADDRESS": "0xcfefa64b0ddd611b125157c41cd3827f2e8e8615",
7
​
8
"KIND_OF_SWAP": "tokens",
9
"BUYAMOUNTINBASE": "1",
10
"BUYAMOUNTINTOKEN": "50000",
11
"MAX_BASE_AMOUNT_PER_EXACT_TOKENS_TRANSACTION": "0.5",
12
13
"BUYPRICEINBASE": "0.006",
14
"SELLPRICEINBASE": "0.018",
15
"STOPLOSSPRICEINBASE": "0",
16
"SLIPPAGE": "49",
17
18
"MAXTOKENS": "1",
19
"MOONBAG": "0",
20
21
"RUGDOC_CHECK": "true",
22
"BUYAFTER_XXX_SECONDS": "0",
23
"MAX_SUCCESS_TRANSACTIONS_IN_A_ROW": "2",
24
"MAX_FAILED_TRANSACTIONS_IN_A_ROW": "1",
25
"MULTIPLEBUYS": "false",
26
"BUYCOUNT": "(not used)",
27
"ALWAYS_CHECK_BALANCE": "false",
28
​
29
"MINIMUM_LIQUIDITY_IN_DOLLARS": "10000",
30
"WATCH_STABLES_PAIRS": "false",
31
​
32
"LIQUIDITYINNATIVETOKEN": "true",
33
"USECUSTOMBASEPAIR": "false",
34
"BASESYMBOL": "(not used)",
35
"BASEADDRESS": "(not used)",
36
37
"SELLAMOUNTINTOKENS": "ALL",
38
"HASFEES": "false",
39
"GAS": "BOOST",
40
"BOOSTPERCENT": "20",
41
"GASLIMIT": "1000000",
42
"GASPRIORITY_FOR_ETH_ONLY": "1.5"
43
​
44
}
45
]
46
Copied!
This will create a "ping-pong" bot, who always :
  • buy 50000 tokens
  • check if this amount of tokens does not need more than 0.5 BNB to make the buy order (thanks to MAX_BASE_AMOUNT_PER_EXACT_TOKENS_TRANSACTION parameter)
  • sell all the tokens at the prices you set
To know the price of the token, go to Pancake :
​
​

ETH - Sell an airdrop with ETH (no buy)

Imagine you will receive an airdop token, and you want the bot to sell it as soon as you get it, with minimal price = 0.15 BNB/token
In this example, we don't want the bot to buy, so we put "BUYPRICEINBASE" = 0 , so as the bot to never buy.
If you wanted the opposite (the bot to never sell), simply put SELLPRICEINBASE = 999999 for instance.

1/ settings.json

1
"EXCHANGE": "Uniswap"
2
​
3
(+ all the rest, of course)
Copied!

2/ tokens.json

1
[
2
{
3
"ENABLED" : "True",
4
"SELECT_MODE": "limitswap"
5
"SYMBOL": "AIRDROP",
6
"ADDRESS": "0x7Fc66600c84A76Ad7e9c93437bFc5Ac33E2DDaE9",
7
​
8
"KIND_OF_SWAP": "base",
9
"BUYAMOUNTINBASE": "0.1",
10
"BUYPRICEINBASE": "0",
11
"SELLPRICEINBASE": "0.45",
12
"STOPLOSSPRICEINBASE": "0",
13
​
14
"SLIPPAGE": "5",
15
16
"MAXTOKENS": "1",
17
"MOONBAG": "0",
18
19
"RUGDOC_CHECK": "true",
20
"BUYAFTER_XXX_SECONDS": "0",
21
"MAX_SUCCESS_TRANSACTIONS_IN_A_ROW": "2",
22
"MAX_FAILED_TRANSACTIONS_IN_A_ROW": "1",
23
"MULTIPLEBUYS": "false",
24
"BUYCOUNT": "(not used)",
25
"ALWAYS_CHECK_BALANCE": "true",
26
27
"MINIMUM_LIQUIDITY_IN_DOLLARS": "10000",
28
"WATCH_STABLES_PAIRS": "true",
29
30
"LIQUIDITYINNATIVETOKEN": "true",
31
"USECUSTOMBASEPAIR": "false",
32
"BASESYMBOL": "(not used)",
33
"BASEADDRESS": "(not used)",
34
​
35
"SELLAMOUNTINTOKENS": "ALL",
36
37
"HASFEES": "false",
38
"GAS": "BOOST",
39
"BOOSTPERCENT": "20",
40
"GASLIMIT": "300000",
41
"GASPRIORITY_FOR_ETH_ONLY": "1.5"
42
​
43
}
44
]
Copied!
To know the price of the token, go to the Exchange. Our price are price PER TOKEN. In this example, SELLPRICEINBASE = 0.159327 :
​
​

Use the bot with several tokens

If you want the bot to work with several tokens at the same time, simply put 2 tokens paragraphs, separated with a ","
1
[
2
{
3
(first token)
4
},
5
{
6
(second token)
7
}
8
]
Copied!
Such as:

... more examples to come (if needed)

let us know if you want us to write more examples in our TG channel :)