Coding a DeFi Arbitrage Bot — part 2

Extropy.IO
14 min readNov 10, 2020

In the first part of this series we explained what arbitrage means in the context of decentralized finance and our chosen bot strategy for spotting profitable opportunities between decentralized exchanges.

In this second and final article we will conclude the arbitrage bot tutorial by diving in the code step by step, and illustrating alternative strategies and future improvements that readers could use in order to make the bot production ready, i.e. profitable.

Before we dive in, lets make a clarification about why the bot isn’t profitable…

--

--

Extropy.IO

Oxford-based blockchain and zero knowledge consultancy and auditing firm