Clone from https://github.com/t0pep0/cex.io-api-ruby