To see if your strategy works, you must backtest it against historical market data. CCXT is a great library that enables you to interface with a bunch of exchanges in the same manner. When true, an e-mail will be sent every time an arbitrage trade is completed, with information such as the names of the exchanges and the trade return. Note: the cash used for a trade will be the minimum of the two exchanges, minus 1. By default, the quotes download and the spreads analysis for all the exchanges are done every 3 seconds.