1. Intro

Triangular arbitrage is a trading strategy that exploits the price discrepancies between three different currencies in the foreign exchange market to generate profit. The strategy takes advantage of inconsistencies in exchange rates between currency pairs involving three currencies.

Here's how it typically works:

  1. Suppose there are three currencies: A, B, and C.
  2. You find three currency pairs: A/B, B/C, and C/A.
  3. By comparing the exchange rates between these pairs, you may discover inconsistencies. For example, if the exchange rates suggest that A/B * B/C * C/A ≠ 1, there's an opportunity for arbitrage.

However, it's worth noting that such opportunities are often short-lived and require quick execution due to the efficiency of the foreign exchange market. Additionally, the market tends to adjust rapidly to eliminate arbitrage opportunities. Therefore, traders employing this strategy often rely on automated trading systems to execute trades swiftly.

We can try to create an arbitrage bot that trades of the Bitso Exchange