Robot for servicing currency arbitration

This robot for the Forex market is an interpretation of currency arbitrage, since in currency arbitrage, it is intended to open two transactions simultaneously. But there is an assumption that if the strategy is profitable, then regardless of which pair we will open the transaction, the strategy as a whole will still be profitable. Those. if you arbitrate between two DCs, you can always open only one, and the strategy will still be profitable.