Skip to content

mavileo/Arbitrage_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arbitrage bot (smart contracts version)

/!\ Project under developpement, not ready for production

Features

  • Get an ERC-20 top tokens list ✅
  • Compare prices of pairs between different DEXs through their smart contracts* ✅
  • Call the flash loan and swap smart contract when an opportunitie is found ❌

*An other implementation is tested in the API version (on api branch) on which prices aren't retreive from DEXs's smart contracts but from 1inch API using multithreading.

Usage

Go to infura.io and etherscan.io, sign up and retreive you free API keys.

Clone the repo

  • git clone https://github.com/mavileo/Arbitrage_bot
  • cd Arbitrage_bot

Create a `.env' file and add your API keys in it

  • echo "INFURA_KEY=your_infura_key" > .env
  • echo "ETHERSCAN_KEY=your_etherscan_key" >> .env

Install dependancies

  • pip install -r requirements.txt

Run the bot

  • python bot.py

Fot the moment, the bot will only show you pairs it search arbitrage on and tells you when a profitable arbitrage is found. It will also save profitables opportinities found in the arbitrage.txt file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages