Emile AmajarinBlock MagnatesBuilding an arbitrage bot: Finding arbitrage opportunities (article 3/n)In this article, we derive the formula for the optimal arbitrage sizing, and implement code to list the opportunities that were found.Jun 26, 202310Jun 26, 202310
Emile AmajarinBlock MagnatesBuilding an arbitrage bot: Efficient reading of pool prices (article 2/n)This article presents an efficient way to fetch the list of Uniswap V2 pair contracts and retrieve the token reserves in each one.Jun 11, 20232Jun 11, 20232
Emile AmajarinBlock MagnatesBuilding an arbitrage bot: Automated Market Makers and Uniswap (article 1/n)This article explains the basics behind using Uniswap V2 with a Python MEV bot. Code is provided for a flash swap.Jun 2, 20234Jun 2, 20234
Emile AmajarinBlock MagnatesBuilding an arbitrage bot: Introduction to MEV bots (article 0/n)A short overview of what MEV bots are and how they operate.Jun 1, 20232Jun 1, 20232