Cryptocurrency prices declined as fears of a global trade war made investors wary and led to a shift away from risky assets.