To solve the problem of internal arbitrage on one cryptocurrency exchange, an algorithm using the principle of triangular arbitrage was developed. This method allows traders to capitalize on the difference in prices of the same asset traded in different trading pairs.