This is an open source bot for automated trading on Dexalot.
If this is your first time using python, you'll need to set up your build environment.
sudo apt-get install build-essential
sudo apt-get update
sudo apt install python3-pip
vi ~/.bashrc
i
paste this in on the last line and then type :wq to save an quit
export PATH="/.local/bin:$PATH"
Then type: escape -> :wq -> enter
close and reopen your terminal instance or disconnect and reconnect for the changes to take hold.
git clone https://github.com/Beastlorion/dexalotBot_python.git
cd dexalotBot_python
vi .env.secret
i
paste this and enter your hot wallet private key:
export AVAX_USDC_pk=""
Then type: escape -> :wq -> enter to save and exit the editor
pip install web3
pip install python-dotenv
pip install python_binance
pip install shortuuid
pip install boto3
pip install pybit
See settings in .env.shared
python3 main.py AVAX_USDC
- Starts Pricefeed using Binance prices
- Cancels open orders
- Places fresh orders of qty and spread as set in .env.shared
- After delay as set in .env.shared (~10 seconds by default), start checking to see if price has moved more than the refreshTolerance % setting in .env.shared
- If the price has moved by refreshTolerance % or more, cancel and place new orders.
This is an open source project. I take no responsibility for any losses incured by using this code. Please be responsible.