Write your own algorithm to calculate Triangular Arbitrage with depth on Centralised and Decentralised exchanges.