...The script will find the highest price (chbtc.com), and lowest price (Bittrex), and divide the two: 51.8/38.23 = ~1.35 (~35% profit margin) and then push these results to the browser. It will also find the next highest market pairs, e.g. chbtc / jubi is the second-highest pair and chbtc/Bittrex the third, jubi/Bittrex the fourth and so on until every possible combination has been computed. Currently you will have to add a market object with the correct settings in the array markets, situated in the settings.js file. ...