Using the tiny diferences in bitcoin value among several exchanges, this bot places buy and sell orders so some profit is made.
Example:
Once you are running the web interface, you spot a 352.48$ difference between sell price in QuadrigaCX and buy price in Bitstamp.
Exchange Sell | Exchange Buy | Ask | Bid | Difference |
---|---|---|---|---|
QuadrigaCX | Bitstamp | 3648.52 | 4001.00 | 352.48 |
Repeat.
git clone https://github.com/amandris/arbitrage-trading-bot.git
cd arbitrage-trading-bot
composer install
Set the database parameters in app/config/parameters.yml
file
Create database with php bin/console doctrine:database:create
Create schema with bin/console doctrine:schema:update --force
npm install
gulp
Set the api keys of the exchanges you want to use in app/config/parameters.yml
. At least two exchange api keys should be setted.
Enable or disable exchanges on app/config/config.yml
file
bin/console server:run localhost:8000
bin/console bot:trade
on a new console
Open http://localhost:8000 on your browser
Bitcoin: 35JBxSyefxmVj34obKC2od3r98MuaJ34am
Bitcoin Cash: 3NrTmv4f1752D9vtYTMh8EaqtHQE1ZXdbR
Litecoin: MM1p5NRCPqa5EUaU5PNjDqy1FXHQmxsiUF
This software project has only educational purposes. Arbitrage trading is a complex and dangerous game. Use this tool at your own risk.