You can also try to move this line at the bottom of the script.

dataFromCryptoCompare("EOS/EUR",60);