Arbitrage Monitoring & Trading This is based on OrFeed, and particularly the basicArbExample. For now, this repo does not have Smart Contract yet, but it is actually executing on Ethereum main net, so Smart Contract address and ABI is hard coded. I will make update on this later.
git clone https://github.com/cryptopixelfrog/arbitrage-trading.git
cd arbitrage-trading
npm install
touch .env
vim .env
Add those in .env
TRADERWALLETADDR=
WALLETPRIVATEKEY=
INFURAAPIKEY=
This is not neccessary for monitoring, but only need for actual trading.
cd arbitrage-trading
npm start
Getting price.
SAI Buy price(Uniswap): 105525848942701202538
SAI Sell price(Kyber): 104693800557743205396
Checking to see if we should execute for arb
Buy Price: 105525848942701200000
Sell Price: 104693800557743210000
No arbitriage