Abstractan overview on the triangular arbitrage, followed by an example presents the operation and its practical nuances, including order issued. its most relevant aspects are depicted in pseudo code. we move one to obtain the profit conditions, for the given example. conditions are generalized, a framework for comparing multiple opportunities is presented, and a trading algorithm is proposed based on the obtained conditions.