Added automatic exit if no trades are recommended
switched from getmarketdatav2 API to getmarkets for great speed (and improved reliability, and reduced bandwidth)