Arbitrage In DEFI (p2)
As mentioned in my prior post Arbitrage in DEFI (p1), have been building and improving a MEV strategy in DEFI to perform both atomic and non-atomic arbitrage, backrunning, liquidations, etc. In this article we continue to focus on algorithms to detect and optimise arbitrage paths through the pool graph.
Let us consider a simple graph of possible flows between 6 pools:

Bute-force approach (for small graphs)
For smaller graphs, we can avoid evaluating a complex...


