Skip to content

LimitSwap is fully functional DeFi Trading Bot. No fees. You just need to hold LIMIT Utility token in your wallet to use.

Notifications You must be signed in to change notification settings

alb2001/LimitSwap

 
 

Repository files navigation

Table of contents generated with markdown-toc

LimitSwap

LimitSwap is a trading bot for UniSwap & Many Other DEXs. It has the ability to scan multiple pairs on uniswap and grab the price in realtime and make automated trading decisions based on the users settings [AKA: Limit Orders]

   

HOW TO INSTALL LimitSwap

There are 2 ways to install LimitSwap :

 

1. Download the pre-compiled package for Windows users only

That we provide on the Release page : it's a .exe file that you can run on your computer. https://github.com/tsarbuig/LimitSwap/releases

  • Download last Zip file, for instance :

  • Unzip it
  • Open "tokens.json - Shortcut" and configure it for your needs
  • Open "Start LimitSwap.cmd" --> it will configure your settings.json

✅ ✅ ✅ And it's done! ✅ ✅ ✅

 

Pros and cons

🟢 : very easy to setup

🔴 : it's pre-compiled, so you cannot check the Source Code

   

2. Run The Python Code Locally

Here are tutorials step-by-step:

 

For Windows users


FIRST PART : PRE-REQUISITES


PLEASE ADD IT TO PATH BY CHECKING THIS OPTION:

Please install the default package and all those options : image

  • NEW : LimitSwap now has colors to better display errors / success / etc.

Follow this tutorial to activate colors on your Windows Command :

  • 1/ Launch "Regedit"
  • 2/ Go to [HKEY_CURRENT_USER \ Console]
  • 3/ Right click on white space / create new DWORD 32 bit key called VirtualTerminalLevel and set it to 1

 


SECOND PART : DOWNLOAD BOT AND INSTALL DEPENDENCIES


  • Unzip file
    • Go into the unzipped folder
    • In the folder, push "Shift" on your keyboard, then do a right-click
    • Click on "Open command windows here" or "Open Powershell windows here"

  • It will open Windows command (or Powershell) in the right place, where all the files are located:

image

  • Run command: pip install -r requirements.txt
    --> this will install all the packages needed to run LimitSwap

(🔥 if you have an error here, double check you have selected "Add Python to PATH" on the Python step. If you did not, uninstall Python and reinstall it checking the option "Add Python to PATH")

 

✅ ✅ ✅ And it's done! ✅ ✅ ✅

 


LAST PART : RUN THE BOT


There are 2 ways to do that :

  • Simply double-click on "LimitSwap.py" and it will run, since you've installed Python 👍👍

  • Or, in the Windows Command, run command: python LimitSwap.py

This second option allows you to use parameters. For example, if you have several .json files and you want to choose which one to use :

python LimitSwap.py -s settingsBSC.json -t tokensBSC.json

or

python LimitSwap.py --benchmark

   

For Linux users


DO THIS ONCE


sudo -s

apt-get install python3-dev build-essential python3-pip


DO THE NEXT STEPS FOR EACH UPGRADE


Navigate to the Limistswap folder, then:

python3 -m venv env

source env/bin/activate

pip install wheel

pip install -r requirements.txt

python LimitSwap.py

This allows you to use parameters. For example, if you have several .json files and you want to choose which one to use :

python LimitSwap.py -s settingsBSC.json -t tokensBSC.json

or

python LimitSwap.py --benchmark

 

For Mac users


Tutorial is almost the same as Windows tutorial

Check Windows tutorial for detailed step-by-step


1/ Install Python and don't forget to select "Add to path"

2/ Install Visual Studio

3/ Open Terminal, go to the directory where you unzipped the bot, and run command:

pip install -r requirements.txt

 

✅ ✅ ✅ And it's done! ✅ ✅ ✅


LAST PART : RUN THE BOT


Open Terminal, go to the directory where you unzipped the bot, and run command: python LimitSwap.py

 

This allows you to use parameters. For example, if you have several .json files and you want to choose which one to use :

python LimitSwap.py -s settingsBSC.json -t tokensBSC.json

or

python LimitSwap.py --benchmark

    

Developers 🔧

Want to help contribute to LimitSwap, reach out on telegram : any help is welcome to make the bot better :)

Links & Socials

WiKi

https://limitswapv3.gitbook.io/limitswap/

Website:

https://www.limitswap.com/

Twitter:

https://twitter.com/LimitSwap

Telegram:

https://t.me/LimitSwap

About

LimitSwap is fully functional DeFi Trading Bot. No fees. You just need to hold LIMIT Utility token in your wallet to use.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 95.9%
  • Makefile 4.0%
  • Dockerfile 0.1%