Build me An Arbitrage bot

Job ID: 31537097

Budget: $1,500 – $3,000 USD

Requirements:
1. The creation of an Arbitrage software
2. A basic frontend to control the on and off settings of this software and
3. UI to show the prices and other details
4. UI to provide analytics of each trade done.
The creation of a software that will:
1. Work on the Ethereum Blockchain and the Binance Smart Chain.
2. Search multiple DEXs on both chains
3. Gets the highest and lowest prices of specific coins and tokens.
4. The software will be active 24/7 and always looking for profitable trades.
5. Display these prices on a neat UI with the name of the token, exchange, and network
(chain).
6. Calculate a price difference and profit of arbitrage by checking between 2 tokens on the same chain on two different DEXs.
7. Obey certain metrics and numbers set by the owner about a certain price difference.
8. Calculates the purchase amount and interests, if all calculations meet the conditions for profit, the software will move towards conducting an arbitrage transaction.
9. The software will conduct an arbitrage by taking a flash loan from 2 different protocols on each blockchain.
10. The software after taking a quick loan will use that loan and do the arbitrage transaction
11. The arbitrage software will buy coins/tokens at the lowest price from one DEX and sell to the highest price on the other.
12. The software after making the profit will return the loan to the protocol
13. The software will then notify the owner, display the transaction on the analytics UI in a neat and understandable manner with information like price, profit, % percent, gas, slippage, etc.
For the flash loan, the software will:
1. Calculate the gas fee for each flash loan transaction to take place
2. Calculate the interest on the flash loan that will be taken
For the purchase of coins/tokens from the flash loan, the software will:
1. Calculate the total amount for each purchase of coins/tokens
2. Calculate the gas fee for each purchase transaction
For the sale of coins/tokens, the software will:
1. Sell tokens/coins to the highest ask.
2. Transfer the profit to the owner’s wallet address and bring the collateral back to its original amount.
DEXs on the Ethereum Blockchain
1. 1inch
2. SushiSwap
3. Bancor Network
4. Mooni Swap
5. Swipe Swap
DEXs on the Binance Smart Chain
1. PancakeSwap
2. Bakery Swap
3. mDEX
4. Burger Swap
5. Wault Swap
6. Jul Swap
Loans Providing Platforms on Ethereum:
1. Compound 2. AAVE
Loans Providing Platforms on the Binance Smart Chain:
1. Venus
2. Cream Finance
Excellent Frontend
The basic UI would include a way to ignite or turn off the software plus basic analytics of all the trades done by the software.
Great analytics will include the following information about each transaction:
1. Date
2. Time
3. Profit percentage
4. Gas fees paid
5. Amount of loans taken, etc.
Related categories: Blockchain