---
title: "Comment by Arnold Holm on \"Building High-Frequency Algorithmic Trading & Arbitrage Bots in Pure Python: In-Memory L2 OrderBooks, Triangular Arbitrage & Sub-4µs Execution\" | Hashnode"
description: "I see risk in your triangular arbitrage approval with 0.075% paid on each leg. How would your approval rule handle a case where the best ask on ETH/BTC shifts a"
url: "https://hashnode.com/posts/building-high-frequency-algorithmic-trading-arbitrage-bots-in-pure-python-in-memory-l2-orderbooks-triangular-arbitrage-sub-4-s-execution/6ae97db975c1c736f9d58145/comment/6af78e79278997a975c99cc7"
---

[Discussion](https://hashnode.com/posts/building-high-frequency-algorithmic-trading-arbitrage-bots-in-pure-python-in-memory-l2-orderbooks-triangular-arbitrage-sub-4-s-execution/6ae97db975c1c736f9d58145)

Comment [Building High-Frequency Algorithmic Trading & Arbitrage Bots in Pure Python: In-Memory L2 OrderBooks, Triangular Arbitrage & Sub-4µs Execution](https://hashnode.com/posts/building-high-frequency-algorithmic-trading-arbitrage-bots-in-pure-python-in-memory-l2-orderbooks-triangular-arbitrage-sub-4-s-execution/6ae97db975c1c736f9d58145)

[Arnold Holm](https://hashnode.com/@stratcorealpha)

[Nov 13](https://hashnode.com/posts/building-high-frequency-algorithmic-trading-arbitrage-bots-in-pure-python-in-memory-l2-orderbooks-triangular-arbitrage-sub-4-s-execution/6ae97db975c1c736f9d58145/comment/6af78e79278997a975c99cc7)

I see risk in your triangular arbitrage approval with 0.075% paid on each leg. How would your approval rule handle a case where the best ask on ETH/BTC shifts after Leg 1 fills but before Leg 3 reaches the bid?
