Uniswap Matching Bot: A market-making bot which reads prices on Uniswap and places orders on both sides of the order-book accordingly
This simple Node.js bot is for DeversiFi. This bot aims to simply keep orders on the bid and ask on any specified market, at prices determined by Uniswap, in order to profit from the spread.
This bot allows high speed-trading on a completely non-custodial exchange.
- Create a new Ethereum account and fund with ETH
git clone https://github.com/DeversiFi/uniswap-matching-bot.git
- Copy
config.example.js
=>config.js
- Get an Alchemy URL and enter use it to populate the config file: here
- Enter your Ethereum private key here (prefixed with 0x): here
- Choose the market pair you want to trade and update it here
Once the above setup is complete, you can use the following instructions:
npm install
node setup
- registers and deposits your ETH to the exchange
node index
- starts the bot!
This bot relies on Uniswap SDK for getting prices. A simple extension to this bot could be used to arbitrage between DeversiFi and Uniswap.
Please fork and use!